Bug 483198 - Fractional scaling causes visual glitch with outline in title edges
Summary: Fractional scaling causes visual glitch with outline in title edges
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (show other bugs)
Version: 6.0.1
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-11 05:44 UTC by Quinten Kock
Modified: 2024-03-14 20:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the issue (look closely at the top right window corner) (47.90 KB, image/png)
2024-03-11 21:29 UTC, Quinten Kock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quinten Kock 2024-03-11 05:44:54 UTC
SUMMARY
While reporting https://bugs.kde.org/show_bug.cgi?id=483197, I noticed another anomaly: the titlebar (window decoration) edge is different from the actual window edge.

I'm guessing this is an issue with KWin or Breeze, but I am unsure.


STEPS TO REPRODUCE
1. Set scaling factor to 150% (other factors might also be broken)
2. Look at top right corner of window

OBSERVED RESULT
Nice continuous edge

EXPECTED RESULT
Edge suddenly changes in thickness

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Graphics platform: Wayland
Graphics driver: NVIDIA proprietary 535.154.05 (RTX 2070)
Comment 1 Nate Graham 2024-03-11 20:23:42 UTC

*** This bug has been marked as a duplicate of bug 480171 ***
Comment 2 Quinten Kock 2024-03-11 21:29:41 UTC
Created attachment 166986 [details]
Screenshot showing the issue (look closely at the top right window corner)

Is this really a dup? The linked issue seems related to the window getting the wrong size. Here the window has the correct size, but within the window there is an artifact visible.
Comment 3 Nate Graham 2024-03-13 18:24:49 UTC
Ok, not quite the same issue. It's your favorite bug, Akseli! :) 

Hopefully this will be fixed in Plasma 6.1 with a new approach to drawing the outline.
Comment 4 Akseli Lahtinen 2024-03-14 20:52:29 UTC
I am going to scream.

I think this bug can't be fixed with any style workarounds and just needs a change from the KWin guys.