![]() when taking a screenshot of a window which has some child windows you probably have to fall back to CGWindowListCreateImage.in user selection do not show windows which have some parent window ( CGSGetParentWindowList should give you answer wheter particular window is a child window or not).So from what I saw in your code you need to modify two things: and maybe some others, I think CGSGetParentWindowList looks like interesting method However, it is important to note that this is then an issue that the developer(s) of said application should consider a bug in their application.Įdit: There are also private APIs to detect if a window has a parent-window, which I assume would be the case for this particular TotalFinder window, by looking at the screenshot in the first post.Įxtern CGError CGSAddWindowToWindowMovementGroup(const CGSConnection cid, CGSWindow wid, CGSWindowMovementGroup group) Įxtern CGError CGSRemoveWindowFromWindowMovementGroup(const CGSConnection cid,ĬGSWindow wid, CGSWindowMovementGroup group) Of course this has the inverse issue, where applications that report the wrong role by mistake is not classified correctly as a real window when it should be, and I have a system in place that will allow the user to specify these using various filters. In your case there might be other roles that should be considered valid windows, such as AXDialog etc. This can be useful if you encounter an app that is still able to draw above the Visor even with "Show on top of the Dock" enabled.Windows on macOS should report a kAXWindowRole of AXWindow, and kAXWindowSubrole A new Visor-related Tweakable flag was added: ~/.totalfinder-useaggressivevisordrawpriority will set the Visor window to a much higher draw priority when the "Show on top of the Dock" feature is enabled.(※ Replace the 1 with a 0 to disable the feature.) This experimental feature is currently only accessible by running defaults write TotalFinderVisorDrawAboveOtherAppsWhenPinned 1 in a Terminal session. Added an experimental feature that allows users to make the Visor show above other apps, but not the Dock whenever the Visor is in a pinned state.The newly-added Tweakable flag ~/.totalfinder-disablelabelcolourlookupoptimisation disables all Coloured Labels lookup optimisations, which may be useful as a troubleshooting or debugging step.The newly-added Tweakable flag ~/.totalfinder-alwaysenablenewlabellookupmethods enables the new Coloured Labels lookup logic on macOS 12 Monterey and below, which normally use a different label colour lookup method that no longer works as of macOS 13 Ventura.Certain behaviour flags that were used during the testing of the new Coloured Labels logic are now controllable via TotalFinder's power-user-oriented "Tweakables" feature, which you can use by creating specific files in your home directory (~, or $) using the command-line utility touch. ![]() ![]() ![]() Various other internal refactors and improvements were made to TotalFinder as a whole.Made many improvements to the TotalFinder diagnostics utility (diagnose-totalfinder.sh) that improve the usefulness of its output.Major internal refactors were made to the Coloured Labels feature, resulting in better optimisation of label colour lookup operations.Fixed a rendering issue where the TotalFinder icon in the Finder preferences on macOS 11 Big Sur and newer was unable to be tinted by the user's macOS UI tint colour when selected.Fixed a rendering issue where the TotalFinder icon in the Finder preferences on macOS 11 Big Sur and newer would render with aliasing artifacts, especially on non-Retina/HiDPI displays where the issue was very severe. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |