Bug 344795

Summary: Manually hidden plasmoids in the notification tray lack a sidebar
Product: [Plasma] plasmashell Reporter: Anthony Vital <anthony.vital>
Component: System Tray widgetAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, kde, mklapetek
Priority: NOR    
Version: 5.2.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.2.2
Sentry Crash Report:

Description Anthony Vital 2015-03-03 19:38:47 UTC
A new behaviour for plasmoids inside the notification tray was introduced in 5.2. When a plasmoid is visible, if you click on it its panel shows up, but it doesn't have the side bar which shows the other plasmoids. If the plasmoid is hidden, one can click on the arrow, and then click on an item in the list to show the plasmoid, which will be displayed with said sidebar. I understand this is a feature.
The problem is that this behaviour seems to be based on the active/passive status of a plasmoid, meaning it doesn't take into account the auto/hidden/shown directive in the tray settings, and this leads to a visual/behavioural inconsistency.

Reproducible: Always

Steps to Reproduce:
1. Open the notification tray settings, choose "hidden" for the clipboard plasmoid.
2. Copy something in the clipboard.
3. Click on the arrow, then click on the clipboard.

Actual Results:  
The clipboard panel is shown but doesn't have a sidebar.

Expected Results:  
The clipboard panel should have a sidebar.
Comment 1 Bhushan Shah 2015-03-12 04:26:32 UTC
https://git.reviewboard.kde.org/r/122914/
Comment 2 Bhushan Shah 2015-03-12 12:09:35 UTC
Git commit 5b3b84b687a569731a74cc6cfa1284ebb5de169b by Bhushan Shah.
Committed on 12/03/2015 at 12:07.
Pushed by bshah into branch 'Plasma/5.2'.

Take Shown and Hidden status in account when showing sidebar

- if clicked on arrow show sidebar
- if clicked on always hidden applet show sidebar
- if clicked on always shown applet hide sidebar
- in case of passive applet show sidebar
FIXED-IN: 5.2.2

M  +16   -2    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

http://commits.kde.org/plasma-workspace/5b3b84b687a569731a74cc6cfa1284ebb5de169b