Bug 498222 - Change a duplicated filename to not contain a whitespace
Summary: Change a duplicated filename to not contain a whitespace
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 19:12 UTC by Antti Savolainen
Modified: 2025-01-07 17:26 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2025-01-03 19:12:11 UTC
SUMMARY
Demonstrative video: https://youtu.be/gJtNGhcXeBo
If I duplicate, it's a bit annoying if to perform terminal operations on it immediately after. The need to escape the whitespace makes it clunky. Normally whitepaces are not a problem because tab completion exists, but because the original file exists now the terminal wants to make sure if you want the file with whitespace or a dot.

STEPS TO REPRODUCE
1. Duplicate a file graphically
2. Do something to that file from the terminal

OBSERVED RESULT
I need to escape the whitespace which is a QOL issue

EXPECTED RESULT
The duplicated filename should have a filename that is less annoying on the terminal

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Comment 1 Nate Graham 2025-01-04 03:07:58 UTC
Not sure this is really a problem. Duplicating a file from the GUI and then immediately running a terminal command on it is an expert workflow. Since you already have a terminal there, why not duplicate it from the terminal too using `cp`?
Comment 2 Antti Savolainen 2025-01-04 03:31:42 UTC
I just like using the graphical interface until I need to do something that can not be done graphically. Duplicating with two mouse clicks for example is faster than using cp. 
Would anything be lost if the copy of a file was "file_copy.txt" instead on "file copy.txt"? If not, I don't see a reason why this change can't be made.
Comment 3 Nate Graham 2025-01-06 23:15:19 UTC
Familiarity for normal people would be lost. Normal people who aren't weirdos like us tend to prefer spaces in their filenames, rather than underscores.
Comment 4 Antti Savolainen 2025-01-07 01:16:07 UTC
I went to check how they do it on Windows. Yeah they use spaces, but they also use a hyphen, as in "file - Copy.txt". Not sure how jarring to a normal user a duplicate with a hyphen separator is if we used "file-copy.txt" Or we could have some other separator or no separator at all. If the answer is still a no, I'll drop this suggestion.
Comment 5 Nate Graham 2025-01-07 17:26:18 UTC
I don't see how that's any better, sorry. I think we'll keep this as is.