-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Float "small" windows #47
Comments
Normally, applications should set accessibility attributes to let other applications know how to interact with them. If window is a dialog it's subrole attribute should be kAXDialogSubrole or kAXFloatingWindowSubrole AeroSpace float kAXDialogSubrole and kAXFloatingWindowSubrole by default |
What application do you use that doesn't work as expected? Firstly, we need to let the developers of the app to know about this problem |
I'm not the OP, but Finder file copy dialog boxes aren't floating by default, as an example. |
I agree that some applications can be slow at fixing the accessibility issue (or simply don't care). In such cases, "small" windows heuristic can be implemented. But, I'd implement it in Concept:
I'm not sure that I'd enable it by default. "Small window" is a heuristic. Heuristics are not 100% accurate As a former Amethyst user, I recall that I rather disliked this default heuristic |
Thanks, normally, I don't use Finder, so I didn't know that. I confirm that Finder doesn't set proper subrole attribute for "copy" dialog 🤦 (it sets "AXStandardWindow" https://developer.apple.com/documentation/applicationservices/kaxstandardwindowsubrole) Or maybe I'm wrong and dialogs are not supposed to have a kAXDialogSubrole Here is a screenshot of the accessibility properties of "copy" dialog I might wanna try to match this window by a set of properties (maybe, smth like identifier + title + app-id + absence of maximize button) and float it |
It would help if we could collect accessibility properties of different windows that are supposed to float in this issue to decide on heuristics |
I'd not say that these windows are small. But I notice that all of them don't have a "maximize" button. "absence of maximize button to float" is an interesting heuristic to try... |
I implemented the heuristic and tested it:
|
The heuristic is released in 0.7.0-Beta Please let me know if it doesn't work for you / if it does more harm than good |
@nikitabobko In order to open "quick add" in todoist as a separate window you need to trigger it using the quick add keyboard shortcut. Thanks for the fixes! |
@pepribas you mean dialog, right? Does it float now? |
@nikitabobko Sorry for the misunderstanding. It's being treated as a regular window and it's being tiled like the screenshot I shared above |
It would be great to have it. Also, it would be very useful to have an option to set that all "subwindows" should be floating. In 99% cases I want only the main window to tile and all subwindows like settings, popups etc. to be floating. It's really annoying when I open a settings window and it moves everything around |
It should have been fixed in #53 One day, I will introduce But until then it would be helpful if you could "catch" the window in "Accessibility Inspector.app" (like I did here #47 (comment))
-> #71 What program or programs do you have in mind where it would be useful? (please answer in #71) |
@wojciech-kulik Sorry, your screenshot is a screenshot of "Button accessibility object" but I'm interested in the window accessibility object, please click |
I can't everything blinks then and nothing changes in this app. But bubbles work if I change my config. This problem is caused by: #71 (comment) |
0.8.3 fixes this problem by manually checking enabled/disabled state of the button |
I don't think it got fixed. Whenever I switch languages the small blue window showing selected layout gets treated as standalone window. aerospace.mp4 |
@mike1808 yeap, I finally gave up and switched to layouting shortcuts like those from Rectangle/Magnet without window management. I tried tons of apps, this one is the most promising, but I realized that most of the time I'm actually fighting with glitches and issues while 95% of the time I'm just using a single window without any side-by-side layouts. |
@mike1808 please try to capture the debug information of the popup window with |
Here is the extra window which appears:
I also noticed that issue only happens in firefox and only on workspace
After removing it, the issue got resolved. |
#47 (comment) Motivation: for some reasons, AXCursorActionsWindow isn't set in some machines Anyway new aggressive method should also detect context menus (right mouse click) in IntelliJ, Telegram and who knows what else
@mike1808 should be fixed in 0.11.0-Beta |
thanks, that helped!
You do you, but Aerospace is much more than Rectangles/Scissors. It's a full blown window manager. I love it a lot and rarely had issues and even if I had them @nikitabobko was very responsive in fixing them. |
nikitabobko#47 (comment) Motivation: for some reasons, AXCursorActionsWindow isn't set in some machines Anyway new aggressive method should also detect context menus (right mouse click) in IntelliJ, Telegram and who knows what else
Closing the issue to float small windows, since the current dialog detection heuristic covers the use case in a better way |
I would like "small" windows to float by default.
This comes from xmonad and amethyst. See
float-small-windows
in https://github.com/ianyh/Amethyst/blob/development/docs/configuration-files.mdThe text was updated successfully, but these errors were encountered: