You are not logged in.

#1 2016-06-01 12:24:56

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

dolphin qt5 ignores Maxsize in index.theme icon file

One image will describe the issue better than me:
http://imgur.com/5Hu1dEs

Dolphin qt5 on the left and dolphin qt4 on the right.
Each of the file managers is using the very same breeze theme and they show a dual panel view with the same item icons in 16px (left pane) and 80px (right pane).
As you can see, dolphin qt5 is using the same images for both the panes, but it is scaling the pictures, while dolphin qt4 uses the bigger icon files when the requested icon size is bigger.

Is it a bug? Is it a feature? Does it happen to you too?

Thanks...

Last edited by kokoko3k (2016-06-01 13:56:24)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2016-06-01 12:34:23

miku84
Member
Registered: 2015-03-31
Posts: 45

Re: dolphin qt5 ignores Maxsize in index.theme icon file

Hi,

If you have breeze-kde4 installed then qt4 should be the same look as the qt5 one. But I think you want to move the appereance of the qt4 to the qt5 one?
I think you need to try to configure the qt5 one as you like, or try to copy the dolpin config file from .kde folder to .config folder.

Offline

#3 2016-06-01 12:36:09

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: dolphin qt5 ignores Maxsize in index.theme icon file

I'd like qt5 dolphin to pick the right icon size from the available icon files, instead of scaling the low-sized icon files.
Dolphin qt4 does that.

Last edited by kokoko3k (2016-06-01 12:38:20)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2016-06-01 12:50:58

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: dolphin qt5 ignores Maxsize in index.theme icon 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

Last edited by kokoko3k (2016-06-01 13:29:13)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2016-06-01 13:14:12

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: dolphin qt5 ignores Maxsize in index.theme icon file

It seems a bug in dolphin.
According to https://specifications.freedesktop.org/ … atest.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

...but MaxSize=24 is ignored by dolphin qt5, it uses the first Scalable type icons for all of the bigger sizes.

Somebody confirm?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#6 2016-06-01 13:30:21

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: dolphin qt5 ignores Maxsize in index.theme icon file

I just testet it on my system and it is working properly.

You should test it with a new user to be sure that it isn't some config thing.

Offline

#7 2016-06-01 13:37:26

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: dolphin qt5 ignores Maxsize in index.theme icon file

Thanks for testing, did you tried with breeze icon theme?
I have to add that i'm using qt5ct plugin

Last edited by kokoko3k (2016-06-01 13:56:16)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2016-06-01 14:09:28

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: dolphin qt5 ignores Maxsize in index.theme icon file

Np, yeah it is with breeze i am using plasma.
And changing the icon size looks exactly like in your video for dolphin-qt4 (before you ask i dont even have dolphinpart4 installed wink)

Last edited by Loose_Control (2016-06-01 14:10:23)

Offline

Board footer

Powered by FluxBB