D13880: [KMoreTools] Reduce menu hierarchy
gregormi
noreply at phabricator.kde.org
Fri Jul 6 01:04:03 BST 2018
gregormi added a comment.
> You are the most awesome person in the world today.
+1 :-)
> Pro: Very flat hierarchy, code could be simplified a lot
> Con: Unwanted and uninstalled tools would be present all the time.
Exactly my thoughts. The idea behind the More menu was to hide (a potentially large number) of alternative programs which are not installed and not needed for the user. And even if there is only one alternative not installed program which the user does not want to use, always showing a "Install XYZ" seems a bit obtrusive to me.
> https://phabricator.kde.org/D13880#286937
+1 for your suggestions. Downside: higher implementation effort.
A bit of history: When I was creating the More submenu and the Configure... item I was pondering a thing: I was (and still am) not so glad about those two items because they are seldom used but always present in the menu. Back then, I thought about adding a keyboard modifier (like the Shift key) which must be pressed to let the Configure... item appear (similar to the context menu in Windows Explorer where the Shift key let more advanced items appear like Run as admin... etc.). I discarded the idea because of its hard discoverability.
Another alternative would be to somehow hook the Configuration of KMoreTools menus in the host applications main Configure... dialog. Downside: configuration is far away from the actual menu.
It would be cool if instead of the text "Configure..." or "More" there would be a small gear icon that does not take the space of a whole menu item. I suspect this is not possible with QMenus.
REPOSITORY
R304 KNewStuff
REVISION DETAIL
https://phabricator.kde.org/D13880
To: nicolasfella, gregormi, dhaumann, ngraham
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180706/22fa6de7/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list