| Summary: | desktop files containing f parameter are not shown in service menu when using "system:/" or "media:/" | ||
|---|---|---|---|
| Product: | [Unmaintained] kio | Reporter: | gmud <geroxp> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | adawit, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | konq_popupmenu.cc.diff | ||
Indeed. Can you test this patch? David Faure. Created an attachment (id=20217) konq_popupmenu.cc.diff Does this have to be tested for KDE 4 even though the system:/ no longer exists?? Neither one still exists, in fact. |
Version: 3.5.6 (using KDE KDE 3.5.6) Installed from: Gentoo Packages OS: Linux Steps to reproduce: Create a new service type, e.g. "media/testtype" with extension "*.tt". Make a new servicemenu-entry by creating the following desktop file: [Desktop Entry] Encoding=UTF-8 ServiceTypes=media/testtype Actions=dosomething [Desktop Action dosomething] Name=Do something Icon=media-floppy Exec=/home/user/bin/dosomething.sh %f Now create a file with the extension of the service type ("test.tt"). Open the path containing the file with konqueror not with the real path ("/home/user/"), but with "system:/home". The servicemenu will not be shown unless you replace %f with %u. Expected behaviour: Show konqueror service menu and pass "media:/home/test.tt" as "/home/user/test.tt". Some bash-scripts expect a real path and not soemthing like "system:/path/to/file" or "media:/path/to/file". %f is the only parameter that should do it according to http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html