24px Icons
Open, Needs TriagePublic

Description

For Plasma 6:

The idea is simple. Be able to make 24px icons work in Plasma.

Reason: it's more about the numbers. Nothing special. But it also sounds more reasonable as a number in the set of sizes we use for plasma (16,32,48,64...) over 22. What a random number...

How would that work? If that ever happens, 22 icons should still work, because Breeze and Oxygen do not include 24px icons at the moment. Breeze could have some day, but Oxygen seems more challenging. That would mean, that "support" for 22 would still exist but support for 24 may be added. So people could either make 22 or 24 icons and both could work. I don't know a better "workaround", if that is one anyway.

This could be "added" in the new frameworks for Plasma (6). Write down whatever you like if you have an interest.
iothes created this task.Apr 24 2021, 1:27 PM
iothes updated the task description. (Show Details)Apr 24 2021, 1:35 PM
davidre added a subscriber: davidre.EditedApr 26 2021, 6:59 AM

Needs Investigation why 22 was chosen and what benefit 24 would bring.

Liking 24 more because 22 looks random to you creates work without any advantage.

Maybe @antlarr knows why 22px was chosen?

cfeck added a subscriber: cfeck.Apr 26 2021, 8:59 AM

The geometric mean of 16 and 32 is 22.6274...

The geometric mean of 16 and 32 is 22.6274...

That doesn't sound like what they had in mind. I think I remember why they were chosen (Microsoft did that for their old icons, I think that's why).

Needs Investigation why 22 was chosen and what benefit 24 would bring.

Liking 24 more because 22 looks random to you creates work without any advantage.

Anyway, so.. you have 16 icons in actions with 2px margins. 16/2=8 yet 22/3≠8. But 24/3=8.

Anyway, so.. you have 16 icons in actions with 2px margins. 16/2=8 yet 22/3≠8. But 24/3=8.

Could you explain what that means in practice? And why are we dividing the size by the margins?

Anyway, so.. you have 16 icons in actions with 2px margins. 16/2=8 yet 22/3≠8. But 24/3=8.

Could you explain what that means in practice? And why are we dividing the size by the margins?

So, I think the ratio should stay 8 but in order for it to stay 8 with 22 icons, the margins should be 2.75 instead of 3. It seems to bring a small incohesiveness. It's not bad for practical reasons. It's more about visuals (but then again it might not be visible).

That's why I'm suggesting this in case it could be easy to implement and there is will to do it (I'm not a programmer hehe). If not then I suppose KDE could stick with 22.

davidre added a comment.EditedApr 26 2021, 3:23 PM

So you are saying the ratio between margins/content should always be 8? Does that hold for the other sizes?

Not exactly. It does for some, not all, but it can be "fixed" without code.

alex-l added a subscriber: alex-l.Jan 6 2022, 5:10 PM

I think it's a Freedesktop standard. It seems we have multiple of 2 and 3 starting from x4:

8, 16, 32, 64, 128, 256, 512
12, 24, 48, 96, 192

but with 22 instead of 24 and I confirm this has always been a problem while designing icons. Imho the best would be using 24 and if an icon theme has only the legacy 22 ones load them with an additional 1px margin.

Is anyone already forking the 22px icons into 24px? If it's to go ahead with the decision to use the latter for Plasma 6 then I could help out but what are the specs.

It's relatively easy at least for me if the icons remain as is style wise but with Ken's rounded full color ones I wonder if mono will go rounded, I think it's easier and better for usability to remain as much pixel following as possible with the current simpler basic shape, it would also allow for the use of non standard and basic SVG editors with very little trimming and cleaning on something like Inkscape.

As I understand it, 22 showing up in freedesktop.org standards is a result of KDE/Plasma using it rather than the opposite. In fact, GNOME has always used 24, and the difference has always been an issue when trying to use icons designed for one desktop in the other, and an inconsistency in look&feel between KDE and GNOME applications.

That said, switching from 22 to 24 now will cause issues with legacy icon themes and will make KF6 applications look different from KF5 ones (which will continue existing for a while) (and of course kdelibs ≤ 4 ones, too).

This task should be tagged Plasma, it can happen at any time, not necessarily before KF6.

If there are no objections I'll remove the KF6 tag from this task.

davidedmundson added a subscriber: davidedmundson.

It doesn't seem this has to in sync with Plasma 6 in any way. It can happen tomorrow or in 3 years.
Removing from Plasma6 workboard to avoid confusion.

vkrause moved this task from Backlog to Optional/Low Priority on the KF6 board.Jan 29 2023, 2:59 PM