https://bugs.kde.org/show_bug.cgi?id=522163
Bug ID: 522163
Summary: Indentation lines are rendered unevenly and too thick
under 125% scaling on Windows (1080p)
Classification: Applications
Product: kate
Version First 26.04.2
Reported In:
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: indentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 193688
--> https://bugs.kde.org/attachment.cgi?id=193688&action=edit
Demonstration of the blurry and thick indentation guides on Windows (1080p,
125% scale)
SUMMARY
In Kate (version 26.04.2) running on Windows, the vertical indentation guides
(indentation lines) are rendered incorrectly when display scaling is set to a
fractional value. Specifically, on a 1080p monitor with 125% scaling, the
indentation lines appear blurry, uneven, and excessively thick, degrading
visual clarity.
STEPS TO REPRODUCE
1. Use a 1080p display on Windows.
2. Go to Windows Display Settings and set "Scale and layout" to 125%.
3. Open Kate, ensure "Show Indentation Lines" is enabled, and view any file
with multi-level indentation.
OBSERVED RESULT
Due to sub-pixel misalignment caused by the 125% fractional scaling, the
vertical indentation lines are not consistently mapped to physical pixels. Some
lines are rendered over-thick (appearing as 2 pixels or blurry) while others
remain thin, resulting in an uneven and visually heavy layout.
EXPECTED RESULT
The indentation lines should use a cosmetic pen or rounded pixel snapping to
ensure they are rendered as crisp, uniform 1-pixel-wide lines regardless of the
fractional scaling factor.
ENVIRONMENT
OS: Windows 11 25H2 Pro
Display Resolution: 1920x1080 (1080p)
Windows Scale Factor: 125%
Kate Version: 26.04.2
ADDITIONAL INFORMATION
I will attach a screenshot demonstrating the rendering behavior under these
exact display settings.
--
You are receiving this mail because:
You are watching all bug changes.