Bug 489401

Summary: KDE File Portal renders icons pixelated and they alternate when hovering over them
Product: [Plasma] xdg-desktop-portal-kde Reporter: Pavel Dobiáš <pavel23dob>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aleixpol, jgrulich, nate, pavel23dob
Priority: NOR    
Version First Reported In: 6.1.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Scrolling and moving the cursor over the file portal's contents
Screenshot with pixelated icons clearly visible

Description Pavel Dobiáš 2024-06-28 20:29:56 UTC
Created attachment 171144 [details]
Scrolling and moving the cursor over the file portal's contents

SUMMARY
Icons have issues with rendering when browsing through contents of a directory using the KDE File Portal. The icons are pixelated and strangely alternate when hovering over them. 

STEPS TO REPRODUCE
1. Open KDE File Portal from any application.
2. Observe different icons of the folders, files, folders with preview etc.

OBSERVED RESULT
The icons in the file portal appear pixelated and hovering over them makes them alternate in a strange way. See attached video and screenshot for reference.

EXPECTED RESULT
The icons appear clearly and don't alternate when hovering over them.

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

ADDITIONAL INFORMATION
Display: 1920x1080@125%
Comment 1 Pavel Dobiáš 2024-06-28 20:34:08 UTC
Created attachment 171145 [details]
Screenshot with pixelated icons clearly visible
Comment 2 Pavel Dobiáš 2024-08-21 22:12:42 UTC
Might be related to https://bugs.kde.org/show_bug.cgi?id=479891 as the temporary fix mentioned there, involving QT_SCALE_FACTOR_ROUNDING_POLICY, has solved this problem as well.