Bug 460215 - Open dialog's image preview (F11) tends to show PNG files as movies
Summary: Open dialog's image preview (F11) tends to show PNG files as movies
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.98.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 00:20 UTC by phd
Modified: 2022-10-11 21:47 UTC (History)
2 users (show)

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


Attachments
open-dialog-preview-png-as-movie.png (11.15 KB, image/png)
2022-10-11 00:46 UTC, phd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phd 2022-10-11 00:20:32 UTC
I often notice that image preview panel (F11 shortcut key) tries to display PNG file as a movie (and fails, not displaying anything, only inactive movie's progress bar appears at the top).
JPEG, SVG and other image files work perfectly fine.

This happens randomly. Sometimes the window works fine, sometimes all PNG files will be displayed as movies.

May be related to loading a directory that contains many files, but happens also when there are just several files in the displayed directory.

STEPS TO REPRODUCE
1. open Kate (or any other application)
2. select File -> Open (Ctrl+O)
3. show images' preview panel (F11)
4. hover PNG files with mouse

OBSERVED RESULT
PNG files' preview tries to display a movie (not displaying anything, only inactive movie's progress bar appears at the top).

EXPECTED RESULT
Correct PNG image preview.

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 phd 2022-10-11 00:46:05 UTC
Created attachment 152693 [details]
open-dialog-preview-png-as-movie.png
Comment 2 veggero 2022-10-11 21:27:36 UTC
Could it be that you have some video file in the same folder that you hover on that interferes?
Comment 3 phd 2022-10-11 21:47:59 UTC
@veggero
In some directories, yes: mp4, webm, animated gifs.
But I was able to reproduce this issue also in a directory containing just 2 png and 2 jpeg files.

I had the same thought and tried reproducing this issue by hovering a video first and then moving mouse to a png file.
But I wasn't able to find any pattern.
It doesn't seem like videos in the same directory afffect this issue.