Add 'Documentation' category to the Application menus
AbandonedPublic

Authored by yurchor on Jun 20 2018, 5:14 AM.

Details

Reviewers
None
Group Reviewers
Plasma: Workspaces
Summary

In the distributions with installable documentation (like Mageia), it is not possible to reach it from the Application Menu.

All installed desktop files with "Categories=Documentation;" are not displayed in the menu unlike the other DEs (Xfce). It can be because of the lack of "kf5-documentation.directory" file in the /menu/desktop of plasma-workspace repo.

BUG: 395580

Test Plan

In Mageia (6 or the current Cauldron) with installed Installer or MCC docs, copy kf5-documentation.directory into /usr/share/desktop-directories/

Diff Detail

Repository
R120 Plasma Workspace
Lint
Lint Skipped
Unit
Unit Tests Skipped
yurchor created this revision.Jun 20 2018, 5:14 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 20 2018, 5:14 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
yurchor requested review of this revision.Jun 20 2018, 5:14 AM
mart added a subscriber: mart.Jun 20 2018, 8:34 AM

good idea but a bit on the fence on this.. is something that is definitely useful, but for a short time.. i see the user wanting to eventually remove this after having used said distro for enough time and feeling to have learned it

Please replace BUG: https://bugs.kde.org/show_bug.cgi?id=395580 with BUG: 395580. See https://community.kde.org/Infrastructure/Phabricator#Add_special_keywords

yurchor edited the summary of this revision. (Show Details)Jun 20 2018, 3:20 PM
hein added a subscriber: hein.Jun 20 2018, 4:16 PM

I can see Marco's point, so I can't be the tie-breaker. Other opinions?

mart added a comment.Jun 22 2018, 8:53 AM

probably in this case the distro should put an entry in the menu offering to uninstall that package.. tough for that we have to rely on the distro

In D13625#281596, @mart wrote:

probably in this case the distro should put an entry in the menu offering to uninstall that package.. tough for that we have to rely on the distro

Actually, the corresponding .desktop file is a part of the documentation package. It is enough to uninstall all those packages to get rid of the menu item as well.

On the other hand, if someone wants to add their docs (links, desktop files, pdf documents) to this menu it is up to they to remove the manually added items from the menu.

mart added a comment.Jun 25 2018, 9:34 AM

anyways, the patch is fine for me

yurchor abandoned this revision.Sep 12 2018, 5:45 AM

The problem can be solved on the distribution level:

https://bugs.mageia.org/show_bug.cgi?id=19532#c5