Bug 468224 - Changing scale causes widget popups to be resized inappropriately
Summary: Changing scale causes widget popups to be resized inappropriately
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-06 23:31 UTC by fake.name
Modified: 2023-04-19 15:52 UTC (History)
3 users (show)

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


Attachments
Depicts the state of my system tray dropdown menu. (118.18 KB, image/png)
2023-04-06 23:31 UTC, fake.name
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fake.name 2023-04-06 23:31:37 UTC
Created attachment 157910 [details]
Depicts the state of my system tray dropdown menu.

SUMMARY
***
When my global scale is set to 150 -- as works best for my slightly elevated DPI -- the system tray dropdown menu takes up the majority of the screen when opened. See attached photo. The laptop's native resolution is 3:2, 2256x1504.

This is not the case when the same resolution is achieved by setting global scale to 75 % but forcing font DPI up to 192 -- which I'd do, except it plays ball very poorly with GTK-4 apps, which become irretrievably small.

***


STEPS TO REPRODUCE
1. Place system tray applet in latte dock
2. open system tray dropdown
3. frown at the ugliness

OBSERVED RESULT
See attached photo.

EXPECTED RESULT
system tray dropdown menu should be proportional in width to the widget itself, and not use so much blank space.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch, Zen kernel 6.2.9, 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
This all occurs on Wayland. Not sure at present if it occurs on X11, which I don't really use.
Comment 1 Nate Graham 2023-04-10 03:25:08 UTC
In this state, can you resize the popup to be smaller? Or is that its minimum size and you can only make it bigger?

Is this issue present with other resizable panel popups, such as the popups for Kickoff or the Digital Clock?
Comment 2 fake.name 2023-04-10 19:57:45 UTC
(In reply to Nate Graham from comment #1)
> In this state, can you resize the popup to be smaller? Or is that its
> minimum size and you can only make it bigger?
> 
> Is this issue present with other resizable panel popups, such as the popups
> for Kickoff or the Digital Clock?

Color me embarrassed, I didn't realize those COULD resize. That worked. Sorry to waste time here.
Comment 3 Nate Graham 2023-04-11 16:12:47 UTC
Well, the fact that you can resize it doesn't mean that it shouldn't have a better default size. :) The fact that you didn't know you could resize it is actually helpful, and tells me that this isn't user error setting a big size and forgetting about it.

Do yo remember when the initial size of the popup changed? Was it sized properly at 100% scale, then you set the screen to 150% scale, and immediately the popup was too big? Is that how it happened?
Comment 4 fake.name 2023-04-18 17:45:55 UTC
(In reply to Nate Graham from comment #3)
> Well, the fact that you can resize it doesn't mean that it shouldn't have a
> better default size. :) The fact that you didn't know you could resize it is
> actually helpful, and tells me that this isn't user error setting a big size
> and forgetting about it.
> 
> Do yo remember when the initial size of the popup changed? Was it sized
> properly at 100% scale, then you set the screen to 150% scale, and
> immediately the popup was too big? Is that how it happened?

Yes, that's correct. Once global scale was changed the menu was oversized.