Summary: | Rename dialog should not put spaces in suggested filenames | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | rlk |
Component: | Overwrite dialog | Assignee: | David Faure <faure> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kdelibs-bugs, nate |
Priority: | NOR | ||
Version: | 5.55.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
rlk
2019-02-19 16:11:55 UTC
We've had this request before and it's been rejected, I'm afraid. Our preference is to default to human-friendly names rather than shell-friendly names. Then can there at least be a template provided, such that someone can change the separator? Spaces in filenames are just not standard in UNIX filenames. If the request has been made before, it's obvious that there are other people with the same issue. And an underscore is not particularly unfriendly. I don't think we would reject out of hand a patch that implemented the requested feature in an unobtrusive and user-friendly way, so if you want to give it a try, be my guest! :) An unobstrusive way would be: - "file.txt" collision detected - User clicks "Suggest New Name" - Dialog suggests "file (1).txt" - User edits the suggestion to e.g. "Copy 1 of file.txt" or "file[001].txt" - Dialog remembers these changes as the template for further suggestions (and for automatic suggestions) A requirement would be that the original filename and extension is still part of the edited suggestion, and that at least one field with a number is still part of the additions. Otherwise automatic suggestions cannot work, and it would fall back to the "Name (#).ext" for next suggestions. Good luck :) *** This bug has been marked as a duplicate of bug 317320 *** |