Bug 503793

Summary: With Kronkhite script active, lock screen aligns its background based on the panel in multi-screen setup
Product: [Plasma] kwin Reporter: Antti Savolainen <antti.savo>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kdedev, nate
Priority: NOR Keywords: multiscreen
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Display configuration
two displays

Description Antti Savolainen 2025-05-05 11:54:43 UTC
SUMMARY
On Plasma-git that I compiled 2 days ago, the lock screen background aligns itself with the taskbar. If I move the taskbar to the top, this issue goes away

STEPS TO REPRODUCE
1. Align displays on top of each other
2. Put a taskbar at the bottom of the top monitor
3. Lock the screen

OBSERVED RESULT
The background of the bottom display fills the space of the top monitor taskbar

EXPECTED RESULT
the backgrounds should not bleed into other displays
Comment 1 Antti Savolainen 2025-05-05 20:07:13 UTC
Demonstrative video: https://youtu.be/ahjSP4_9JJ0
Comment 2 Nate Graham 2025-05-06 15:15:24 UTC
I can't reproduce this with today's git master in a Wayland session. Are you using X11?
Comment 3 Antti Savolainen 2025-05-07 01:56:50 UTC
Created attachment 181009 [details]
Display configuration

Wayland. I compiled again today and the issue persists. Maybe the display layout is what differentiates it happening and not happening.
Comment 4 Antti Savolainen 2025-05-07 02:09:07 UTC
Created attachment 181010 [details]
two displays

I'm able to reproduce this with just two displays stacked on top of each other.
Comment 5 TraceyC 2025-05-07 20:33:59 UTC
I'm also unable to reproduce with git-master on two systems, one with two displays, the other with 3. Both are laptops connected to external displays.
Comment 6 Antti Savolainen 2025-05-08 06:37:12 UTC
Ok I dug a bit in the settings and I can turn the bug on and off by turning the Krohnkite script on and off.
Comment 7 Nate Graham 2025-05-08 14:27:41 UTC
Sounds like it's a bug in Kronkhite, then. :)
Comment 8 Antti Savolainen 2025-05-08 14:58:06 UTC
I'm not knowledgeable on the working of kwin, but should it be possible for a script to do this?
Comment 9 Nate Graham 2025-05-08 15:04:24 UTC
Pretty sure; scripts are the wild west.
Comment 10 Antti Savolainen 2025-05-09 09:01:41 UTC
https://github.com/anametologin/krohnkite/issues/172