• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript Editor and its windows (the return)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript Editor and its windows (the return)


  • Subject: Re: AppleScript Editor and its windows (the return)
  • From: Shane Stanley via AppleScript-Users <email@hidden>
  • Date: Sun, 25 Oct 2020 21:54:56 +1100

On 25 Oct 2020, at 3:51 am, Yvan KOENIG via AppleScript-Users
<email@hidden> wrote:
>
> The odd behavior with windows whose visible is false is always striking in
> 10.13.6.
> Is it the same with newer systems?

It's a result of the way tabbed windows are implemented. Although it appears
that only one window is visible when you have several tabbed, as far as the
part of the OS that controls them is concerned, they're all normal visible
windows -- it's only at the screen drawing end of things that drawing is
omitted for all but the active one. Because the visible property is part of the
former machinery, it's now largely useless.

The issue of windows hanging around for a very long time is possibly a bug, but
they can legitimately hang around, even if unseen. Windows can be closed, but
they can also be ordered out, which means they don't appear on screen but still
exist.

Much of this was introduced with window tabbing in 10.12, and although it might
sound a bit odd, the result is that tabbed windows are much snappier for users.
The problem is that the scripting parts of things -- the -orderedWindows method
of NSApplication, and the visible property of windows -- haven't been adjusted
accordingly. So apps that rely on the built-in stuff produce the sort of thing
you see.

In many cases the people who build the apps probably aren't aware of the
problem. And if they are, they can't fully fix them because it's stuff beyond
their control -- they have to work around them.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: AppleScript Editor and its windows (the return)
      • From: Yvan KOENIG via AppleScript-Users <email@hidden>
References: 
 >AppleScript Editor and its windows (the return) (From: Yvan KOENIG via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: AppleScript Editor and its windows (the return)
  • Next by Date: Re: AppleScript Editor and its windows (the return)
  • Previous by thread: Re: AppleScript Editor and its windows (the return)
  • Next by thread: Re: AppleScript Editor and its windows (the return)
  • Index(es):
    • Date
    • Thread