Bug 367815 - Panel's widgets' expanded representations should close when user clicks on an empty area of the task manager
Summary: Panel's widgets' expanded representations should close when user clicks on an...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.10.1
Platform: Neon Linux
: HI wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 418048 424443 453596 455950 478218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-25 19:54 UTC by KDE Neon user
Modified: 2024-03-07 15:08 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KDE Neon user 2016-08-25 19:54:38 UTC
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.
Comment 1 Marco Martin 2016-08-26 11:05:47 UTC
since the panel window doesn't accept focus, i am not sure if it could be done
Comment 2 Nikolaos Kakouros 2017-02-10 10:29:08 UTC
This is generally the behavior with the left-click dropdowns of plasmoids in panels. Maybe the title should be edited?
Comment 3 Alexander Mentyu 2018-02-26 15:03:52 UTC
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
Comment 4 Nate Graham 2020-02-24 05:16:38 UTC
*** Bug 418048 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2022-07-05 15:19:16 UTC
*** Bug 455950 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-07-05 15:19:36 UTC
This is being discussed at https://invent.kde.org/plasma/plasma-desktop/-/issues/40.
Comment 7 Nate Graham 2023-09-18 20:37:57 UTC
*** Bug 424443 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-09-18 20:58:15 UTC
*** Bug 453596 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2023-12-07 23:03:57 UTC
*** Bug 478218 has been marked as a duplicate of this bug. ***
Comment 10 Bug Janitor Service 2024-01-23 23:08:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3815
Comment 11 Bug Janitor Service 2024-02-04 10:17:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3861
Comment 12 David Edmundson 2024-02-15 10:58:27 UTC
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
Comment 13 David Edmundson 2024-02-15 11:35:03 UTC
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
Comment 14 Fushan Wen 2024-02-25 17:22:24 UTC
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
Comment 15 Bug Janitor Service 2024-02-25 17:22:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3974
Comment 16 Fushan Wen 2024-02-25 17:44:57 UTC
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
Comment 17 Bug Janitor Service 2024-03-07 13:24:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4014
Comment 18 David Edmundson 2024-03-07 15:08:24 UTC
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