Bug 460216 - After hovering different image, Image preview panel (F11) continues to show the old preview until the new one is generated
Summary: After hovering different image, Image preview panel (F11) continues to show t...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 5.98.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 00:41 UTC by phd
Modified: 2022-10-11 21:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phd 2022-10-11 00:41:58 UTC
After hovering different image, Image preview panel (F11) continues to show the old preview until the new one is generated.

STEPS TO REPRODUCE
1. open Kate
2. select File -> Open (Ctrl+O)
3. show Image Preview panel (F11)
4. navigate to a directory containing many images
5. hover one image, wait until you see it's preview
6. hover another image

OBSERVED RESULT
Old preview from the previously hovered image is still being displayed until the preview for the newly hovered file is generated.
It is misleading for the user who doesn't know if the preview is that of a newly hovered file, or previously hovered file (because the new one is still being generated).

EXPECTED RESULT
When mouse leaves an item in the Open dialog's files view, the preview should be cleared, ideally replaced with KDE's busy indicator (rotating gear).

Image preview should also be cleared when mouse leaves the files view widget.
In the above situation, if there is a file *selected* and not just hovered, then the preview could display that selected image after the mouse leaves the file list area.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
X.org: 1.21.1.3
KDE Plasma: 5.25.5
KDE Frameworks: 5.98.0
Qt: 5.15.3
Comment 1 veggero 2022-10-11 21:26:36 UTC
Can reproduce