Version: 1.3 (using 4.3.1 (KDE 4.3.1) "release 9", KDE:KDE4:STABLE:Desktop / openSUSE_11.2) Compiler: gcc OS: Linux (i686) release 2.6.31.5-0.1-default 1) disable 'show delete menu' in dolphin 2) access some filed via desktop: in the url bar 3) find the 'delete' entry in the context menu This works correctly when accessing this files via /home/user/Desktop/, e.g. no 'delete' entry is shown There is a downstream bug (for KDE 4.1 but the beahviour is the same with 4.3) at https://bugzilla.novell.com/show_bug.cgi?id=552631 including a video, showing the behaviour.
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.)