Bug 269096 - Del key always moves to trash even if it cannot
Summary: Del key always moves to trash even if it cannot
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 262953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-22 01:15 UTC by Kai Uwe Broulik
Modified: 2012-01-14 19:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2011-03-22 01:15:54 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

On my FTP there are some weird permissions, so I don‘t have permissin to write on the root directory but on sub directories. Whenever I want to delete a file on the root level, its context menu shows “Delete [Shift+Del]” which would be fine.
When pressing Del key, however, which I am used, the correct Delete dialog pops up but after dismissing that dialog, a message appears: “Cannot move to trash:/”. When I press Shift+Del the file get deleted just fine.

Reproducible: Sometimes
Comment 1 Kai Uwe Broulik 2011-04-11 01:05:20 UTC
*** Bug 262953 has been marked as a duplicate of this bug. ***
Comment 2 Baconmon 2011-09-02 22:24:43 UTC
This happens with my KDE 4.6.5 also..
Except I always use the mouse right-click context menu to delete files..

I am on my desktop computer, and use samba connection in dolphin to manage files on my laptop with out having to switch back and forth between computers, and when the context menu comes up, it says "Delete" but when I click that, the dialog that comes up asking if I am sure has two buttons that say "Move to trash" and "Cancel".. And of course it errors if I choose trash because it is a remote connection..

If the original context menu says "Delete", then the confirmation dialog should not switch to "trash" when it comes up.. That makes no sense.. Whether they say delete or trash, the context menu and confirmation dialog should both say the same thing..
Comment 3 Peter Penz 2012-01-14 19:05:54 UTC
Git commit db03ca88fa8634e6da1773213cac05207ac3627b by Peter Penz.
Committed on 14/01/2012 at 20:02.
Pushed by ppenz into branch 'KDE/4.8'.

Fix issue when deleting items with the context menu

Thanks to Jekyll Wu for the analyses of the issue!
Related: bug 290307, bug 290954, bug 264583
FIXED-IN: 4.8.0

M  +10   -6    dolphin/src/dolphincontextmenu.cpp
M  +11   -3    dolphin/src/dolphincontextmenu.h

http://commits.kde.org/kde-baseapps/db03ca88fa8634e6da1773213cac05207ac3627b
Comment 4 Peter Penz 2012-01-14 19:06:25 UTC
Git commit 41c2957f9b17bfa6d9394329800c8d4ed7e20749 by Peter Penz.
Committed on 14/01/2012 at 20:02.
Pushed by ppenz into branch 'master'.

Fix issue when deleting items with the context menu

Thanks to Jekyll Wu for the analyses of the issue!
Related: bug 290307, bug 290954, bug 264583
FIXED-IN: 4.8.0

M  +10   -6    dolphin/src/dolphincontextmenu.cpp
M  +11   -3    dolphin/src/dolphincontextmenu.h

http://commits.kde.org/kde-baseapps/41c2957f9b17bfa6d9394329800c8d4ed7e20749