Opened 11 years ago
Last modified 11 years ago
#247 accepted defect
system tray menu has incorrect dimensions on multi-head
Reported by: | Eric Blade | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 0.12 |
Component: | UI | Keywords: | |
Cc: |
Description (last modified by )
Platform: Windows (very likely exists everywhere, but none of my Linux boxes have working rotation support)
Main display is a laptop display, 1600 x 900. Secondary display to the right is 1200 x 1920. Tertiary display to the right of that is 1280 x 720. Tertiary display appears irrelevant to problem.
When clicking on taskbar tray on left most monitor, I get the menu with totally incorrect internal dimensions, and have to scroll many lines into view to see anything:
left monitor screenshot
When clicking on taskbar tray on secondary monitor, the menu appears with the correct internal dimensions, but is located complete out of the correct position (this happens on all systems with multiple monitors, not just with large resolution differences):
middle monitor screenshot
When selecting the system tray menu on the tertiary monitor, it appears both extremely out of place, as well as with the wrong internal dimensions:
right monitor screenshot
... I suspect, that it is trying to draw the menu in the absolute coordinates for the desktop, and using the absolute desktop dimensions, when it should be doing it based on the currently active display rather than the entire desktop space.
Attachments (3)
Change History (8)
Changed 11 years ago by
Attachment: | Screenshot 2014-04-23 12.09.57.jpg added |
---|
Changed 11 years ago by
Attachment: | Screenshot 2014-04-23 12.07.50.jpg added |
---|
uploading screenshots as jpg attachments
Changed 11 years ago by
Attachment: | Screenshot 2014-04-23 12.06.42.jpg added |
---|
uploading screenshots as jpg attachments
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Milestone: | → 0.12 |
Owner: | set to Antoine Martin |
Status: | new → accepted |
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|
Changing and "fixing" internal wiki image links (still have to download the files to see things properly... at least they're safe now, rather than relying on them not getting deleted somewhere else)
comment:3 Changed 11 years ago by
Owner: | changed from Antoine Martin to Eric Blade |
---|---|
Status: | accepted → assigned |
If you use xpra, does the xpra tray menu also misbehave?
We use native code for the tray in xpra, which we could re-use in winswitch if it helps (though it could also be the menu code that is the problem.. in which case this would be harder to fix)
comment:4 Changed 11 years ago by
Antoine,
XPRA try works beautifully on all three displays, most of the time. Sometimes the xpra tray doesn't come up when i click on it, but i'm pretty sure that's totally unrelated.
comment:5 Changed 11 years ago by
Owner: | changed from Eric Blade to Antoine Martin |
---|---|
Status: | assigned → accepted |
OK, so we can just use xpra's notify icon code instead of GTK's: xpra/platform/win32/win32_NotifyIcon.py.
uploading screenshots as jpg attachments