https://bugs.kde.org/show_bug.cgi?id=421792
Bug ID: 421792 Summary: Save Incremental Version fails with specific file paths Product: krita Version: git master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: File formats Assignee: krita-bugs-n...@kde.org Reporter: anna.medonos...@gmail.com Target Milestone: --- SUMMARY When a directory name resembles incremental version naming scheme, 'Save incremental version' fails. The file path is parsed incorrectly - instead of the file name, Krita increments the number in the directory part of the path. Since such directory does not exist, saving fails. The behavior is the same in git master, 4.3beta1 and 4.2.9. STEPS TO REPRODUCE 1. Create a directory test_1.t 2. Create a document, save to test_1.t 3. Make a change 4. Save incremental version with File -> 'Save Incremental Version' OBSERVED RESULT "Could not save [...]/test_2.t/test_increments.kra Reason: Cannot open file for writing. Reason: The file could not be opened." EXPECTED RESULT The file name is correctly incremented and saved. -- You are receiving this mail because: You are watching all bug changes.