https://bugs.kde.org/show_bug.cgi?id=499241

TraceyC <kde...@tlcnet.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |CONFIRMED
            Summary|Dolphin jpeg preview only   |No preview shown when file
                   |shown when previews are     |extension does not match
                   |disabled for images from a  |actual image type
                   |specific source             |
     Ever confirmed|0                           |1

--- Comment #4 from TraceyC <kde...@tlcnet.info> ---
Thank you for clarifying how you download the images. If you inspect the
properties of one of these files, you will see the problem.
1. Right click one of the downloaded files with the .jpg extension and choose
"Properties"
2. Look at Type and Content. What I see is 
Type: "JPEG image"
Content: "WebP image"

The problem is that the file is actually a WebP image but has the wrong file
extension of .jpg
Rename the file to have the correct extension and the previews will show as
expected.

The bug in Dolphin is that it should be using file properties to show the
preview, not the file extension, since that can be wrong

I can reproduce this on git-master

STEPS TO REPRODUCE
Make sure previews are enabled in Dolphin
1. Download a sample webp image from a site like
https://toolsfairy.com/image-test/sample-webp-files#
2. Open the folder where the image is in Dolphin. The preview is shown at this
point.
3. Change the file extension to .jpg. 

Result: The preview is no longer shown
Expected: the preview is still shown

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to