Step to reproduce: 1. Enable Dolphin file preview for all types. 2. Download a large ISO compressed with 7z. 3. Unpack it in Dolphin. 4. When unpacking, Dolphin try to generate a file preview of the incomplete ISO file. Maybe Dolphin thinks it is text file. 5. After extraction finished, fresh Dolphin with F5. 6. Now Dolphin won't show preview for ISO files.
Created attachment 113166 [details] preview iso I wasn't able to reproduce this on Dolphin 18.04.2 on KDE Neon. I was extracting an iso, but I'm not seeing a preview. Maybe I'm doing something wrong? What should I expect to see?
Hello, and thanks for reporting this bug! I also tried to reproduce this behavior just like Alan did, but I failed as well. Could you maybe attach a screenshot of Dolphin while it tries to generate the file preview? That would be great :)
Created attachment 113175 [details] Dolphin generate file preview for ISO files that haven't completely been extracted Here is the screenshot I got. I am downloading some ISO from here https://www.emuparadise.me/Sony_Playstation_2_ISOs/FIFA_12_(Europe)_(En,Es,Pt,Pl,Ru)/153276-download PlayStation 2 ISO may be different from typical installation image or movie DVD.
Okay, I can now also reproduce this behavior. The ISO you mentioned seems to contain UDF filesystem data, so Dolphin seems to interpret this specific type of data as plain text and then tries to generate a preview. It might also be a problem in KIO but I am not completely sure about that.
This is probably https://bugs.freedesktop.org/show_bug.cgi?id=80877
Guo can you please confirm this is the issue you're facing: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/74 (updated link from above Freedesktop link).
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!