Bug 436026

Summary: Keyboard layout applet renders flag a bit dithered
Product: [Plasma] plasmashell Reporter: Andrey <butirsky>
Component: Keyboard Layout widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: butirsky, nate
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
URL: https://lxr.kde.org/source/kde/workspace/plasma-desktop/applets/keyboardlayout/contents/ui/main.qml
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: Dithered flag on the left (new applet) vs crisp flag on the right (old one)
Original US flag icon

Description Andrey 2021-04-21 22:24:49 UTC
Created attachment 137775 [details]
Dithered flag on the left (new applet) vs crisp flag on the right (old one)

SUMMARY
Happens on new QML applet, the old one didn't have such issue.
Best noticed in comparison, see screenshot attached.

STEPS TO REPRODUCE
1. Enable flag indication in the applet settings. 
2. Switch to a flag with many details (US is OK).

OBSERVED RESULT
Flag renders dithered, noticeable on tiny details

EXPECTED RESULT
If panel height suits, flag should render as is with 1:1 pixel details

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.80
KDE Frameworks 5.79.0
Qt 5.15.2

ADDITIONAL INFORMATION
As old SNI applet is pending for removal, it is not possible to compare sid-by-side any more. For this case, source flag icon is attached.
Comment 1 Andrey 2021-04-21 22:25:51 UTC
Created attachment 137776 [details]
Original US flag icon
Comment 3 Nate Graham 2023-09-07 14:26:50 UTC
This should be fixed by Harald's change with https://invent.kde.org/plasma/plasma-workspace/-/commit/7e947d8768bc3c598f167118fb56c8583b6196af now.