Bug 457765 - "Copy" action in context menu always copies the path of the leaf node folder, not the path of the folder you right-clicked on
Summary: "Copy" action in context menu always copies the path of the leaf node folder,...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (show other bugs)
Version: 5.96.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 15:49 UTC by spamless.9v5xj
Modified: 2022-08-11 21:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Arrows to indicate issue (2.12 MB, image/jpeg)
2022-08-11 15:49 UTC, spamless.9v5xj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spamless.9v5xj 2022-08-11 15:49:29 UTC
Created attachment 151254 [details]
Arrows to indicate issue

The context menu when right clicking the location bar has a "Copy" option which always copies the entire path even though further options below to "Open in new tab/window" suggest it will copy the partial path (there is a separator, but other parts of Dolphin use it for categorization so it's not distinct enough). Also there is no quick way to copy a partial file path.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Sorry for the crappy picture but PrtScreen doesn't work with the context menu open
Comment 1 Nate Graham 2022-08-11 17:28:51 UTC
> even though further options below to "Open in new tab/window" suggest it will copy the partial path

Can you explain how these other options give you that impression?
Comment 2 spamless.9v5xj 2022-08-11 18:36:21 UTC
(In reply to Nate Graham from comment #1)
> Can you explain how these other options give you that impression?

Computing convention leads me to expect all entries in the same context menu will apply to the thing one has selected/highlighted. By providing possible actions specific to the exact location right-clicked on, it cements to me that the individual directories in the location bar are interactable objects treated distinctly, thus I take it to mean that the choices presented to me all refer to the particular spot in the path I have clicked rather than the full path of the location bar.
Comment 3 Nate Graham 2022-08-11 21:06:13 UTC
Ah, I get it now. It copies the full path, but the context implies that it would copy the past of the thing you right-clicked on. That's a totally reasonable thing to assume. I was confused because that's what I expected too!

I can reproduce this in Gwenview too, which means it's a bug in the library component rather than in Dolphin.