SUMMARY Upon updating to dolphin 24.12.0, the information panel (F11) in Dolphin now displays previews wrongly for images. Instead of fitting the image, it fills it, cutting off the longer side. In addition, it seems unusually pixelated, even for high resolution images. I was able to reproduce this on a clean install in a VM. STEPS TO REPRODUCE - Install Fedora 41 KDE spin - Obtain any non-square (so, either horizontal or vertical) image in either png or jpg format - In Dolphin, navigate to the directory containing your image - Enable the information portal via hamburger menu → Show Panels → Information - Hover over the image OBSERVED RESULT Part of the image is now cut off, and it may look slightly pixelated. EXPECTED RESULT The entire image is shown within the borders of the preview, and it doesn’t look pixelated SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Linux 6.12.4 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.1 ADDITIONAL INFORMATION
In addition to the fresh Fedora KDE install, I was also able to reproduce it on a fresh EndeavourOS install.
Created attachment 176697 [details] Screenshot of Dolphin, information panel shows broken preview of folder containing image
Created attachment 176698 [details] Screenshot of Dolphin, information panel shows broken preview of image itself
Update: This bug seems to be most apparent on display scalings above 100%.
This is still a problem on KDE Frameworks 6.9.0
Same problem is present on KDE Neon: - Plasma 6.2.4 - KDE Frameworks: 6.9.0 - Qt Version 6.8.1 - Kernel 6.8.0-51-generic (64 bit) - Dolphin 24.12.0.1 Scaling is set to 125%, problem with Dolphin preview is both on Wayland and X11
Created attachment 176952 [details] Dolphin image preview with 100% scaling
Created attachment 176953 [details] Dolphin image preview with 125% scaling
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/884
(In reply to OIRNOIR from comment #4) > Update: This bug seems to be most apparent on display scalings above 100%. I can confirm this bug on Manjaro. I also confirm that when the diplayed is not scaled the bug is not present
Git commit 863c1be871d7dbd16800cf7400284783d52352d5 by Méven Car. Committed on 09/01/2025 at 09:44. Pushed by meven into branch 'master'. information panel: scale according dpr Also use dpr for icons. Amends cebcf8db M +2 -2 src/kitemviews/kfileitemmodelrolesupdater.cpp M +1 -1 src/kitemviews/kstandarditemlistwidget.cpp M +7 -5 src/panels/information/informationpanelcontent.cpp https://invent.kde.org/system/dolphin/-/commit/863c1be871d7dbd16800cf7400284783d52352d5
Git commit c7e2cb3a5a4a72b1b560153cea8454280f8155a8 by Méven Car. Committed on 09/01/2025 at 12:22. Pushed by meven into branch 'release/24.12'. information panel: scale according dpr Also use dpr for icons. Amends cebcf8db (cherry picked from commit 863c1be871d7dbd16800cf7400284783d52352d5) M +2 -2 src/kitemviews/kfileitemmodelrolesupdater.cpp M +1 -1 src/kitemviews/kstandarditemlistwidget.cpp M +7 -5 src/panels/information/informationpanelcontent.cpp https://invent.kde.org/system/dolphin/-/commit/c7e2cb3a5a4a72b1b560153cea8454280f8155a8