Bug 488085

Summary: Block sleep toggle becomes pixelated when fractional scaling is set
Product: [Frameworks and Libraries] libplasma Reporter: kde.aerospace405
Component: componentsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, natalie_clarius, nate, niccolo, notmart, tantalising007
Priority: NOR    
Version First Reported In: 5.248.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the pixelated toggle switch.
Full desktop screenshot

Description kde.aerospace405 2024-06-05 17:02:43 UTC
Created attachment 170177 [details]
Screenshot of the pixelated toggle switch.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The block sleep toggle becomes pixelated at fractional scaling levels (e.g., 125%, 150%, etc.).

STEPS TO REPRODUCE
1. Set fractional scaling to 125%
2. Open battery applet
3. See pixelated toggle

OBSERVED RESULT
A pixelated toggle switch.

EXPECTED RESULT
A non-pixelated toggle switch.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 KDE
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
My system is using Wayland.
Comment 1 Nate Graham 2024-06-10 21:13:03 UTC
Sorry, I don't see any pixelation in the screenshot--or at least, nothing that's unexpected when using a low factional scale factor. Can you maybe attach a larger one that shows the entire screen, so I can get a sense of how everything else looks too?
Comment 2 kde.aerospace405 2024-06-11 20:20:35 UTC
Sorry, it's not super apparent here. I will attach a screenshot of the full desktop.. My display is a 1920x1080 display.
Comment 3 kde.aerospace405 2024-06-11 20:21:56 UTC
Created attachment 170391 [details]
Full desktop screenshot

Here's the full desktop screenshot.
Comment 4 Nate Graham 2024-06-11 21:41:05 UTC
Thanks. I can see it now. I think this is actually mostly an issue with the Plasma styling of the Switch control specifically. Moving to Libplasma.