Bug 477807

Summary: Incorrect rendering in various KCMs when fractional scaling is enabled
Product: [Applications] systemsettings Reporter: Amine Hassane <bugs.kde.org>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: all, haochengho12907, nate
Priority: NOR Keywords: qt6
Version: 5.90.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Desktop Effects page with incorrectly rendered input field, buttons and text
Info Center with text issues
Touchpad KCM with button glitches
Sound Settings Incorrect Rendering
Incorrect font rendering on left panel of System Setttings
KDE sound settings displaying incorrectly on kde neon unstable

Description Amine Hassane 2023-12-01 00:19:32 UTC
Created attachment 163677 [details]
Desktop Effects page with incorrectly rendered input field, buttons and text

SUMMARY
When fractional scaling is enabled some KCMs show incorrectly rendered input fields, checkbox and radio buttons and text.

The input field and button glitches happen every time but the text issue is slightly harder to reproduce. It only occurs after scrolling up and down for a bit in Desktop Effects.

I've attached a screenshot of the Desktop Effects page with the display scale at 150%. 

STEPS TO REPRODUCE
1. Set display scaling to to a fractional scale.
2. (Re)open System Settings.
3. Go to Window Management > Desktop Effects.
4. Scroll down for a while.

OBSERVED RESULT
Incorrectly rendered input field, buttons and text.

EXPECTED RESULT
Correctly rendered input field, buttons and text.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Amine Hassane 2023-12-01 00:23:45 UTC
Created attachment 163678 [details]
Info Center with text issues

The text issues are also visible in Info Centre, but only when it's opened directly (opening it from System Settings doesn't reproduce it), and switching focus away and back fixes it.
Comment 2 Amine Hassane 2023-12-01 00:37:03 UTC
Created attachment 163679 [details]
Touchpad KCM with button glitches

The Touchpad KCM also shows the button glitches. It seems only QtQuick KCMs have this issue.
Comment 3 Mel 2023-12-02 04:08:39 UTC
Created attachment 163741 [details]
Sound Settings Incorrect Rendering

I have this issue as well. Only at 150% scaling with a 4k monitor. I'm using an arch-linux based distro (EndeavourOS) using arch's kde-unstable repo for Plasma 6.0 Beta 1 (5.90.0). I installed these packages on a fresh install with no desktop environment installed. I am using a previous Plasma 5 home directory though.

In the attached screenshot you can see incorrect text (notice the `L`s.), some volume bars are incorrectly rendering their border (HDMI's volume bar for example), some dropdown boxes (bottom left corner of Front mic for example), and some volume knobs. 

This doesn't seem to occur on 100, 125, 175, or 200% scaling. Changing various font settings doesn't seem to affect the issue. It did not occur in Plasma 5.

Operating System: EndeavourOS 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.2-202.fsync.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: ASUS
Comment 4 hch12907 2023-12-02 09:47:06 UTC
Created attachment 163751 [details]
Incorrect font rendering on left panel of System Setttings

Possibly related to the issue. The text in the left panel are rendered incorrectly, but only after a certain height (compare Recent Files and User Feedback). 

Screenshot is taken on a 1080p display with 125% scaling.

Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 5 Mel 2023-12-02 19:09:32 UTC
Created attachment 163772 [details]
KDE sound settings displaying incorrectly on kde neon unstable

I just wanted to add I can reproduce this issue (albeit manifesting slightly differently) on the latest KDE Neon Unstable's live iso. With the same 150% scaling on my 4k monitor. 

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: ASUS
Comment 6 Amine Hassane 2023-12-03 00:13:04 UTC
I can reproduce this issue at 125% and 175% scaling, but the glitches are much rarer. Info Center text is just as bad though.
Comment 7 Nate Graham 2023-12-12 23:04:49 UTC

*** This bug has been marked as a duplicate of bug 464069 ***