[krita] [Bug 475420] New: File with an extension in the name ignored when saving

Manga Tengu bugzilla_noreply at kde.org
Tue Oct 10 12:30:58 BST 2023


https://bugs.kde.org/show_bug.cgi?id=475420

            Bug ID: 475420
           Summary: File with an extension in the name ignored when saving
    Classification: Applications
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-null at kde.org
          Reporter: mangatengu at gmail.com
  Target Milestone: ---

Created attachment 162183
  --> https://bugs.kde.org/attachment.cgi?id=162183&action=edit
The pop up appearing to override user filename

With version 5.3.0-prealpha (git f410665)
Up until something like 1 or 2 years ago, I could specify the file extension in
the file name:
myPainting.png would be myPainting.png whatever the extension chosen in the
combo box. So handy!

But since a certain change, if the combo box doesn’t match the file name, for
example it’s kra…
it will only propose myPainting.kra or myPainting.png.kra, forcing me to
cancel, take the time t select png in that painful combo box and save again.

I thought, maybe someone knows of some checkbox deep in the settings that would
enable the old behavior ?

STEPS TO REPRODUCE
1. Open/create a file 
2. Open the save as dialog. if you open a jpg file, the combo box il already
set on jpg. If you create a new file, it will be kra by default...
3. Enter a file name with an extension that does not match the original file
(nor the combo box selection in the case of a new file so not kra). For
example, save your file.jpg as `file.kra` or your new file as `file.png`

OBSERVED RESULT
(Attached a little screenshot)
A pop up asks you to remove your "unwanted" extension or to concatenate it with
the extension in the combo box
so if you open `file.jpg` and try to save it as `file.kra` by just specifying
the file name (combo box stays on jpg) you will be proposed to save as
`file.jpg` or `file.kra.jpg`
And so on, if you have created a new file and try to save it as `file.png` you
will be prompted to save it as `file.kra` or `file.png.kra`
Then you have to cancel, change the combo box value to match your file name
input before saving.

EXPECTED RESULT
whatever the original file. If I set the file name as `filename.foo` the file
is automatically saved in the `foo` format with the name `filename.foo` like it
did 1 or 2 years ago... and hot coffee appears on the desk.

SOFTWARE/OS VERSIONS
macOS (changed version a lot since then...) same for the krita Qt etc versions.
A certainly useless detail: I'm on M1

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list