Bug 405071

Summary: Improve context menu UX
Product: [Plasma] plasmashell Reporter: Richard Llom <richard.llom>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: bugseforuns, nate, plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.16
Attachments: Mockup of proposed changes

Description Richard Llom 2019-03-04 12:19:54 UTC
Created attachment 118528 [details]
Mockup of proposed changes

When right-clicking on an window in the task manager widget, the context menu contains the entries "Minimize" and "Maximize".

However one can already toggle between minimize and maximize by just left-clicking on the window icon. Furthermore shortcuts are also available for these action.

Hence I don't think the prominent placement of these action is justified. For the rare cases these actions is needed I think it is sufficient to place it in the submenu under "More Actions".

At the same time I also suggest to rename "More Actions" to "Window Actions", so it is more clear to what this submenu refers.


Attached is a mockup of the changes, which also includes my other proposals in an effort to focus this context menu on the task the user actually wants to perform.
Comment 1 Nate Graham 2019-03-04 14:16:23 UTC
Seems reasonable. I'll see what I can do.
Comment 2 Nate Graham 2019-03-13 20:54:36 UTC
Git commit 1daf42d9d734f969c31016825d8a7a93a6f95fbb by Nate Graham.
Committed on 13/03/2019 at 20:54.
Pushed by ngraham into branch 'master'.

[Task Manager] Reorganize and improve presentation of context menu

Summary:
This patch improves the UX of the Task Manager's context menu by offering more
logical separation and grouping of elements, improving strings, and adding or changing
icons, as appropriate. The result hopefully feels more harmonious, less confusing, and
less intimidating.
Related: bug 405040, bug 405070, bug 405065
FIXED-IN: 5.16

Test Plan:
"Window Actions" sub-menu: {F6688726}

With places: {F6688732}

With just actions: {F6688733}

With many actions: {F6688743}

With virtual desktops and activities: {F6688748}

Reviewers: #plasma, #vdg, ndavis, hein

Reviewed By: #plasma, #vdg, ndavis, hein

Subscribers: abetts, broulik, ndavis, trickyricky26, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19606

M  +189  -170  applets/taskmanager/package/contents/ui/ContextMenu.qml
M  +1    -0    applets/taskmanager/plugin/backend.cpp

https://commits.kde.org/plasma-desktop/1daf42d9d734f969c31016825d8a7a93a6f95fbb
Comment 3 Christoph Feck 2019-03-31 10:35:06 UTC
> However one can already toggle between minimize and maximize by just left-clicking on the window icon.

This does not work with grouped windows, see bug 366732.