-
Notifications
You must be signed in to change notification settings - Fork 19
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
Slider window position #7
Comments
Yes, absolutely. The program should detect that I guess. |
I'm currently looking at the tray.py to find out if I can help with it |
The placing is happening here: The question is how to decide if the sliders should show above or below the icon. You could query the screen dimensions and if the icon is in the top half of the screen sliders go below otherwise above. This way the most common cases (top/bottom panels) would be covered, right? |
At least the top/bottom panel users would be happy. Dunno about those, that place panels at the left or right. |
Yeah, they are probably more cases. Think of right-to-left script like Arabic. But top/bottom panels would be awesome already ;) |
Didn't work that much with PyGI before. Is there a simple way to define in which direction the popup will open or can the size of the whole thing be calculated nicely? |
This currently covers just top or bottom panels. Previously the slider popup were placed under the tray icon which didn't work with panels on the bottom. This closes buzz#7
Current WIP Narrat@709b146 Will take a look at the doc later. This magic value needs to vanish :D |
This currently covers just top or bottom panels. Previously the slider popup were placed under the tray icon which didn't work with panels on the bottom. This closes buzz#7
This currently covers just top or bottom panels. Previously the slider popup were placed under the tray icon which didn't work with panels on the bottom. This closes buzz#7
Cannot use get_size for the window, because it will return a default value as the window isn't visible. So it's reporting back 200x200 which is way to much for a correction. Actual height for me is 165px. Your screen shows 155px. |
You are right: The window height is only available after calling Could you test this, please? |
the issue_7 branch works for me :) |
Reopening this. My guess is that the program gets the resolution of my left or right monitor and uses that for the positioning instead of the middle one. |
Opened #22 for this. |
Hi.
Any chance the slider popup will open in the direction with the most place available?
Currently it is placed under the icon which is kinda hindering when panels are placed on the bottom of the screen.
The text was updated successfully, but these errors were encountered: