Bug 415477 - Dragged and dropped files from Ark to Dolphin do not land in their expected folder in Details View
Summary: Dragged and dropped files from Ark to Dolphin do not land in their expected f...
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 20.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-12-23 11:27 UTC by postix
Modified: 2022-06-08 09:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the issue. (188.95 KB, image/png)
2019-12-23 11:27 UTC, postix
Details
Screen recording. (809.43 KB, video/mp4)
2019-12-24 12:02 UTC, postix
Details
Screen recording #2. (978.44 KB, video/mp4)
2019-12-24 13:33 UTC, postix
Details
Screen recording (1.49 MB, video/mp4)
2020-07-06 15:47 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2019-12-23 11:27:52 UTC
Created attachment 124666 [details]
Screenshot of the issue.

SUMMARY

In the detailed view, a folder is only highlighted if the mouse directly hovers over the rectangle bounding the icon and the file name.
This is an indicator that this folder will be used. 
If it is not highlighted it should indicate that it's not going to be involved in an action. 

However, dragging and dropping files left to the tree of subfolders, will actually copy them into the subfolder (which is in the same line as the mouse pointer), although it's not highlighted.

It's not quiet easy to undo this unwanted action. Ctrl+R does not work. 

However, if it is actually the intention to drop it into the subfolder, it would be very convenient if the whole line were highlighted.


STEPS TO REPRODUCE
Like in the screenshot:

1. Details view
2. Drag files or folders
3. Drop them left of the tree

OBSERVED RESULT
No subfolder is highlighted.
Files or folders are copied into the subfolder, which is in the same line as the mouse pointer.

EXPECTED RESULT
The files are dropped into the main folder OR the subfolder line is highlighted.
For the latter case, if the files should go to the main folder, the user would need to drop it onto the most right folder of the bread crumb or the user first has to go a level up.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Comment 1 Nate Graham 2019-12-24 03:14:58 UTC
Sorry, I'm having a hard time understanding the issue. Do you think you could attach a screen recording, maybe?
Comment 2 postix 2019-12-24 12:02:29 UTC
Created attachment 124686 [details]
Screen recording.

(In reply to Nate Graham from comment #1)
> Sorry, I'm having a hard time understanding the issue. Do you think you
> could attach a screen recording, maybe?

Sorry if my explanation was so hard to understand. :-(

Today I tried to reproduce it, first with 10 manually created folders and a manually created zip file and the bug just did not want to appear.

Then I tried it again with one of the lecture files and was able to reproduce it again as with all the other lectures.
You can see label in the bottom bar saying "10 folders (Ordner)", which means I have actually not selected any special (sub)folder when I drop the files.
Comment 3 postix 2019-12-24 13:33:14 UTC
Created attachment 124690 [details]
Screen recording #2.

I can now easily reproduce it:

If you try to drop something left to a folder which is _empty_, it's copied to the top folder.
If you try to drop something left to a folder which is _not empty_ it's actually copied into the _not empty_ folder.

Just like in the last attached video.
Comment 4 postix 2020-07-06 15:47:25 UTC
Created attachment 129940 [details]
Screen recording

This is actually pretty annoying. Once in a while it happens that I copy all content of a big zip file with many files and folders into the wrong folder, because Dolphin does not pick the right destination.

Please see again the following screen recording, where I created a sample folder and ZIP file.
Comment 5 postix 2020-07-06 15:48:56 UTC
At 0:28 in the video above, which destination is meant to be overwritten actually? ;)
Comment 6 postix 2022-06-08 09:10:31 UTC
The issue was about dragging and dropping a file into a folder "A", whose content Dolphin detail's view shows.
When A contains however so many folders that there's no  free space available in the view to drop into directly into A, the dropped file will end up in any of A's subfolders.

I'd guess the best workaround is navigate a folder up and to drop it there onto the destination folder A.