Bug 482821

Summary: Window decoration is too short after screen unlock
Product: [Plasma] kwin Reporter: Marcin Juszkiewicz <marcin>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of window with bad decoration
Breeze decoration with same issue

Description Marcin Juszkiewicz 2024-03-08 06:24:54 UTC
Created attachment 166679 [details]
Screenshot of window with bad decoration

SUMMARY
Sometimes after screen unlock one of windows has too short window decoration. It resizes to proper width after any interaction.


STEPS TO REPRODUCE
1. open some window
2. lock the screen
3. unlock the screen

OBSERVED RESULT
window decoration is too short

EXPECTED RESULT
window decoration as window's width

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.0
KDE Plasma Version:  6.0.0
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Fedora 40 Beta
Comment 1 Nate Graham 2024-03-08 23:46:15 UTC
What window decoration theme are you using? Is that the default Breeze, or something else?

Does this happen only on X11, Only on Wayland, or on both?

What scale factor are you using on the affected screen?

Do you have more than one screen connected?
Comment 2 Marcin Juszkiewicz 2024-03-11 10:00:05 UTC
Good point. Looks like I use some 'aksBorderColorAccent' decoration. Switching to Breeze now to check does it happen there.

I use Wayland only now.

Scale is 1.0, one 3440x1440@75 monitor.
Comment 3 David Edmundson 2024-03-11 10:10:34 UTC
I could not reproduce with another Aurorae decoration.

>Switching to Breeze now to check does it happen there.

Putting in needsinfo until we here back.
Comment 4 Marcin Juszkiewicz 2024-03-11 14:05:58 UTC
Created attachment 166957 [details]
Breeze decoration with same issue

On screen you see two sets of window decoration buttons:

- left one is from Konsole window (the one you see on screen)
- right one is from Neovim-Qt window which is below Konsole one

Konsole one is active one