Bug 409368

Summary: It is not possible save file I just made
Product: [Applications] krita Reporter: Ondrej <helmsmen22>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: VERIFIED NOT A BUG    
Severity: grave CC: ahab.greybeard, halla
Priority: NOR    
Version First Reported In: 4.2.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: error message
files are visible in the menu File/Open recent

Description Ondrej 2019-07-01 14:20:15 UTC
Created attachment 121257 [details]
error message

SUMMARY
It is not possible save file I just made

All made on fresh installation krita-x64-4.2.2-setup.exe 

STEPS TO REPRODUCE
1. open krita
2. create new file custom document 1600*1200, all default
3. make painting. File size is indicated between 16-30MB
4. Try to save/export.


OBSERVED RESULT
File is not saved. Error message appears:
Could not save file name
Reason: Cannot open file for writing. Reason: The file could not be opened.

EXPECTED RESULT
Obviously I expect my picture will be saved in chosen format and given place.


SOFTWARE/OS VERSIONS
Windows: 7 Pro, EN
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I have tried krita file format, JPEG, PNG, unchecked most of options like ICC, decreased quality, etc. 
I tried folders made by Krita, my old folders, I also tried to open JPG and save it with changes, but no luck.
Comment 1 Ondrej 2019-07-01 14:28:26 UTC
Created attachment 121259 [details]
files are visible in the  menu File/Open recent

Files I tried to create are visible under File/Open recent as you can see in the attached file. But they does not exist :-(
Comment 2 Ondrej 2019-07-01 14:40:57 UTC
Sorry for additional comments...
I may have idea what is wrong - seems krita is trying to save file with 'linux' like dividers ('/' instead of '\'). As I use Python, I did not seen it as problem before. 

But when I tried to save file without path, it seems it was saved (even I do not know where, as I do not have configured Libraries).
Comment 3 Ahab Greybeard 2019-07-01 19:34:04 UTC
I get this and I think it's because you're trying to write to a folder at the C: drive level. Windows 10 seems to be very strict about where an application can save files.

Try saving to C:\Users\{username}\Documents or any folder you created in your {username} folder.
Comment 4 Halla Rempt 2019-07-02 08:37:33 UTC
No, the path dividers are not a problem. Not only can windows use both, but Qt internally prefers paths to use / and makes sure everything works. As Ahab says, you're probably trying to save to a location where you don't have permissions for.
Comment 5 Ondrej 2019-07-03 09:23:25 UTC
Thanks guys. Problem is -  I am using Win7 SP1... And I do not have similar problem with any other app. In fact this is very first time I have used library on my PC :-(. I do not have Qt on this machine.

Solution: Save your files into folders under Users.

Retest: I confirm in case "library" folder is used, I can save either kra and PNG file.

Note: I do not think you are right about problem being caused by rights, but I think I can live with workaround you mentioned.