]> cloud.milkyroute.net Git - dolphin.git/commit
Clean up hamburger menu and viewport and single-folder context menus
authorNate Graham <nate@kde.org>
Fri, 6 Sep 2019 16:08:58 +0000 (10:08 -0600)
committerNate Graham <nate@kde.org>
Sun, 15 Sep 2019 13:05:50 +0000 (07:05 -0600)
commit0303df092d93a39122fce82aade93d96d52430dc
treeadc2283f26fd5c96eb61613804a0b65ab9f921c5
parentb4188442d184cf8b9a10443adfc3c7e3e88caa80
Clean up hamburger menu and viewport and single-folder context menus

Summary:
Dolphin's hamburger and context menus have grown organically over time,
becoming a bit messy and somewhat visually overwhelming. This makes them
harder to parse and more intimidating to use.

This patch cleans up the hamburger menu and viewport and single-folder context
menus to group items more logically, and remove items that aren't actually relevant
to the context.

The hamburger menu part of the patch is fairly significant, and draws from the
principle of only showing actions with a global scope that are not already accessible
from another visible method (e.g. via the default toolbar). In the end, it manages to be
shorter than the current hamburger menu with expose actions that are more relevant.

A visible method to display context-specific actions should be explored separately
(see https://bugs.kde.org/show_bug.cgi?id=411500).

Depends on D23945

Test Plan:
Before, hamburger menu: {F7334178}
After, hamburger menu: {F7350958}

Before, viewport: {F7324802}
After, viewport: {F7330109}

Before, one folder selected: {F7324798}
After, one folder selected: {F7341163}

No change for the context menus shown when selecting a single item, multiple items, or multiple folders

Reviewers: #vdg, #dolphin, meven, elvisangelaccio, GB_2

Reviewed By: #vdg, #dolphin, meven, elvisangelaccio, GB_2

Subscribers: GB_2, mmustac, elvisangelaccio, meven, ndavis, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D23757
src/dolphincontextmenu.cpp
src/dolphinmainwindow.cpp