Bug 466645 - Auroroe window decorations causes "half-size" graphical corruption in window decorations
Summary: Auroroe window decorations causes "half-size" graphical corruption in window ...
Status: RESOLVED DUPLICATE of bug 465790
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.27.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-01 09:33 UTC by punk.salt6165
Modified: 2023-03-02 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the bug (93.79 KB, image/png)
2023-03-01 09:34 UTC, punk.salt6165
Details
Video showing the bug (2.07 MB, video/mp4)
2023-03-01 09:41 UTC, punk.salt6165
Details

Note You need to log in before you can comment on or make changes to this bug.
Description punk.salt6165 2023-03-01 09:33:31 UTC
SUMMARY
***
This is a bug that makes window decorations look "half-size" for the lack of a better word. The window decoration is compressed into 50% of the window width, while the rest of the 50% is lacking a window decoration. It causes the text to appear zoomed in or in the wrong position also, depending on the size of the window.

I spent some time trying to find a way that reproduces this reliably, and for me, I can reproduce it specially when minimizing the windows first, and then bringing them back into view and resizing them. Maybe because bringing them out of view and forcing them to redraw again is somehow helping to trigger the bug.


***


STEPS TO REPRODUCE
1. Set window decorations to something with Aurorae - I use "Dezy Blur Dark Color Aurorae".
2. Create 3-4 windows (I use kitty) and include Firefox since it seems to help trigger the bug more often.
3. Now minimize all windows by clicking on their minimize button in the window decoration bar.
4. Bring them back using the Task switcher (Alt-Tab for first one, then the shortcut to switch window within the same application (i have it on Alt+$).

5. Now start resizing windows and you have a good chance of seeing a few of them get their window decorations corrupted. Sometimes its just one or a few, sometimes its all of them. It seems to be a bit random, possibly depending on what memory has been corrupted.


OBSERVED RESULT

Window decorations gets visually corrupted and look like "half-size" (see screenshot and video).

EXPECTED RESULT

Windows should not get corrupted into "half-size" (as I call it). 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8600K CPU @ 3.60GHz
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT

ADDITIONAL INFORMATION
Comment 1 punk.salt6165 2023-03-01 09:34:30 UTC
Created attachment 156855 [details]
Screenshot showing the bug

Adding screenshot to show the bug.
Comment 2 punk.salt6165 2023-03-01 09:41:41 UTC
Created attachment 156859 [details]
Video showing the bug

Im really sorry but because of the length of the video, I had to encode it into quite low resolution to get under the 4 MB size limit for attachments. You can still see the bug but the text is very blurry. I hope you can still read it.

I wanted the video to be a bit longer to really show how the bug appears to spread to other windows etc.
Comment 3 punk.salt6165 2023-03-01 09:47:14 UTC
I forgot to mention that closing the window and opening a new one means the corruption is gone for that window, but it comes back after minimizing / resizing and so on. All new windows start out fresh and looking good until they get bug sniped. :)
Comment 4 Nate Graham 2023-03-01 20:46:11 UTC
Looks like the same issue as in Bug 465790, which is marked as fixed. I guess it's not actually fixed for all use cases. Re-opening.

*** This bug has been marked as a duplicate of bug 465790 ***
Comment 5 punk.salt6165 2023-03-02 06:55:39 UTC
(In reply to Nate Graham from comment #4)
> Looks like the same issue as in Bug 465790, which is marked as fixed. I
> guess it's not actually fixed for all use cases. Re-opening.
> 
> *** This bug has been marked as a duplicate of bug 465790 ***

It's a tricky bug. I read the original bug report and it seems like it was simply appearing and easily spotted. 

Now it's kind of hiding and appears only in this scenario above... But it's still there. Thanks for reopening!
Comment 6 punk.salt6165 2023-03-02 07:02:31 UTC
Also want to add that it never happens with Breeze so it's absolutely related to auroroe window decorations.