Bug 353752

Summary: Rigth click on task in taskmanager and click to other cause activate minized on prev
Product: [Plasma] plasmashell Reporter: Anthony Fieroni <bvbfan>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anthony Fieroni 2015-10-10 10:11:23 UTC
Right click on task in taskmanager, perform maximize, move mouse cursor away, icon stay still active, then click on other task.

Reproducible: Always

Steps to Reproduce:
1.Right click on task in taskmanager
2.In context menu perform action, no matter what, in this case maximize
3.Move mouse cursor away (do no perform click action)
4.Icon stay still active and highlighted
5. Left click on other task in taskamanager
6. Prev task is minimize like action is performed for him

Actual Results:  
Minimize action on prev task is unwanted behavior.

Expected Results:  
When loose focus icon to be NOT highlighted and when left click action is performed on other task, prev to be NOT minimized.
Comment 1 Eike Hein 2015-10-14 22:32:07 UTC
Git commit 6c82a2da365d83a01e21d138a64b8e7864df6c72 by Eike Hein.
Committed on 14/10/2015 at 22:30.
Pushed by hein into branch 'Plasma/5.4'.

Fix Task Manager mouse handling state corruption.

Same fix as 1794d3c43f in plasma-framework.

M  +28   -0    applets/taskmanager/plugin/backend.cpp

http://commits.kde.org/plasma-desktop/6c82a2da365d83a01e21d138a64b8e7864df6c72
Comment 2 Anthony Fieroni 2015-10-31 18:54:46 UTC
Same issue with widgets and system tray placed in the panel.
Comment 3 Anthony Fieroni 2015-10-31 18:58:05 UTC
I mean same patch must be applyed to systray and widgets added to the panel.
Comment 4 Anthony Fieroni 2015-11-07 15:44:39 UTC
This patch is ugly.
1. Right click on item in task manager
2. Item is highlighted
3. Perform click out of context menu
4. Contex menu is closed, but item is still highlighted
Comment 5 Eike Hein 2016-01-27 17:30:53 UTC

*** This bug has been marked as a duplicate of bug 356018 ***