D24956: Consider desktop files with NoDisplay attribute
Méven Car
noreply at phabricator.kde.org
Sat Oct 26 08:14:44 BST 2019
meven created this revision.
meven added reviewers: mart, Plasma, fvogt, apol.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.
REVISION SUMMARY
> NoDisplay means "this application exists, but don't display it in the menus". This can be useful to e.g. associate this application with MIME types, so that it gets launched from a file manager (or other apps), without having a menu entry for it (there are tons of good reasons for this, including e.g. the netscape -remote, or kfmclient openURL kind of stuff).
https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
NoDisplay specify to ignore desktop files with no Display in menus. It specifically states that mimetype are a case where an app might be associated with one, but not shown in the menus.
Shortcuts should be treated the same as mimetype association.
To allow cases such as Krunner, where the app won't be in the menu but still needs shortcuts.
Related: D24857 <https://phabricator.kde.org/D24857>
REPOSITORY
R268 KGlobalAccel
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D24956
AFFECTED FILES
src/runtime/globalshortcutsregistry.cpp
To: meven, mart, #plasma, fvogt, apol
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191026/e0fe55c9/attachment.html>
More information about the Kde-frameworks-devel
mailing list