If you load an uncompressed xml file and then press ctrl-s to save it again it is saved in the wrong directory. Reproducible: Always Steps to Reproduce: 1. Start Words. Create a file with one line of text. 2. File -> Save As... Give it the name testdoc and save it as "OpenDocument Text (Uncompressed XML file) 3. Exit Words 4. run 'calligrawords testdoc' 5. Add a few characters 6. Save using ctrl-S 7. Exit Words again Actual Results: Notice that the components of the changed file with the added characters - content.xml, styles.xml, etc - are saved in ./ instead of ./testdoc/ Expected Results: The newly saved components should overwrite the existing ones in ./testdoc/
Git commit 3992bc5921f7f62b1fa65d180c253d0c807f5e6d by Inge Wallin. Committed on 26/08/2012 at 02:08. Pushed by ingwa into branch 'master'. Fix bug 305794: Uncompressed ODF is saved in wrong directory This fix does that the old code tried to do but failed: Check if the given path is a directory. But it does so using QDir so it's actually portable. FIXED-IN: 2.5.1 REVIEW: 106200 M +9 -4 libs/odf/KoDirectoryStore.cpp http://commits.kde.org/calligra/3992bc5921f7f62b1fa65d180c253d0c807f5e6d
Git commit 85b7a6468513499b0d530b211888c83223f0a28b by Inge Wallin. Committed on 26/08/2012 at 02:08. Pushed by ingwa into branch 'calligra/2.5'. Fix bug 305794: Uncompressed ODF is saved in wrong directory This fix does that the old code tried to do but failed: Check if the given path is a directory. But it does so using QDir so it's actually portable. FIXED-IN: 2.5.1 REVIEW: 106200 M +9 -4 libs/odf/KoDirectoryStore.cpp http://commits.kde.org/calligra/85b7a6468513499b0d530b211888c83223f0a28b