Bug 504182 - Night light resizes open windows when transitioning on Wayland
Summary: Night light resizes open windows when transitioning on Wayland
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: night color (other bugs)
Version First Reported In: 6.3.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-13 23:10 UTC by ivannanic
Modified: 2025-05-13 23:34 UTC (History)
1 user (show)

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


Attachments
A video recording of the bug (930.28 KB, video/webm)
2025-05-13 23:10 UTC, ivannanic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivannanic 2025-05-13 23:10:22 UTC
Created attachment 181262 [details]
A video recording of the bug

SUMMARY
Night light resizes open windows when  transitioning between night and day temperatures. this only happens on Wayland, not on Xorg.

STEPS TO REPRODUCE
1. Have some windows open on screen
2. Have night light feature turned on or turn it on/off manually

OBSERVED RESULT
The open windows will slowly grow in height from the bottom side as long as the night light transition animation is going on.

EXPECTED RESULT
Windows should keep its size regardless of the night light state.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I've attached the video recording of the bug. Note that the windows is growing by itself, I'm not touching anything except for the night light applet in the system tray.
Comment 1 Nate Graham 2025-05-13 23:16:01 UTC
What the heck lol, I think your computer is haunted!

I see you're using a 3rd-party theme; does this issue reproduce with the default Breeze Application Style?
Comment 2 ivannanic 2025-05-13 23:19:25 UTC
(In reply to Nate Graham from comment #1)
> What the heck lol, I think your computer is haunted!
> 
> I see you're using a 3rd-party theme; does this issue reproduce with the
> default Breeze Application Style?

No, it doesn't happen with Breeze. I've been able to narrow this down to the Klassy window decoration theme, so I'll close this bug and report there.
Comment 3 ivannanic 2025-05-13 23:29:22 UTC
Actually a bug of a custom window decoration theme.