Created attachment 64814 [details] Screenshot showing the issue Version: git master (using Devel) OS: Linux Setups in which the issue appears: 1. 2 x 1280x1024 monitors, primary on right, secondary on left 2. 1 x 1680x900 screen, rotated 90 degrees and 1 x 1920x1200 screen, primary In both cases, right clicking on the window decoration to bring up the menu when on the right screen causes the context menu to appear on the left screen (see attached screenshot). Reproducible: Always Steps to Reproduce: 1. Open a window on the right screen 2. Right click on decoration Actual Results: Menu appears on the left screen Expected Results: Menu appears where the mouse pointer is This is on recent git master, and this has been observed with two different Radeon cards, running kernel 3.1 rc10 and Mesa 7.11.
I cannot reproduce here and I am pretty sure the window gets positioned by Qt.
That may be a hint: I'm running a recent snapshot of Qt 4.8, so possibly a Qt bug?
could be. I'm still on Qt 4.7. Any chance to verify with Qt 4.7?
Not at the moment, unfortunately, as the way I update KDE is tied to the Qt version I get.
*** Bug 284876 has been marked as a duplicate of this bug. ***
As mentioned in bug 284876, this is also a problem on single-monitor systems. It's just really pronounced on a dual-monitor setup since the menu appears really far away (on the left) from a window on the right-monitor. Fedora 16 Beta is currently shipping KDE 4.7.2 with qt-4.8.0-0.17.rc1.fc16.x86_64. It's also interesting that the menu placement is relative to the cursor position when you right-click on the title bar. That is, if you right-click near the left edge of the title-bar, the menu appears next to the left-edge of the monitor. But if you right-click in the middle of the title-bar, say 100 pixels from the edge, the menu appears 100 pixels from the left-edge of the monitor.
It's likely still this one then: http://old.nabble.com/Problem-with-QWidget->mapToGlobal()-td32137926.html
Alt-F3 does bring up the window menu in the right spot.
currently fixed in Qt. *** This bug has been marked as a duplicate of bug 287561 ***