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

            Bug ID: 521199
           Summary: jpeg specific problem with icon
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Desktop icons & Folder View widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

DESCRIPTION
icons in jog are displayed in square aspect ratio, while icon in png or webp
respect their native aspect ratio.

STEPS TO REPRODUCE
1.  In a folder,
have a jpg image in a non square aspect ratio, for example 1600x900, name it
img_in_16_9.jpg
make a copy in png and another in webp with identical names

2. Create a Desktop entry file, test_aspect_ratio.desktop,
Icon=my/path/to/img_in_16_9.webp

You'll see that the icon webp image is displayed with the image ratio, here
16:9


OBSERVED RESULT
Edit   test_aspect_ratio.desktop
and change the webp for jpg
Icon=my/path/to/img_in_16_9.jpg

save the file, and now you see that the icon is displayed as squared, aka 1:1
aspect ratio.

Edit again the test_aspect_ratio.desktop
and change the jpg for png
Icon=my/path/to/img_in_16_9.png

save the file, and now you see that the icon is again displayed correctly in
16:9 aspect ratio.


EXPECTED RESULT
what every format the icon image is in jpg, png, gif, webp, etc, the aspect
ratio must be kept.

SOFTWARE/OS VERSIONS
OS: Manjaro KDE 26.1.0-pre 
KDE Plasma Version: 6.6.5
KDE Gear 26.04.1
KDE Frameworks 6.26.0
Qt Version: 6.11
kdegraphics-thumbnailers 26.04.1-1


ADDITIONAL INFORMATION
do not try with .avif image format, it eats up all CPU I'll file a specific bug

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

Reply via email to