Bug 499360 - In the core file menus I would like a setting to remove spaces from filenames when saving them
Summary: In the core file menus I would like a setting to remove spaces from filenames...
Status: RESOLVED INTENTIONAL
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-31 12:14 UTC by davidblunkett
Modified: 2025-02-23 21:58 UTC (History)
2 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 davidblunkett 2025-01-31 12:14:09 UTC
As far as I know plasma provides a set of native file menus to other applications.

I find filenames with spaces (and other escapable characters) in them very irritating.

It would be a nice feature for "saveas" menus to offer a "remove / substitute spaces" option.  I can't be the only one that mainly works in shells but has to receive files from other people from a variety of sources that are a pain in the arse to deal with from the command line because of the antisocial use of escapable characters.

Like everyone else I've got scripts to remove this chaff from my files but it occurs to me that it would be nicer for the saveas menus and dialogues to offer this service.

If this gets adopted I intend to extend it to inconsistent use of camelHump in code!
Comment 1 Nate Graham 2025-01-31 16:11:24 UTC
I can understand the frustration here, and it's an interesting idea, but I'm not sure if this is something that would really resolve the issue for you. Even if we implemented an option in the KDE save dialogs to swap out spaces for underscores or something, loads of apps don't use the KDE save dialog, and there are also many ways to get files from other people that bypass any save dialog, including some of the most common ones such as web browsers and desktop email clients. So it's very likely that most of the offending files you receive from others would not go through the feature.

As such, I don't think we'll be able to consider this feature request, sorry.
Comment 2 davidblunkett 2025-02-23 21:58:39 UTC
Shame, even if it was just KDE apps it would be a very handy addition, then I can work on getting the rest changed...