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.
Created attachment 185924 [details] A closer screenshot of the undesired behavior.
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.
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.
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
Still broken in Dolphin 25.08.3
I don't reproduce this with dolphin 25.12 (Plasma 6.6 arch, KDE Frameworks 6.23). Please confirm.
(In reply to Méven from comment #6) > I don't reproduce this with dolphin 25.12 (Plasma 6.6 arch, KDE Frameworks > 6.23). > > Please confirm. I have all the same versions as you, on Arch. I'm not experiencing scaling issues anymore for gifs that are taller than they are wide, but I do notice some weird scaling issues for gifs that are wider than they are tall. And, for both, I notice some weird pixelation that occurs for the gifs while the individual frames (converted to png) appear smooth at the same size in Dolphin. Attaching some screenshots of this behavior. The first shows how the first frame of the already attached gif (from 2025-10-20) is expected to show (as a .png), the second shows its blurry but correct scaling as of today for this gif. The third and fourth screenshot show the same but with a second gif. Note that this gif is wider than it is tall, and it is cut off on the edges. It experiences the same pixelation problem. The gif I used here will be attached last.
Created attachment 190454 [details] Screenshot of first frame of original gif as PNG Sorry for the spam. I don't see any way to add a group of attachments without sending a bunch of messages.
Created attachment 190455 [details] New Screenshot of the first frame of the original gif (pixelation issues only)
Created attachment 190456 [details] First frame of a second (wide) gif as a png
Created attachment 190457 [details] First frame of a second (wide) gif. Note both scaling and pixelation issues.
Was not able to attach the second gif due to file size limit. I believe it can be accessible here as the "HD GIF": https://tenor.com/view/cat-swim-in-milk-cat-kitty-milk-milk-cat-gif-23473453
I understand the issue now. That's the dpr that's not right.
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/1198
Git commit 359ba4c0700ff43a68ad62517bf7c638c341be8a by Méven Car. Committed on 10/03/2026 at 09:04. Pushed by meven into branch 'master'. information/pixmapviewer: handle hdipi for animated images M +5 -2 src/panels/information/pixmapviewer.cpp https://invent.kde.org/system/dolphin/-/commit/359ba4c0700ff43a68ad62517bf7c638c341be8a
Git commit 7ad656d72869115456d5721f470e7abadb94d5f9 by Méven Car. Committed on 10/03/2026 at 09:04. Pushed by meven into branch 'release/26.04'. information/pixmapviewer: handle hdipi for animated images (cherry picked from commit 359ba4c0700ff43a68ad62517bf7c638c341be8a) Co-authored-by: Méven Car <meven@kde.org> M +5 -2 src/panels/information/pixmapviewer.cpp https://invent.kde.org/system/dolphin/-/commit/7ad656d72869115456d5721f470e7abadb94d5f9