Bug 476463 - File chooser shows wrong preview action for PNGs
Summary: File chooser shows wrong preview action for PNGs
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.110.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-02 10:49 UTC by Reuben
Modified: 2024-05-11 11:18 UTC (History)
2 users (show)

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


Attachments
example of bug (286.86 KB, image/png)
2023-11-02 10:49 UTC, Reuben
Details
here is a file which when browsed over causes it (112.72 KB, image/png)
2023-11-02 10:49 UTC, Reuben
Details
regular browsing prior to the bug being triggered (311.95 KB, image/png)
2023-11-02 10:50 UTC, Reuben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2023-11-02 10:49:13 UTC
Created attachment 162818 [details]
example of bug

SUMMARY

This appears to be a regression of #169716. 

STEPS TO REPRODUCE
1. From chrome, file > open
2. Browse PNGs, until one of them triggers the preview to switch to an empty media player

OBSERVED RESULT

Now all PNGs show an empty media player, even though some where originally working.
Comment 1 Reuben 2023-11-02 10:49:52 UTC
Created attachment 162819 [details]
here is a file which when browsed over causes it
Comment 2 Reuben 2023-11-02 10:50:24 UTC
Created attachment 162820 [details]
regular browsing prior to the bug being triggered
Comment 3 Reuben 2023-11-02 10:50:44 UTC
Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-10-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS
Comment 4 Nate Graham 2023-11-03 21:42:54 UTC
Does the issue always reproduce for that specific PNG file? Or for all PNGs? Or for only some PNGs, seemingly randomly? Or for any kind of file, seemingly randomly?
Comment 5 Reuben 2023-11-04 10:51:45 UTC
This flie specifically triggers the bug, and then breaks the preview for all pngs browsed too subsequently (which previously were working fine). It does not break preview of other files (pdfs, jpgs). This has happened to me for months, and I only realized that there was this triggering element to the bug while filing the ticket.
Comment 6 Nate Graham 2023-11-09 21:42:48 UTC
Just that file and no other files? If so, can you attach it?
Comment 7 Reuben 2023-11-13 14:00:45 UTC
To clarify - it happens regularly with different files, but only specific files cause the issue (which then breaks preview for all files).

Example file attached in https://bugs.kde.org/show_bug.cgi?id=476463#c1
Comment 8 Nate Graham 2023-11-16 22:24:14 UTC
Thanks. Cannot reproduce the issue with that or any other image I try this with.
Comment 9 Reuben 2023-11-17 09:43:01 UTC
Hm, are there logs I can look at? Perhaps a way to turn on debug mode in Dolphin?
Comment 10 Nate Graham 2023-11-17 17:51:58 UTC
It's not Dolphin, it's the file dialog, which id provided by KIO. But not really, I don't think there's any relevant debug logging around this.
Comment 11 Reuben 2024-05-11 11:18:08 UTC
I run into this multiple times a day and it really impacts productivity. How can I clear the file picker settings? Or the mime settings? Or whatever it uses.