| Summary: | Filesystem > Right-click > Create New > Text File... should not assume *.txt extension | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Fabio Pesari <fpesari> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | alain, christoph, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 22.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Fabio Pesari
2022-05-23 10:51:56 UTC
Tested on Kubuntu 22.04 and after built Kate from source. Not sure to understand what is wrong with current behavior: * when the popup to choose the filename appear, all default name is selected and you can choose the right name and extension * when you don't specify extension, the filename is creating without extension Maybe we can rename the "Create -> Text File..." with "Create -> Empty File..." when https://bugs.kde.org/show_bug.cgi?id=297003 will be fixed. This behavior it is acceptable for you? I am not aware that we do customize these menus, they are the standard stuff provided by KIO. I am not even sure we should start to customize this. (In reply to Alain Laporte from comment #1) > Tested on Kubuntu 22.04 and after built Kate from source. > > Not sure to understand what is wrong with current behavior: > * when the popup to choose the filename appear, all default name is selected > and you can choose the right name and extension > * when you don't specify extension, the filename is creating without > extension > > Maybe we can rename the "Create -> Text File..." with "Create -> Empty > File..." when https://bugs.kde.org/show_bug.cgi?id=297003 will be fixed. > > This behavior it is acceptable for you? Hello Alan, "Create -> Empty file" would surely be better than "Create -> Text file" IMHO, as in any case the "text" is implicit since there are only two kinds of files (text and binary) and nobody is surely going to create binary files with Kate :) Still, it'd be better if .txt were not automatically appended at the end for the reasons I specified above. Fabio, now we have choice between "Text File" and "Empty File". Can I close the ticket as resolved? Thanks Alan, sure! I still find it a bit redundant (because an empty file is a text file) but I will for sure be using "empty file"! |