[Development] Hacking fun with the XCB QPA plugin (on retro set-ups)

René J.V. Bertin rjvbertin at gmail.com
Fri Aug 7 23:22:55 CEST 2026


René J.V. Bertin wrote on 20260807::22:51:23 re: "Hacking fun with the XCB QPA plugin (on retro set-ups)"


>The result works but still has a glitch where windows are opened at an upward shifted position, by approximately the titlebar height. That includes menus attached to the menubar (but not submenus or contextmenus). Info popups can also have a considerable horizontal offset (e.g. in Dolphin).


In fact, the issue with menus is a little different; the ones that open with a vertical offset will in fact always open at that exact same position, even after moving the window. I think that's what caused the horizontal offset in the Dolphin info popups I mentioned in my OP.

I found an `QXcbWindow::windowToWmGeometry()` function in 5.9 that is no longer in 5.12, but reintroducing that code doesn't solve anything (and doesn't cause further regressions AFAICT).

R.


More information about the Development mailing list