Bug 441400

Summary: [Wayland] Screen edges don't appear to be correct for multi-monitor layouts
Product: [Plasma] kwin Reporter: Lewis Lakerink <lewis>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Attachments: Display configuration

Description Lewis Lakerink 2021-08-22 23:53:49 UTC
Created attachment 140962 [details]
Display configuration

SUMMARY
Using the wayland session, with the (see attached) monitor layout, screen edges seem completely broken. 

1. The standard screen edge highlight desktop effect does not work on any monitor.
2. My panel (on the right of my Laptop Screen) is set to autohide, in the attached screen layout, the panel never hides. When I mouse to the edge of the Laptop Screen and move the cursor off the panel it will hide the panel and immediately show it again as if the screen edge is instantly retriggered (I can provide a video of this behaviour if required).
3. If I disconnect my extra monitors (undock) the screen edge desktop effect on my Laptop Screen starts working correctly again, as does the autohide of the panel.

I have not tested different layout configurations to check if it's just an issue with that specific display configuration.

STEPS TO REPRODUCE
1. Use a plasma wayland session
2. Configure the displays as in the attached display config.

OBSERVED RESULT
Panel autohide and right hand side screen edge highlight stop working when using multiple displays.

EXPECTED RESULT
Panel should autohide as expected and the screen edge highlight should work.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.10.56-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
I'm using kwin master
Comment 1 Nate Graham 2021-08-23 19:08:49 UTC
And all of this works on X11?
Comment 2 Nate Graham 2021-09-20 15:03:27 UTC
Fixed by Lewis Lakerink with https://invent.kde.org/plasma/kwin/-/commit/fc860a226e03e70dfe49fe691743a401cb4335c6 in Plasma 5.23!
Comment 3 Lewis Lakerink 2021-09-20 19:59:42 UTC
Thanks Nate! One day I'll learn the BUG line needs to go in the commit description...
Comment 4 Nate Graham 2021-09-20 21:54:23 UTC
:)