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

            Bug ID: 526709
           Summary: Regression: custom folder icons from .directory are
                    rendered square in Dolphin
    Classification: Applications
           Product: dolphin
      Version First 25.12.3
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: view-engine: icons mode
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 196868
  --> https://bugs.kde.org/attachment.cgi?id=196868&action=edit
Screenshot showing a square image of a folder that should be a vertical
rectangle (a DVD cover)

DESCRIPTION
Custom folder icons defined in .directory are rendered with the wrong
aspect ratio in Dolphin on Kubuntu 26.04.

STEPS TO REPRODUCE
1. Create a directory, for example:
   mkdir -p ~/TestDolphin
2. Put a non-square image named Folder.jpg in that directory.
3. Create ~/TestDolphin/.directory with this content:
   [Desktop Entry]
   Icon=./Folder.jpg
4. Open the parent directory in Dolphin.
5. Use Icons view and enable folder previews/icons.

OBSERVED RESULT
The custom folder image is displayed as a completely square image, or
is distorted to a square.

EXPECTED RESULT
The image should be displayed with its original aspect ratio, as it was
in Kubuntu 24.04.
Regression:
The same .directory file and Folder.jpg were displayed correctly in
Kubuntu 24.04. The problem occurs after upgrading to Kubuntu 26.04.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.6
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-38-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-1035G1 CPU @ 1.00GHz
Memory: 8 GiB of RAM (7.4 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce MX350

ADDITIONAL INFORMATION
- Dolphin version: 25.12.3
- Plasma version: 6.6.6
- KIO version: 5.116.0-2
- kio-extras version: 4:25.12.3-0ubuntu1
- Kubuntu version: 26.04
- Session: Wayland

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

Reply via email to