Bug 502319

Summary: Graphical glitch when hovering over list view items in open dialog / file picker
Product: [Frameworks and Libraries] frameworks-kio Reporter: Massimiliano L <m.lincetto>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, gudvinr+kde, kdedev, kdelibs-bugs-null, nate, wang.zk
Priority: NOR    
Version First Reported In: 6.12.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screencast of the glitch

Description Massimiliano L 2025-04-02 12:41:39 UTC
Created attachment 179935 [details]
Screencast of the glitch

SUMMARY
When hovering over the items in a directory in the file open dialog, elements under the mouse pointer "move" slightly, like in some sort of "depression" animation.

STEPS TO REPRODUCE
1. Launch an app that uses the file open dialog
2. Browse a directory
3. Hover over elements 

OBSERVED RESULT
Items that are hovered over show a slight displacement.

EXPECTED RESULT
Items that are hovered over stay still.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 14 × Intel® Core™ Ultra 5 125U
Memory: 15.1 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: LENOVO
Product Name: 21MMS7CK00
System Version: ThinkPad T14 Gen 5

ADDITIONAL INFORMATION
- Using Wayland with fractional scaling.
- The app that calls the open dialog is a Flatpak app.
- Have observed this on different systems with different graphics/display configurations.
Comment 1 Massimiliano L 2025-04-06 11:51:20 UTC
Can confirm that:
- the issue does not depend on the application invoking the dialog being a Flatpak (can reproduce from KDE system settings)
- the issue does not depend on GPU (Intel Graphics and discrete AMD result in the same behaviour)
Comment 2 Nate Graham 2025-04-11 18:29:00 UTC
Can reproduce.
Comment 3 John Kizer 2025-05-16 05:56:52 UTC
*** Bug 504186 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2025-08-20 16:31:35 UTC
*** Bug 506318 has been marked as a duplicate of this bug. ***
Comment 5 tempqd 2025-09-30 05:44:28 UTC
Seems to be from the (now outdated?) painting strategies: https://invent.kde.org/frameworks/kio/-/blob/5ac54c685ca8edc78ca6f7c1d7f6b657635eea8a/src/widgets/kfileitemdelegate.cpp#L1116

Actually found a related MR https://invent.kde.org/frameworks/kio/-/merge_requests/1960 but the issue is still present in git master, hmm.