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

            Bug ID: 363794
           Summary: Ddolphin ignores Maxsize in breeze index.theme icon
                    file.
           Product: dolphin
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: view-engine: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: kokok...@gmail.com

Dolphin scales 22x22 sized icon file file to bigger sizes even if bigger sized
icon files are specified in the theme file, (ex: breeze)

Reproducible: Always

Steps to Reproduce:
1. open dolphin and display some icons in the lowest possible size
2. scale them up using the dolphin silder to the max


Actual Results:  
The same 22x22 svg icon size is shown even for the bigger sizes.

Expected Results:  
Dolphin to pick a bigger sized file, as described in the .index theme file.


Maybe a video is clearer then my words:
dolphin q4 scaling icons, notice that the displayed image changes.
This means the picked icon image changes according to the icon size requested,
which imho, is the right thing to do:
http://wpage.unina.it/aorefice/sharevar … in-qt4.ogv

dolphin qt5 scaling icons, notice that it always pick up the same file and
scales it:
http://wpage.unina.it/aorefice/sharevar … in-qt5.ogv

According to
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
---
When type is "Scalable":
MinSize:    Specifies the minimum size that the icons in this directory can be
scaled to. Defaults to the value of Size if not present. 
MaxSize:    Specifies the maximum size that the icons in this directory can be
scaled to. Defaults to the value of Size if not present. 
---
and from breeze index.theme:
---
[mimetypes/16]
Size=16
Context=MimeTypes
Type=Fixed
MinSize=16

#22x22 - Fixed size - For small file type icons >!!!ONLY!!!< -
DO_NOT_USE_ANYWHERE_ELSE - Monochrome
[mimetypes/22]
Size=22
Context=MimeTypes
Type=Scalable
MinSize=22
MaxSize=24
#32x32 - Scalable - For file type icons >!!!ONLY!!!< - Scalable to the
following sizes: 64x64 (default), 32x32, 128x128, 256x256 -
DO_NOT_USE_ANYWHERE_ELSE - Color
[mimetypes/32]
Size=32
Context=MimeTypes
Type=Scalable
MinSize=32
MaxSize=48

#64x64 - Scalable - For file type icons >!!!ONLY!!!< - Scalable to the
following sizes: 64x64 (default), 32x32, 128x128, 256x256 -
DO_NOT_USE_ANYWHERE_ELSE - Color
[mimetypes/64]
Size=64
Context=MimeTypes
Type=Scalable
MinSize=64
MaxSize=256
---
...but MaxSize=24 is ignored by dolphin qt5, it uses the first Scalable type
icons for all of the bigger sizes.

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

Reply via email to