Summary: | Dolphin: custom services are not shown in the context menu | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Jayes <pecunia> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | fanzhuyifan, kfm-devel |
Priority: | NOR | Keywords: | qt6 |
Version: | 24.01.95 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | attachment-469801-0.html |
Description
Jayes
2024-02-14 15:57:56 UTC
Sorry, I reported KDE Plasma Version: 6 .... this must be 5.93.0 Thank you for your bug report! What is the output of `qtpaths --locate-dirs GenericDataLocation kio/servicemenus`? These are the directories in which dolphin looks for service menus. https://develop.kde.org/docs/apps/dolphin/service-menus/ Waiting for info (In reply to fanzhuyifan from comment #3) > Waiting for info I have already restored Fedora 39, so I ran the command after booting a Fedora 40 (KDE spin) live iso from usb. $qtpaths --locate-dirs GenericDataLocation kio/servicemenus bash: qtpaths: command not found... (although qt6-qttools is installed) but this works: $/run/media/liveuser/Fedora/bin/qtpaths --locate-dirs GenericDataLocation kio/servicemenus /usr/share/kio/servicemenus $ls /usr/share/kio/servicemenus/ dragonplayer_play_dvd.desktop kgpg_encryptfile.desktop kgpg_viewdecrypted.desktop installfont.desktop kgpg_encryptfolder.desktop konsolerun.desktop So that is correct, but it is not where the user installed sevicemenus are. On Fedora 39 I get the same result, but my (user) services work there. Regards, JS (In reply to Jayes from comment #4) > (In reply to fanzhuyifan from comment #3) > > Waiting for info > > I have already restored Fedora 39, so I ran the command after booting a > Fedora 40 (KDE spin) live iso from usb. > > $qtpaths --locate-dirs GenericDataLocation kio/servicemenus > bash: qtpaths: command not found... > (although qt6-qttools is installed) > > but this works: > > $/run/media/liveuser/Fedora/bin/qtpaths --locate-dirs GenericDataLocation > kio/servicemenus > /usr/share/kio/servicemenus > > $ls /usr/share/kio/servicemenus/ > dragonplayer_play_dvd.desktop kgpg_encryptfile.desktop > kgpg_viewdecrypted.desktop > installfont.desktop kgpg_encryptfolder.desktop konsolerun.desktop > > So that is correct, but it is not where the user installed sevicemenus are. > On Fedora 39 I get the same result, but my (user) services work there. > > Regards, > JS Interesting... So I am on Arch Linux and that command also outputs the directory of user installed servicemenus -- ~/.local/share/kio/servicemenus. Perhaps this is a configuration issue? As per the documentation in https://develop.kde.org/docs/apps/dolphin/service-menus/, the default paths are ~/.local/share/kio/servicemenus /usr/share/kio/servicemenus So using kservices5 and kservecis6 directories seems to be something that distros are responsible for. Maybe you could also try copying things into ~/.local/share/kio/servicemenus to see if that works? I have put it to the test. On Fedora 39 (plasma 5) The services can be in ~/.local/share/kservices5/ (or any subdirectory) The services can NOT be in ~/.local/share/kio/servicemenus/ So Fedora 39 does not follow the KDE guidelines. On Fedora 40 (plasma 6) The services can NOT be in ~/.local/share/kservices5/ (or any subdirectory) The services can INDEED be in ~/.local/share/kio/servicemenus/ So Fedora 40 DOES follow the KDE guidelines. It appears I have reported a bug that was in fact a fix. Sorry for wasting your time, and thanks for your help. JS (In reply to Jayes from comment #6) > I have put it to the test. > > On Fedora 39 (plasma 5) > The services can be in ~/.local/share/kservices5/ (or any subdirectory) > The services can NOT be in ~/.local/share/kio/servicemenus/ > > So Fedora 39 does not follow the KDE guidelines. > > On Fedora 40 (plasma 6) > The services can NOT be in ~/.local/share/kservices5/ (or any subdirectory) > The services can INDEED be in ~/.local/share/kio/servicemenus/ > > So Fedora 40 DOES follow the KDE guidelines. > > It appears I have reported a bug that was in fact a fix. > > Sorry for wasting your time, and thanks for your help. > > JS Thank you for your investigation! Perhaps you might want to share that with the fedora people, if there is some sort of migration guide from plasma 5 to plasma 6 Created attachment 165825 [details] attachment-469801-0.html My thoughts exactly. In april, when people start to upgrade, this should not be an issue. On 2/14/24 8:16 PM, bugzilla_noreply@kde.org wrote: > Perhaps you might want to share that with the > fedora people, if there is some sort of migration guide from plasma 5 to plasma > 6 |