Bug 482821 - Window decoration is too short after screen unlock
Summary: Window decoration is too short after screen unlock
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 06:24 UTC by Marcin Juszkiewicz
Modified: 2024-03-11 14:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of window with bad decoration (45.75 KB, image/jpeg)
2024-03-08 06:24 UTC, Marcin Juszkiewicz
Details
Breeze decoration with same issue (11.95 KB, image/jpeg)
2024-03-11 14:05 UTC, Marcin Juszkiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
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