Bug 18608

Summary: Dolphin shows Trash: files origin path wrong if same name file was moved to trash twice
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: UPSTREAM --- QA Contact:
Severity: normal    
Priority: Normal CC: mageia, marja11, ouaurelien
Version: 8Keywords: UPSTREAM
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=366553
Whiteboard:
Source RPM: dolphin-20.12.0-4.mga8.src.rpm CVE:
Status comment:

Description Morgan Leijström 2016-06-02 14:44:22 CEST
This is while using KDE & Dolphin:

1. create file "text" in your home, then "delete" it to trash
 then again:
2. create file "text" in your home, then "delete" it to trash
3. Open trash and see the files listed as:

_File______Folder___
text     /home/user
text(1)  /home/user/text


That "/home/user/text" is plain wrong; the file was not deleted from am folder named text!
(trash folders are listed without trailing dash "/" )

It works correctly; i can restore that text(1) and it ends up as "test" in /home/user/


Quick test using thunar to delete files to trash:
The files in trash is shown by the original name in trash using thunar
  unfortunately it seem thunar can not show source (original file location)
Looking at those files in trash using dolphin they are named like *.2 instead of *(1) (that is irrelevant) but also for them dolphin show wrong path


BTW it is even more confusing if user happen to delete a file named "something (1)" twice, dolphin then list a never existed filename "something (2)" in trash, and say it was deleted from folder "whatever/something (1)"
Marja Van Waes 2016-06-02 14:45:32 CEST

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 1 Morgan Leijström 2016-07-17 02:02:07 CEST
Still valid Plasma 5.7.1-1 , framework 5.24.0-1
Comment 2 Nicolas Lécureuil 2016-07-17 10:33:01 CEST
right, i reproduce too. 

Can you report this bug upstream please ?
Comment 3 Morgan Leijström 2016-08-09 17:04:43 CEST
I created https://bugs.kde.org/show_bug.cgi?id=366553

Keywords: (none) => UPSTREAM

Samuel Verschelde 2016-08-25 16:25:09 CEST

Assignee: mageia => kde

Nicolas Lécureuil 2017-03-30 23:26:38 CEST

See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=366553
CC: (none) => mageia

Comment 4 Aurelien Oudelet 2021-05-17 01:20:13 CEST
(In reply to Morgan Leijström from comment #3)
> I created https://bugs.kde.org/show_bug.cgi?id=366553

Still opened upstream.
Will test this behaviour in next few days with Mageia 8 and Cauldron

Source RPM: dolphin-16.04.1-1.mga6.src.rpm => dolphin-20.12.0-4.mga8.src.rpm
Version: Cauldron => 8
Status: NEW => UPSTREAM
CC: (none) => ouaurelien