Bug 438351 - An empty header is shown when widget is placed on the panel
Summary: An empty header is shown when widget is placed on the panel
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (other bugs)
Version First Reported In: 5.22.0
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-09 18:11 UTC by Riccardo Robecchi
Modified: 2021-06-14 22:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.22.1
Sentry Crash Report:


Attachments
Screenshot of the widget (56.31 KB, image/png)
2021-06-09 18:11 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2021-06-09 18:11:14 UTC
Created attachment 139158 [details]
Screenshot of the widget

SUMMARY
When placing the widget directly on the panel, there is a completely empty header that seemingly serves no purpose.

STEPS TO REPRODUCE
1. Place widget on the panel
2. Click on widget

OBSERVED RESULT
There is an empty header.

EXPECTED RESULT
There is no header (or at least not an empty one!).

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.22
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-06-09 22:39:09 UTC
Can reproduce.
Comment 2 Nate Graham 2021-06-14 22:18:59 UTC
Git commit 11a48a7a22547f0d2340c7be644f1bb1a72c3d53 by Nate Graham.
Committed on 14/06/2021 at 22:17.
Pushed by ngraham into branch 'master'.

[applets/devicenotifier] Don't show empty header most of the time

This header needs to be shown only when not in the System Tray and also
when there are multiple  mounted removable devices. That's the only
circumstance under which it actually has anything in it.
FIXED-IN: 5.22.1

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

https://invent.kde.org/plasma/plasma-workspace/commit/11a48a7a22547f0d2340c7be644f1bb1a72c3d53
Comment 3 Nate Graham 2021-06-14 22:19:37 UTC
Git commit 7cffd42b480d5a1dd43703a797104f2dddb567ca by Nate Graham.
Committed on 14/06/2021 at 22:19.
Pushed by ngraham into branch 'Plasma/5.22'.

[applets/devicenotifier] Don't show empty header most of the time

This header needs to be shown only when not in the System Tray and also
when there are multiple  mounted removable devices. That's the only
circumstance under which it actually has anything in it.
FIXED-IN: 5.22.1
(cherry picked from commit 11a48a7a22547f0d2340c7be644f1bb1a72c3d53)

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

https://invent.kde.org/plasma/plasma-workspace/commit/7cffd42b480d5a1dd43703a797104f2dddb567ca