Bug 449053 - Disks and devices: Wrong size if added as standalone applet to top bar
Summary: Disks and devices: Wrong size if added as standalone applet to top bar
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (show other bugs)
Version: 5.23.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 08:50 UTC by K Freed
Modified: 2022-06-08 17:21 UTC (History)
1 user (show)

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


Attachments
Incorrect size for disks and devices applet. Applet MUST be added by itself for this to happen (55.31 KB, image/png)
2022-01-24 08:50 UTC, K Freed
Details
Correct size for disks and devices applet. This occurs when adding it to system tray. (150.28 KB, image/png)
2022-01-24 08:51 UTC, K Freed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K Freed 2022-01-24 08:50:29 UTC
Created attachment 145840 [details]
Incorrect size for disks and devices applet. Applet MUST be added by itself for this to happen

SUMMARY
Kde's "Disks and Devices" applet is the wrong size if added by itself to a top status bar. See screenshots for details. It is the correct size if added via the system tray


STEPS TO REPRODUCE
1.  Enter top panel edit mode
2. Add widget "disks and devices"
3. Attempt to view connected disks

OBSERVED RESULT
Size is correct as observed when added via system tray

Size is incorrect; text and icons are impossible to read when added by itself

EXPECTED RESULT

Size is correct as observed when added via system tray

System Informations:

Operating System: Garuda Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.2-zen1-1-zen (64-bit)
Graphics Platform: X11
Comment 1 K Freed 2022-01-24 08:51:25 UTC
Created attachment 145841 [details]
Correct size for disks and devices applet. This occurs when adding it to system tray.
Comment 2 Nate Graham 2022-06-08 17:20:34 UTC
Git commit f3186ab124410e179fc07ddd8d663c40ff13f12b by Nate Graham.
Committed on 08/06/2022 at 17:19.
Pushed by ngraham into branch 'master'.

applets/devicenotifier: increase minimum size

gridUnit * 12 is too small and causes things to get cut off.
FIXED-IN: 5.26

M  +2    -2    applets/devicenotifier/package/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/commit/f3186ab124410e179fc07ddd8d663c40ff13f12b
Comment 3 Nate Graham 2022-06-08 17:21:10 UTC
I've increased the minimum size so that the text labels are never completely cut off, but additionally, in Plasma 5.26 you can resize the popup yourself to find the right size for you.