Bug 463836

Summary: Minimize window when clicking on its icon if it was the last-active window and isn't active only because a Panel widget is active
Product: [Plasma] plasmashell Reporter: Andres Betts <anditosan1000>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: 5.26.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andres Betts 2023-01-04 14:34:55 UTC
When a window is in fullscreen mode, the user has the option to hit the meta key and reveal the taskbar. If the user clicks the fullscreen application (Currently selected), the taskbar should minimize that window. Currently, it takes the user back to the fullscreen window. This behavior is not consistent with behavior for non-fullscreen windows. The workflow needs to be consistent in spite of the window geometry.
Comment 1 Nate Graham 2023-01-09 19:52:04 UTC
It's because a window only gets minimized when its task is clicked if it's the active window. When you hit the Meta key, Kickoff opens, and from KWin's perspective, Kickoff is now the active window and the window is not active. So clicking on the icon makes the window active, rather than minimizing it because it was already active. You can see this outside of full screen window mode too. Just hit the Meta key and the background of the active task goes into "inactive" state.