Bug 510829 - Animated image formats (GIF, et plus) scaled incorrectly in information panel
Summary: Animated image formats (GIF, et plus) scaled incorrectly in information panel
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: information (other bugs)
Version First Reported In: 25.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-20 14:53 UTC by OIRNOIR
Modified: 2026-01-03 13:53 UTC (History)
2 users (show)

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


Attachments
Incorrect scaling behavior in Dolphin (313.85 KB, image/png)
2025-10-20 14:53 UTC, OIRNOIR
Details
A closer screenshot of the undesired behavior. (114.38 KB, image/png)
2025-10-20 14:54 UTC, OIRNOIR
Details
The same file viewed in Gwenview (616.21 KB, image/png)
2025-10-20 14:55 UTC, OIRNOIR
Details
The .gif I reproduced this behavior on. (1.12 MB, image/gif)
2025-10-20 14:56 UTC, OIRNOIR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OIRNOIR 2025-10-20 14:53:13 UTC
Created attachment 185923 [details]
Incorrect scaling behavior in Dolphin

SUMMARY
GIF, animated AVIF, animated JXL, and animated WebP files are all scaled incorrectly when viewed in Dolphin.
This effect decreases as display scaling increases, with the issue being more noticeable at display scalings under 200%.
I would guess that this is connected to Bug 497576, because this has very similar behavior to what used to affect ALL image types (not just animated ones) prior to the resolution of Bug 497576.

STEPS TO REPRODUCE
On 150% display scaling:
1. Obtain an animated gif, avif, jxl, or webp file (or another animated type that Dolphin supports
2. Open Dolphin to the directory of the file
3. Ensure that View -> Show Panels -> Information is enabled, and the information panel to the right is viewable
4. Right-click the Information panel and ensure that Preview is enabled
5. Click on or hover over the animated gif, avif, jxl, or webp file.

OBSERVED RESULT
The file is shown wildly not to scale, slightly pixelated and too large for its frame. The outer parts of the animated graphic are cut off.

EXPECTED RESULT
The entire animated image is cleanly visible in the preview frame, with no unnecessary pixelation and proper scaling.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 48 GiB of RAM (46.7 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: Notebook
Product Name: V54x_6x_TU
System Version: V540TU

ADDITIONAL INFORMATION
I've been experiencing this issue ever since Bug 497576 was introduced, and it was never fixed alongside it. I apologize for my tardiness in reporting the issue.
Comment 1 OIRNOIR 2025-10-20 14:54:37 UTC
Created attachment 185924 [details]
A closer screenshot of the undesired behavior.
Comment 2 OIRNOIR 2025-10-20 14:55:31 UTC
Created attachment 185925 [details]
The same file viewed in Gwenview

Note that the warning icon at the top is visible here but not visible in any of the Dolphin previews.
Comment 3 OIRNOIR 2025-10-20 14:56:45 UTC
Created attachment 185926 [details]
The .gif I reproduced this behavior on.

It works with any .gif, and this was the one I happened to reproduce it on. I created files of the other formats by using ffmpeg and imagemagick to convert from this gif to those other formats.
Comment 4 OIRNOIR 2025-10-24 12:22:12 UTC
Just updated, can reproduce in Plasma 6.5

Operating System: Arch Linux 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 48 GiB of RAM (46.7 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: Notebook
Product Name: V54x_6x_TU
System Version: V540TU
Comment 5 OIRNOIR 2025-11-06 15:09:46 UTC
Still broken in Dolphin 25.08.3