Bug 439981

Summary: Widget is broken when placed directly on the panel
Product: [Plasma] Bluedevil Reporter: Riccardo Robecchi <sephiroth_pk>
Component: system trayAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.22.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.4
Attachments: Screenshot of the issue

Description Riccardo Robecchi 2021-07-17 18:05:25 UTC
Created attachment 140144 [details]
Screenshot of the issue

SUMMARY
The widget is broken when placed directly on the panel.

STEPS TO REPRODUCE
1. Place the widget on the panel.
2. Open it.

OBSERVED RESULT
The widget appears too small.

EXPECTED RESULT
The widget has a useable size.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2021-07-17 18:56:38 UTC
Git commit faade374f5462cf5ddd99b4561d72ee47cc0fdef by Nicolas Fella.
Committed on 17/07/2021 at 18:38.
Pushed by ngraham into branch 'master'.

[applet] Give FullRepresentation an implicit size

Otherwise the popup is tiny when using the applet on the desktop or on a panel directly (not in the system tray)

24 grid units was chosen because that's the system tray popup size

M  +3    -0    src/applet/package/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/bluedevil/commit/faade374f5462cf5ddd99b4561d72ee47cc0fdef
Comment 2 Nate Graham 2021-07-17 18:57:16 UTC
Git commit 83b91913d7d5683521f85e9acdc2d7f9c1028573 by Nate Graham, on behalf of Nicolas Fella.
Committed on 17/07/2021 at 18:57.
Pushed by ngraham into branch 'Plasma/5.22'.

[applet] Give FullRepresentation an implicit size

Otherwise the popup is tiny when using the applet on the desktop or on a panel directly (not in the system tray)

24 grid units was chosen because that's the system tray popup size


(cherry picked from commit faade374f5462cf5ddd99b4561d72ee47cc0fdef)

M  +3    -0    src/applet/package/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/bluedevil/commit/83b91913d7d5683521f85e9acdc2d7f9c1028573