| Summary: | Inconsistencies when clicking on tray titles | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Sefa Eyeoglu <contact> |
| Component: | System Tray widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | materka, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.14.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/1669197b33f388b9a4d7f8fae66d725c62d026ee | Version Fixed/Implemented In: | 5.20 |
| Sentry Crash Report: | |||
|
Description
Sefa Eyeoglu
2018-12-29 17:38:21 UTC
Confirmed the steps to reproduce with 5.14.4 and git master I tested it with 5.16.3, sometimes it goes to "more" menu as expected, sometimes it just closes. Looks random. There is a race condition in the code:
1. ExpandedRepresentation.qml, line 84 - hides applet, shows dialog with hidden ("more") items
2. PlasmoidItem.qml, line 81 - hides dialog with hidden ("more") items when applet is hidden
It is random, to reproduce:
1. open applet from the system tray and click on the title
2. repeat point 1 several times to get different outcomes (there is no need to open different applet)
Even without race condition title click behavior is inconsistent:
1. When there are no hidden items click on the title will show empty list
2. Why should it go to hidden items, even if you click on active one?
Git commit 1669197b33f388b9a4d7f8fae66d725c62d026ee by Nate Graham. Committed on 10/06/2020 at 13:35. Pushed by ngraham into branch 'master'. [applets/systemtray] Use a grid for the hidden items view This improves the applet in a variety of ways: - Much more touch friendly than the current skinny list view - Many more items can be displayed without needing to scroll - Substantial code simplification - UI improvement from no longer sometimes showing an awkward vertical strip of icons that was invisibly scrollable but some of whose items ate scroll events, and which pushed the header over to the left in a somewhat random-looking way FIXED-IN: 5.20 M +7 -16 applets/systemtray/package/contents/ui/CurrentItemHighLight.qml M +64 -97 applets/systemtray/package/contents/ui/ExpandedRepresentation.qml M +16 -19 applets/systemtray/package/contents/ui/HiddenItemsView.qml M +27 -10 applets/systemtray/package/contents/ui/items/AbstractItem.qml M +0 -1 applets/systemtray/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/1669197b33f388b9a4d7f8fae66d725c62d026ee |