#1110118 Qt6/Wayland: context menus open centered on rotated+offset multi-monitor; XWayland OK

#1110118#5
Date:
2025-07-30 07:24:46 UTC
From:
To:
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.

#1110118#10
Date:
2025-07-30 10:55:00 UTC
From:
To:
control: reassign -1 kwin

Le 30 juillet 2025 09:24:46 GMT+02:00, Jennifer Riley <klipo89@gmail.com> a écrit :

Dear Jennifer,

Thank for your bug report.

My first guess would be an issue in kwin.

Could you try reinstalling 6.3.5 packages from [1] and see if it fixes your issue ?

If yes if would be useful to identify if the issue is in kwin 6.3.6 or due to one of the patches I backported from 6.4.

Either you feel comfortable building Debian packages yourself and you can try disabling all patches to get an exact 6.3.6 upstream package, or I will create these packages myself for you to test.

[1] <https://snapshot.debian.org/package/kwin/4%3A6.3.5-1/>


Thanks,
--
Aurélien

#1110118#19
Date:
2025-07-30 10:55:00 UTC
From:
To:
control: reassign -1 kwin

Le 30 juillet 2025 09:24:46 GMT+02:00, Jennifer Riley <klipo89@gmail.com> a écrit :

Dear Jennifer,

Thank for your bug report.

My first guess would be an issue in kwin.

Could you try reinstalling 6.3.5 packages from [1] and see if it fixes your issue ?

If yes if would be useful to identify if the issue is in kwin 6.3.6 or due to one of the patches I backported from 6.4.

Either you feel comfortable building Debian packages yourself and you can try disabling all patches to get an exact 6.3.6 upstream package, or I will create these packages myself for you to test.

[1] <https://snapshot.debian.org/package/kwin/4%3A6.3.5-1/>


Thanks,
--
Aurélien

#1110118#24
Date:
2025-07-30 11:03:13 UTC
From:
To:
Le mercredi 30 juillet 2025, 12:55:00 heure d’été d’Europe centrale Aurélien COUDERC a écrit :

You should need kwin-common, kwin-data, kwin-wayland, kwin-x11 and libkwin6.

#1110118#29
Date:
2025-07-30 11:03:13 UTC
From:
To:
Le mercredi 30 juillet 2025, 12:55:00 heure d’été d’Europe centrale Aurélien COUDERC a écrit :

You should need kwin-common, kwin-data, kwin-wayland, kwin-x11 and libkwin6.

#1110118#34
Date:
2025-07-30 23:46:13 UTC
From:
To:
The bug also presents on the latest debian-live-testing-amd64-kde.iso from
2025-07-28