Bug 477835

Summary: After re-arranging a screen in a multi-monitor setup, OSDs appear at wrong position on that screen until plasmashell is restarted
Product: [Plasma] kwin Reporter: Schlaefer <openmail+kde>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: CLOSED DUPLICATE    
Severity: wishlist CC: kde, madcatx, micraft.b, nate, null, xaver.hugl
Priority: NOR Keywords: qt6, wayland
Version: 5.90.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: volume OSD jumps to different positions

Description Schlaefer 2023-12-01 13:42:50 UTC
Created attachment 163700 [details]
volume OSD jumps to different positions

SUMMARY

Depending on the multi-monitor layout the volume on-screen-dialog is shown at wrong places.


STEPS TO REPRODUCE
1. Order displays so that they don't align horizontally(?)
2. Change volume e.g. with volume-keys so that the volume-OSD is shown

OBSERVED RESULT

Volume-OSD is shown at different places

EXPECTED RESULT

Volume OSD should be shown center on main monitor.


SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-zen1-1.1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® Arc


ADDITIONAL INFORMATION

Attached example shows:
1. OSD in correct position
2. Moves to top left corner after first display-layout change
3. Moves to left edge middle after resetting display-layout
Comment 1 Nate Graham 2023-12-01 20:16:20 UTC
Can reproduce the issue! What a weird one.
Comment 2 Schlaefer 2023-12-01 20:25:16 UTC
To clarify: It not only happens when re-arranging screens (that was just for the demo video).

My default setup is the "lying L" with the right monitor sticking out on top right.

The volume OSD is always in the top left corner for me. No matter a fresh reboot or doing a `plasmashell --replace` in that display arrangement.
Comment 3 Nate Graham 2023-12-07 22:00:32 UTC
*** Bug 478163 has been marked as a duplicate of this bug. ***
Comment 4 madcatx 2024-01-14 17:12:07 UTC
I can confirm that this is happening to me too. It's been happening since Beta 1 and it is still present in RC1

Arch Linux
Plasma 5.92.0
KF6 5.248.0
Wayland
Comment 5 Zamundaaa 2024-02-22 14:51:56 UTC

*** This bug has been marked as a duplicate of bug 452648 ***
Comment 6 Schlaefer 2024-02-22 15:12:21 UTC
Are we sure this is a duplicate?

One is referring a two year old bug affecting and fixed in framework version 5.9x, this one refers to a bug in plasma 5.9x (beta 6)?

---

Also it does only (still) affect QT 6.7 for me now (Arch RC2 with QT 6.7 beta 3), QT 6.6 seems fine.

Operating System: EndeavourOS 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.5-zen1-1.1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® Arc
Comment 7 Nate Graham 2024-02-22 15:14:32 UTC
This was the wrong bug report to dupe it too, but the issue was indeed fixed recently, at least in 6.6, yeah. If 6.7 is still affected, that's probably a separate issue, possible a Qt issue, and would need to be investigated separately.
Comment 8 Bernhard 2024-03-09 10:53:06 UTC
I can reproduce this on Plasma 6.0.1.


Operating System: Arch Linux
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.21-1-lts (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6600 XT