Open libalis opened 4 months ago
Your screenshot doesn't show that there's a scaling factor > 1. Are you sure that there's any scaling? Which LXQt theme do you use?
If your scale factor is 1.5, then the size of those buttons is correct. Their icon size (PM_LargeIconSize
) is 32px in most styles, and with a scale factor of 1.5 we have 32×1.5=48.
It looks like an issue with breeze widget style while with fusion is all fine:
Note: when changing widget style the panel needs to be restarted.
Interesting, any idea why this might be?
Your screenshot doesn't show that there's a scaling factor > 1. Are you sure that there's any scaling? Which LXQt theme do you use?
Yes, there is definitely scaling. The theme is called system.
It looks like an issue with breeze widget style while with fusion is all fine:
I don't see any difference in the button size in your screenshot. Its icon is also 48px, which is correct with a scale factor of 1.5.
The theme is called system.
Then it uses the widget style, which is Breeze in your case. As I said, I don't see any issue here if your scale factor is 1.5.
Actually the system theme combined with breeze widget style has still the issue with text not elided in taskbar buttons and should be unusable:
It looks like an issue with breeze widget style while with fusion is all fine:
I don't see any difference in the button size in your screenshot. Its icon is also 48px, which is correct with a scale factor of 1.5.
Using breeze widget the icons appear huge; there is no scale factor.
breeze:
fusion:
Actually the system theme combined with breeze widget style has still the issue with text not elided in taskbar buttons
That's a Breeze issue we know about for a long time (sorry, didn't have time to find the link) and isn't related to this report. The Breeze devs know about it too but, for whatever reason, they didn't want to see it as an issue, although I showed to them where the problem was in their code.
All in all, everything seems OK to me regarding the button size if the scale factor is 1.5.
see above,no scale factor nowhere here, except breeze which scales up those icons.
there is no scale factor.
Now I am confused ;) @libalis says there is definitely a scale factor, while you say there isn't. Have I misread a comment?
I have deactivated sddm scaling and explicitly set lxqt to 2x scaling. Fusion: Breeze:
So it is related to breeze and even occurs without scaling according to @stefonarch.
Yes, in your last screenshots and considering your last info, Fusion is OK (64px), while breeze isn't (96px).
It should be related to a bug in KDE.
I vaguely remember that, when KDE6 came out, @stefonarch told me that its default scaling was 1.5. Now, Breeze may take it directly from KDE settings (which is a bug), such that, with a scale factor of 2, those icons have a size of 32×2×1.5=96px.
Do they know about this bug?
I don't know. They denied the obvious bug that @stefonarch mentioned (and whose link I can't find); so, I'm not sure anything will happen if they know about this one. I think they're happy as far as Breeze works fine only in KDE.
So sad
Ah, at last I found it: https://github.com/lxqt/lxqt/issues/1525#issuecomment-406907067
It was denied in https://bugs.kde.org/show_bug.cgi?id=397337
If I get around to it tomorrow, I'll try to report it to breeze.
OK, I found some time to check it firsthand. These screenshots show those buttons with Breeze and System theme, with scale factors of 1 and 1.5, respectively:
As you can see, the icon size is correct: it's 32px with no scale factor and 48px with a scale factor of 1.5.
I have a full KDE installation, and I remember that I had to change a wrong setting somewhere in its systemsettings
when it was upgraded to its version 6. Sadly, I don't remember what that setting was.
So, the problem can be worked around by finding and fixing that setting. It may be in its Display Configuration → Global scale (mine is 100%), but I'm not sure if it can be set outside Plasma6.
Unfortunately, I'm not sure if I did everything correctly, but the issue is now also on KDE bugs: https://bugs.kde.org/show_bug.cgi?id=490420
Did you check systemsettings → Configuration → Global scale?
Sadly systemsettings doesn’t work for me.
"The QStyle does define some icon sizes: QStyle::PM_SmallIconSize QStyle::PM_LargeIconSize
Nothing seems related to scaling, it's just a different default."
I know that you quoted it from your KDE report.
QStyle::PM_LargeIconSize
is 32 in Breeze, as it is in Fusion. Those big icons with Breeze should have another explanation.
I am probably not qualified to continue the discussion on KDE bugs.
I am probably not qualified to continue the discussion on KDE bugs.
In a sense, I'm neither ;)
@libalis, I think this is worth a try:
Open ~/.config/kdeglobals
and serach in it for [DialogIcons]
. Under it, check whether Size=...
exists and set it to Size=32
. Then restart lxqt-panel from Session Settings.
If [DialogIcons]
doesn't exist, add this to that file:
[DialogIcons]
Size=32
I didn't even have the file and unfortunately this didn't change anything for me. Maybe it works for @stefonarch?
No effect here, I had the file but not the entry.
Too bad.
No effect here, I had the file but not the entry.
Right. that's because KDE6 removed setting of icon sizes (see https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://invent.kde.org/plasma/plasma-desktop/-/issues/58).
Something is wrong with Breeze. I don't know why in my case the icon size is that of Fusion. As for config files, KDE has created a total mess inside ~/.config
, as if that folder belongs to it.
IMO, this report can be closed.
Sounds understandable, I'm afraid.
Expected Behavior
The buttons should scale.
Current Behavior
The buttons are way too big.
Steps to Reproduce (for bugs)
I have a 14 inch laptop with a resolution of 3840x2160p. My font settings: My session settings: My /etc/sddm.conf.d/sddm.conf file:
(See EnableHiDPI=true)
Context
Everything works, it just looks unusual.
System Information