Summary: | delete entry is shown in the context menu when using desktop: | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Christian Trippe <christiandehne> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gkaukola |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Working for me on Dolphin 2.1 (Chakra). |
Description
Christian Trippe
2009-12-01 21:16:48 UTC
It looks like KUrl::isLocalFile(), which is called by DolphinContextMenu::insertDefaultItemActions(), returns false for the desktop protocol. When false is returned only delete is shown in the menu. #kde-devel advised against adding a check for the "desktop" url scheme to KUrl::isLocalFile(), as that isn't how it should function. KFileItem::mostLocalUrl() would probably do the trick on a desktop:/ type, but it's unclear to me at this point as to how I'd use that when all I have is a KUrl object. Posted a potential fix to the review board: http://reviewboard.kde.org/r/3578/ Resetting assignee to default as per bug #305719 Created attachment 74821 [details]
Working for me on Dolphin 2.1 (Chakra).
It's indeed fixed also for me. (However I cannot find the show delete entry in context menu in dolphin any longer, it only seems to be available in konqueror, but that's another bug/or by design.) |