Bug 453206 - Paste option in context menu does not work in details mode
Summary: Paste option in context menu does not work in details mode
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 22.04.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 19:11 UTC by Efe Ciftci
Modified: 2022-08-17 07:15 UTC (History)
4 users (show)

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


Attachments
Details mode context menu options in Dolphin 22.04 (76.38 KB, image/png)
2022-04-29 19:11 UTC, Efe Ciftci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Efe Ciftci 2022-04-29 19:11:13 UTC
Created attachment 148463 [details]
Details mode context menu options in Dolphin 22.04

SUMMARY
After upgrading Dolphin to 22.04, the ability to paste a previously cut/copied file/directory via context menu in details mode got broken.

STEPS TO REPRODUCE
1. Switch Dolphin to details view mode.
2. Cut or copy a file from a directory.
3. Navigate to another directory and;
3a. right click over an empty space belonging to a directory row to open the context menu (Screenshot "A" in the attached file).
3b. right click over an empty space belonging to a file row to open the context menu (Screenshot "B" in the attached file).

OBSERVED RESULT
3a. The file is not pasted into the current directory (or the directory in the row) when "Paste One File" option is selected.
3b. Paste option does not appear in the context menu at all.

EXPECTED RESULT
As in all previous versions of Dolphin, the file should be pasted into the directory when "Paste One File" option is clicked in any space in details mode except the list of file/directory names.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.24
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
KDE Gear Version: 22.04.0
I believe this is a regression caused by the "Full row highlight implementation" MR. The previously available freedom to use any empty space in details mode is gone now and either the new, narrow leading column paddings or the empty space at the end of the list (if the window is tall enough) should be seeked instead.
Comment 1 Ivan 2022-05-04 08:11:49 UTC
I confirm the regression reported by Efe Ciftci.
The problem started with the first release of KDE Gear 22.04
Comment 2 Ivan 2022-05-05 14:20:37 UTC
The problem has been solved by last plasma update provided by neon packages on 4 May 2022
Comment 3 Efe Ciftci 2022-05-05 17:47:09 UTC
I've checked for and installed all updates available with all methods I'm aware of (apt, pkcon, Discover); my system currently has the following versions of KDE software installed:
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
KDE Gear Version: 22.04.0

But the regression is still here.
Comment 4 Ivan 2022-05-05 18:09:09 UTC
I'm sorry you're right, I probably did a quick test and put the mouse pointer on a line relative to a folder which as you indicated offers the paste command.
Comment 5 vindicator 2022-05-25 02:14:35 UTC
I have that same experience and also noticed that if the folder has other folders as well and you context-menu in an open area for any of the folders (instead of files), the paste option will show.

So for now, I have to have the destination folder open in another tab and drag it there, or just use the shortcut CTRL+V which is probably better to do anyway except for needing to switch between keyboard/mouse.
Comment 6 Attila 2022-07-15 06:52:49 UTC
I can confirm this bug on Fedora 36, Dolphin 22.04.1. The "Paste One File" option does not appear in the context menu.
It is definitely caused by the "Full row highlight implementation". Even "drag and drop" has a malfunction. Let's say I started Dolphin twice. When I drag a file from one "Dolphin" to another and drop the file in a row which shows a directory, the file will be copied accidently to that directory.
Comment 7 Ivan 2022-07-15 08:08:16 UTC
The problem is no longer present in plasma 5.25.3, kde frameworks 5.69.0, Qt Version 5.15.5
Comment 8 Attila 2022-07-15 09:10:29 UTC
(In reply to Ivan from comment #7)
> The problem is no longer present in plasma 5.25.3, kde frameworks 5.69.0, Qt
> Version 5.15.5

Okay, the "Paste One File" option appears again, but it doesn't paste the file under certain conditions. Right click over an empty row works. Right click over a directory row or file row doesn't work.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.3
Kernel Version: 5.18.11-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 9 Attila 2022-08-04 09:19:53 UTC
It doesn't work for me.
The option "Paste One File" in the context menu doesn't appaer on right click over a file. If clicked over a directory, the file wil be copied into that directory.
It works on right click over an empty row.
There is no empty row in case of large directories with many files. So the option "Paste One File" in the context menu will never appear. "Ctrl + v" works always.
Sorry to say, but it was a bad idea to make the whole row clickable in my opinion. Copying has become more complicated.

Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.15-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
Comment 10 Attila 2022-08-17 07:15:16 UTC
I have made the experience that copying files is pretty complicated and not intuitive since the "Full row highlight implementation" was introduced.
An Example: I want to copy a file by drag and drop into a folder which contains only subfolders. The file will be copied into the subfolder on which I drop the file instead of the folder which is displayed in the location bar.

To the developers: Set up Dolphin to "details mode". Launch systemsettings, go to "Workspace Behavior", "General Behavior" and tick the radio button "Clicking files or folder -> Opens them". Now play around with Dolphin and tell me your expirience.

Please reconsider the "Full row highlight implementation". Why so compicated?