Bug 436026 - Keyboard layout applet renders flag a bit dithered
Summary: Keyboard layout applet renders flag a bit dithered
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (other bugs)
Version First Reported In: master
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://lxr.kde.org/source/kde/worksp...
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-04-21 22:24 UTC by Andrey
Modified: 2023-09-07 14:26 UTC (History)
2 users (show)

See Also:
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) (399 bytes, image/png)
2021-04-21 22:24 UTC, Andrey
Details
Original US flag icon (308 bytes, image/png)
2021-04-21 22:25 UTC, Andrey
Details

Note You need to log in before you can comment on or make changes to this bug.
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.