-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fancy Menu: Problem with Breeze and HiDPI scaling #2077
Comments
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 ( |
Interesting, any idea why this might be? |
Yes, there is definitely scaling. |
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.
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. |
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. |
Now I am confused ;) @libalis says there is definitely a scale factor, while you say there isn't. Have I misread a comment? |
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: lxqt/lxqt#1525 (comment) 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 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: Nothing seems related to scaling, it's just a different default." |
I know that you quoted it from your KDE report.
|
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 If
|
I didn't even have the file and unfortunately this didn't change anything for me. |
No effect here, I had the file but not the entry. |
Too bad. |
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 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
The text was updated successfully, but these errors were encountered: