Bug 417425 - Some UI elements are oddly scaled (menu, krunner, notifications)
Summary: Some UI elements are oddly scaled (menu, krunner, notifications)
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (other bugs)
Version First Reported In: 5.18.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: visual-design
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-02-11 15:16 UTC by Jeffrey Bouter
Modified: 2020-08-23 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
krunner too big (40.77 KB, image/png)
2020-02-11 15:16 UTC, Jeffrey Bouter
Details
panel edit buttons too big (5.45 KB, image/png)
2020-02-11 15:16 UTC, Jeffrey Bouter
Details
latte settings too big (95.36 KB, image/png)
2020-02-11 15:17 UTC, Jeffrey Bouter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Bouter 2020-02-11 15:16:30 UTC
Created attachment 125844 [details]
krunner too big

SUMMARY

After upgrading my KDE Neon install on 2020-02-10, some things have been seeming off regarding the plasma desktop. Speficially:

* Krunner seems "too big"
* Sliders in Latte dock configuration are too big
* Panel edit buttons are too big
* Menu items seem too big (especially the bright blue line around the "search" box)

At this point, I am not sure if this happens because of scaling. The odd thing, however, is, that it does not occur on my laptop's scaled screen. Only when I am using external unscaled screens (with the laptop screen turned off).

It seemingly affects plasma 5.17.5 and plasma 5.18

STEPS TO REPRODUCE
1. Use an unscaled display (with a scaled display turned off?)
2. Configure to use the Breeze Dark plasma style
3. Start krunner

OBSERVED RESULT

Items (especially buttons) seem too big


EXPECTED RESULT

Items (especially buttons) are of normal size


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User Edition

KDE Plasma Version: 5.18
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION

I have moved away ~/.config in its entirety, and everything was restored to normal. The moment I apply the "Breeze Dark" plasma style, the bug occurs again.

Screenshots have been attached and are available on imgur:
https://imgur.com/a/wUJ7GgG

I've also created a forum post regarding this issue because initially thought (and am still not confident it isn't) an issue on my end:

https://forum.kde.org/viewtopic.php?f=17&t=164516&p=428257#p428257
Comment 1 Jeffrey Bouter 2020-02-11 15:16:53 UTC
Created attachment 125845 [details]
panel edit buttons too big
Comment 2 Jeffrey Bouter 2020-02-11 15:17:11 UTC
Created attachment 125846 [details]
latte settings too big
Comment 3 Nate Graham 2020-02-11 17:41:00 UTC
Are you using a fractional scale factor and/or forcing the font DPI to some non-default value? Are you using a high DPI screen?
Comment 4 Jeffrey Bouter 2020-02-11 17:49:48 UTC
(In reply to Nate Graham from comment #3)
> Are you using a fractional scale factor and/or forcing the font DPI to some
> non-default value? Are you using a high DPI screen?

I am not using fractional scaling. It occurs on a non-scaled external display (scaling set to 1). It does not occur on my XPS15's internal HiDPI (scaling x2) display.

It only occurs when using the Breeze Dark plasma theme.
Comment 5 Jeffrey Bouter 2020-02-11 17:50:44 UTC
> It only occurs when using the Breeze Dark plasma theme.

Or rather, it does *not* occur when using the regular/default Plasma theme. I've been able to reproduce it on 3rd party themes as well.
Comment 6 Jeffrey Bouter 2020-02-11 20:22:12 UTC
Interestingly, it does not occur when using plasma's new feature to have the Plasma Theme adapt to the Colour Scheme.

Broken:
Selecting the "Breeze Dark" Plasma Style

Works:
Selecting "Breeze" Plasma Style and using the Breeze Dark colourscheme
Comment 7 Nate Graham 2020-02-11 21:26:34 UTC
Very strange, thanks. Cannot reproduce when using Breeze dark at 1x, FWIW.
Comment 8 Jeffrey Bouter 2020-02-12 06:50:25 UTC
(In reply to Nate Graham from comment #7)
> Very strange, thanks. Cannot reproduce when using Breeze dark at 1x, FWIW.

That's odd indeed. How can I assist with providing more information? Must be the combination with scaling then.
Comment 9 Nate Graham 2020-07-24 19:03:28 UTC
Can you try two things:

1. clear the plasma SVG cache and then restart plasmashell (`rm ~/.cache/plasma*; plasmashell --replace`)

2. If that doesn't fix it, try enabling Qt scaling, like so:

```
export PLASMA_USE_QT_SCALING=1
rm ~/.cache/plasma*; plasmashell --replace
plasmashell --replace
kwin_x11 --replace

```

Can you let me know if either of those fix the problem (assuming you're still experiencing it)?
Comment 10 Bug Janitor Service 2020-08-08 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2020-08-23 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!