There were two brief mentions of this bug at https://bugs.kde.org/show_bug.cgi?id=363374 , but since that report is only about 4 letter extensions being cut down to 3 letter extensions ("If use in krita .jpg format for save, by default krita save random in .jpE or .jpEG, but only not .jpG. Same problem with other formats .tif and .tiff. By default krita save in .tiFF, not in .tiF.") and since there was no documentation to go with the mentions, I have posted a bug report for it (because it is a different bug). Make some popcorn and read below to see this bug strip extensions and resist file type changes! Yay! Reproducible: Always Steps to Reproduce: 1. New file 2. Save file without selecting a file type 3. File will be saved in the .kra format but without a file extension. It will have whatever filename you choose + kra at the end (without the period - such as "MyFilekra"). 4. Hit "save as" 5. File type is automaticly selected as "Krita document". Leave it. 6. Add a 1 to the end of the file name and save. 7. File is now saved as filename+"kra"+1+"kra" (such as "MyFilekra1kra") but does not have a file extension. 8. Hit "save as" 9. Change type to Photoshop image. 10. Keep name the same and save. 11. Pop up dialog says file already exists and asks if you would like to override. 12. Click "yes" and you will get a new file named filename+"kra"+1+"kra"+"kra" (such as "MyFilekra1krakra"). For the fun of it, I tried opening it in Photoshop (didn't work).
which version of krita do you have (what git hash is mentioned in help->about krita?, mine for example is git e38aa23)
Good question! The version I am getting this error with is version 3.0 RC 1 (git c9522ba) on Windows 7 32 bit (no Open GL).
http://files.kde.org/krita/3/windows/devbuilds/krita-3.0-RC-1-master-7785651-x86.zip Should have fixed this bug. I had to go through several iterations of working around Qt 5 QFileDialog bugs...
Awesome! I managed to break the GUI yesterday, so I'll get rid of the old RC and install this version when I have a moment.
If you wait a few hours you can get the final stable from the website, and if you think you messed up the GUI beyond recognition, delete the configuration manually: https://docs.krita.org/KritaFAQ#Resetting_Krita_configuration Krita doesn't delete files as you deinstall it, you see.
Thanks for the tip, wolthera! I am currently testing the new save dialog, which, with the shell executable, lets me see my files as images - which makes me very happy, nice job! I'm going to post what I have found so far, since you guys are so close to the release (hope it helps!). So far, I haven't had a problem with the "save" command, but the "save as" command needs a few tweaks: 1. Save file as "Delete" - this saves the file as "Delete.kra" (yay!) 2. "Save as" and add a 1 to the end - "Delete1" - this causes the file to be saved as "Delete1..kra" 3. "Save as" and a 2 to the end - (form is auto filled with "Delete1.") "Delete1.2" - this causes the file to be saved as "Delete1.2" dropping the .kra 4. "Save as" and a 3 to the end - this results in a file named "Delete1.23" Good luck and congrats on the upcoming release!
Removing the period from the filename results in the file having a "..kra" added to the end (double period again). Removing the period and manually typing in ".kra" causes it to save correctly.
This should be fixed in the 3.0.1 alpha and beta builds.