Bug#1110118: Qt6/Wayland: context menus open centered on rotated+offset multi-monitor; XWayland OK
Package: qt6-wayland
Version: 6.8.2-4
Severity: normal
X-Debbugs-Cc: klipo89@gmail.com
Dear Maintainer,
On Wayland, context menus in multiple Qt apps (Dolphin, Konsole) appear
centered in the window instead of at the cursor on a rotated+offset
multi-monitor layout. Running the same apps under XWayland
(QT_QPA_PLATFORM=xcb) fixes it immediately.
Expected:
Context menus open at cursor location on all monitors.
Actual:
On one monitor (upper-right quadrant), menus open centered in the
app window. Moving/resizing the window often “fixes” it until next time.
Monitor layout (from `kscreen-doctor -o`):
- HDMI-A-1: 1080x1920, rotation 90°, position 0,0 (scale 1)
- DP-1: 2560x1440, rotation 0°, position 1080,342 (scale 1)
Reproduce steps:
1) Log into Plasma Wayland with the above monitor geometry.
2) Open Dolphin or Konsole on DP-1.
3) Right-click in the upper-right quadrant of the window.
4) Menu appears centered instead of at cursor.
Workarounds:
- Launch affected apps via XWayland:
`QT_QPA_PLATFORM=xcb dolphin` and `QT_QPA_PLATFORM=xcb konsole`
- Align monitors so the second monitor has y=0 (avoids the bug).
Notes:
- Issue appeared after recent upgrades (Dolphin 25.04.3, Plasma 6.3.6).
- Looks like a Qt Wayland popup geometry/clamping regression on
multi-monitor with rotation + vertical offset.
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16-rc7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qt6-wayland depends on:
ii libc6 2.41-11
ii libegl1 1.7.0-1+b2
ii libopengl0 1.7.0-1+b2
ii libqt6core6t64 [qt6-base-private-abi] 6.8.2+dfsg-9
ii libqt6dbus6 6.8.2+dfsg-9
ii libqt6gui6 6.8.2+dfsg-9
ii libqt6opengl6 6.8.2+dfsg-9
ii libqt6svg6 6.8.2-3
ii libqt6waylandclient6 [qt6-waylandclient-private-abi] 6.8.2-4
ii libqt6waylandcompositor6 [qt6-waylandcompositor-private-abi] 6.8.2-4
ii libqt6wlshellintegration6 6.8.2-4
ii libstdc++6 15.1.0-8
ii libwayland-client0 1.23.1-3
ii libwayland-egl1 1.23.1-3
ii libwayland-server0 1.23.1-3
qt6-wayland recommends no packages.
qt6-wayland suggests no packages.
-- no debconf information
Reply to: