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

            Bug ID: 499363
           Summary: Inconsistent size and position of overlay icons
    Classification: Plasma
           Product: plasmashell
           Version: master
          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

Created attachment 177853
  --> https://bugs.kde.org/attachment.cgi?id=177853&action=edit
Issue with old KIconUtils

SUMMARY
Overlays on icons, such as soft link overlays, have inconsistent sizes
depending on the preview format. A recent fix in KIconUtils
(https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/164) also broke
those icons some more (base icons are now too small), see attached screenshots.

STEPS TO REPRODUCE
Create symbolic links on your desktop to files with icons of different aspect
ratios.
Here's a short script that automates that:
```
cd $HOME/Desktop

declare -A images
images=(
    ["16_9.png"]="1920x1080"
    ["4_3.png"]="1024x768"
    ["1_1.png"]="1000x1000"
    ["21_9.png"]="2560x1080"
)

for img in "${!images[@]}"; do
    magick -size "${images[$img]}" xc:white "$img"
    ln -s "$img" "link_$img"
done
```

OBSERVED RESULT
The overlay does not have a consistent size and position.
The link icons have a smaller base icon than the originals.

EXPECTED RESULT
The link icons are the same as the original icons, with the same link overlay
for all

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250128
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
See BUG 498211 and https://invent.kde.org/system/dolphin/-/merge_requests/889
"Some of what https://invent.kde.org/system/dolphin/-/merge_requests/889 did
will be needed (enlarge the icon size to maximum available size instead of the
source image size scaled)."

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

Reply via email to