Panel with hidden system tray icons should close when user clicks on task manager. Reproducible: Always Steps to Reproduce: 1. Click on the arrow to see the hidden system tray icons 2. Click on an empty area of your task manager Actual Results: "Status and Notifications" doesn't go away, even if you right-click on the task manager and open it settings. The panel is only hidden if you click on the arrow again, or if you change the focus to another application. Expected Results: A left click on an empty area of the task manager should be enough for the "Status and Notifications" to be closed, since it indicates that the user doesn't want to see or click on any displayed icon.
since the panel window doesn't accept focus, i am not sure if it could be done
This is generally the behavior with the left-click dropdowns of plasmoids in panels. Maybe the title should be edited?
Also popup doesn't disappear after immediate right clicking anywhere on the panel Plasma: 5.12.2 Apps: 17.12.2 Frameworks: 5.43.0 Qt: 5.10.1 Kernel: 4.14.20-2-MANJARO OS: Netrunner Rolling
*** Bug 418048 has been marked as a duplicate of this bug. ***
*** Bug 455950 has been marked as a duplicate of this bug. ***
This is being discussed at https://invent.kde.org/plasma/plasma-desktop/-/issues/40.
*** Bug 424443 has been marked as a duplicate of this bug. ***
*** Bug 453596 has been marked as a duplicate of this bug. ***
*** Bug 478218 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3815
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3861
Git commit 5f7fd94fccbce316bdb6f723a3b0f332a39f2d3f by David Edmundson. Committed on 15/02/2024 at 10:58. Pushed by davidedmundson into branch 'master'. panelview: Take focus from other Plasma windows when clicked PanelView is a special case of a window, it is clickable, but it doesn't take focus. If we're interacting with other plasma components and a user clicks the panel we still want focus to be drawn from those other components. This patch makes PanelView fake focus out events. PanelView still does not take focus, but any windows that close on focus out will work appropriately. FIXED-IN: 6.0 M +11 -0 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/5f7fd94fccbce316bdb6f723a3b0f332a39f2d3f
Git commit d942456b2aa08eaa1bc6e6bece0b2c04e4ad4223 by David Edmundson. Committed on 15/02/2024 at 11:34. Pushed by davidedmundson into branch 'Plasma/6.0'. panelview: Take focus from other Plasma windows when clicked PanelView is a special case of a window, it is clickable, but it doesn't take focus. If we're interacting with other plasma components and a user clicks the panel we still want focus to be drawn from those other components. This patch makes PanelView fake focus out events. PanelView still does not take focus, but any windows that close on focus out will work appropriately. FIXED-IN: 6.0 (cherry picked from commit 5f7fd94fccbce316bdb6f723a3b0f332a39f2d3f) M +11 -0 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/d942456b2aa08eaa1bc6e6bece0b2c04e4ad4223
Git commit ec9daf96220022d99a310ef0bb39723c472f6fe5 by Fushan Wen, on behalf of David Edmundson. Committed on 25/02/2024 at 17:22. Pushed by fusionfuture into branch 'master'. Revert "panelview: Take focus from other Plasma windows when clicked" Panel has additional requirements, we do not want to close popups when moving between system tray items. This reverts commit 5f7fd94fccbce316bdb6f723a3b0f332a39f2d3f. Related: bug 481671 M +0 -11 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/ec9daf96220022d99a310ef0bb39723c472f6fe5
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3974
Git commit d09d50c3664efacf3bf8c7f2effe338a05cb816c by Fushan Wen, on behalf of David Edmundson. Committed on 25/02/2024 at 17:22. Pushed by fusionfuture into branch 'Plasma/6.0'. Revert "panelview: Take focus from other Plasma windows when clicked" Panel has additional requirements, we do not want to close popups when moving between system tray items. This reverts commit 5f7fd94fccbce316bdb6f723a3b0f332a39f2d3f. Related: bug 481671 (cherry picked from commit ec9daf96220022d99a310ef0bb39723c472f6fe5) M +0 -11 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/d09d50c3664efacf3bf8c7f2effe338a05cb816c
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4014
Git commit afc1cffba497ed8352aeed2870f17250237d5a41 by David Edmundson. Committed on 07/03/2024 at 14:51. Pushed by davidedmundson into branch 'master'. panelview: Take focus from other Plasma windows when clicked PanelView is a special case of a window, it is clickable, but it doesn't take focus. If we're interacting with other plasma components and a user clicks the panel we still want focus to be drawn from those other components. This patch makes PanelView fake focus out events. PanelView still does not take focus, but any windows that close on focus out will work appropriately. FIXED-IN: 6.1 M +17 -1 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/afc1cffba497ed8352aeed2870f17250237d5a41