Bug 466369 - Third party aurorate titlebars don't update graphics correctly when resized under new tiling in Wayland
Summary: Third party aurorate titlebars don't update graphics correctly when resized u...
Status: RESOLVED DUPLICATE of bug 465790
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.27.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 18:55 UTC by Michał Dybczak
Modified: 2023-02-25 12:47 UTC (History)
1 user (show)

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


Attachments
Tiled-Gwenview (31.89 KB, image/jpeg)
2023-02-24 18:55 UTC, Michał Dybczak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dybczak 2023-02-24 18:55:40 UTC
Created attachment 156683 [details]
Tiled-Gwenview

SUMMARY
***
When I tried out the new tiling in Plasma 5.27, I noticed that some (not all) apps get completely distorted titlebar graphics, sometimes during a tiling, sometimes after coming out of the tiling mode. This was noticed under Wayland.
***


STEPS TO REPRODUCE + OBSERVED RESULT
1. Log in into Wayland session
2. Have third party aurorae theme, like WhiteSur-dark
3. Apply new tiling (shift+drag window), resize the titled windows, then drag the window out of tiling. Some apps (didn't find a rule yet), like for example Gwenview, get completely distorted titlebar graphics - see the attached screenshot.




EXPECTED RESULT

Third party titlebars should maintain properly updated graphics during and after tiling.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.13-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Alienware
Product Name: Alienware 17 R3
System Version: 1.13.1

ADDITIONAL INFORMATION

I am still finding a rule, but so far it looks like a random occurrence. Once I saw it with Thunderbird, then I couldn't repeat it. Then I saw it under Dolphin, then I couldn't repeat it. Now, I caught this bug on Gwenview and made the screenshot.
Sometimes the problem is visible during a tiling, and then it's fixed when the app is out of tiling mode. Sometimes the bug stays.
Weirdly, when the graphics returns to normal out of tiling, when the app is tiled, the same visual bug appears right away, as if it was remembered.
During the writing this bug description, I couldn't repeat it on Dolphin, but then I tried again, and the bug came again and is repeatable. When the window is widened above half of the screen, the titlebar is widened horizontally. When the window is below the half of the screen, the titlebar is shortened beyond the windows width and the titlebar graphics is distorted.
I haven't tested it under X11, so I don't know if the bug happens there as well, but I suspect it may be a Wayland thing.
Comment 1 Nate Graham 2023-02-24 20:46:39 UTC

*** This bug has been marked as a duplicate of bug 465790 ***
Comment 2 Michał Dybczak 2023-02-25 12:45:27 UTC
I can confirm this issue on Manjaro as well. I also noticed, that it's not always after resizing in tiling mode. Sometimes I just opened a window (Krusader), resized it and got this weirdly distorted titlebars.

I assume the fix will be in 5.27.2?
Comment 3 Michał Dybczak 2023-02-25 12:47:43 UTC
Disregard the last comment. I meant to post it to the original bug report, but got confused and clicked a wrong tab in the browser ;).