Hi, This is a bug easy to reproduce after Krita3.1.1appimage and krita/3.1git ; but not affecting previous 3.0.1appimage to 3.0.94appimage. To reproduce: - Open an artwork ( eg. /home/deevad/carrot.kra ) - Save-as ( Ctrl+Shift+S ) and pick a directory. ( eg. /home/deevad/folder-AAA/Carrot.kra ) ( do anything, closing Krita, working on something else, etc...) - Open another artwork ( eg. /home/deevad/some/far/away/folder-ZZZ/page1.kra ) - Perform a Save-as ( Ctrl+Shift+S ) Result: The directory proposed by the dialog will be the previous one. (eg. /home/deevad/folder-AAA/ ) instead of proposing the path of the active document ( /home/deevad/some/far/away/folder-ZZZ/ ). ( Note: It's a regression suffisently annoying to make me stick with 3.0.1appimage~alpha1, because I'm converting and saving temporary version a lot with Save-as. But it's not a drama-bug too for other user as far as I can see, so I flag it as 'normal' :D )
Created attachment 103208 [details] (Video example with the steps I've followed to reproduce the issue) (In reply to David REVOY from comment #0) > Hi, > This is a bug easy to reproduce after Krita3.1.1appimage and krita/3.1git ; > but not affecting previous 3.0.1appimage to 3.0.94appimage. > > To reproduce: > - Open an artwork ( eg. /home/deevad/carrot.kra ) > - Save-as ( Ctrl+Shift+S ) and pick a directory. ( eg. > /home/deevad/folder-AAA/Carrot.kra ) > ( do anything, closing Krita, working on something else, etc...) > - Open another artwork ( eg. /home/deevad/some/far/away/folder-ZZZ/page1.kra > ) > - Perform a Save-as ( Ctrl+Shift+S ) > > Result: > The directory proposed by the dialog will be the previous one. (eg. > /home/deevad/folder-AAA/ ) instead of proposing the path of the active > document ( /home/deevad/some/far/away/folder-ZZZ/ ). > > ( Note: It's a regression suffisently annoying to make me stick with > 3.0.1appimage~alpha1, because I'm converting and saving temporary version a > lot with Save-as. But it's not a drama-bug too for other user as far as I > can see, so I flag it as 'normal' :D ) Hi David, I'm sorry, I'm not able to reproduce the issue here. The directory proposed by the dialog is actually "ZZZ", in my case. Please, see the video for the steps I've followed, thanks. Checking on Ubuntu 14.04 with "krita-3.1.1-x86_64.appimage" (link: http://download.kde.org/stable/krita/3.1.1/krita-3.1.1-x86_64.appimage).
I can reproduce this bug in Krita built from git master(git acabf22) . Arch linux. Also I have enabled native file dialog in the configure Krita > general > miscellaneous tab > enable native file dialog For me it always opens up last saved or exported location and not the path where the file is . I understand the need to remember saved location for export as it comes in handy when you want to export multiple files to a single location. but I think Krita should forget about this location once I restart.
Here is a video of reproducing the bug on my machine ( Manjaro+XFCE, filemanager is PCManFM 1.2.4 ) , 2min, 1080p: https://share.kde.org/index.php/s/KjNqz8Ten8ub2Mg @mvowada:Thank you for testing. It's surprising to have different results with the appimage. @Raghavendra kamath: Thank you for confirming ( I'm switching to 'CONFIRMED' ) and for the information about "native file dialog" in the configure Krita > general > miscellaneous tab > enable native file dialog : I didn't know this one. I guess I'm using the default here (the sad-and-not-useful-dialog-feeling-like-computing-on-windows-3.1-because-no-thumbnails :p ).
Git commit 0025b74d98d3074bf9bbee0bfaa3ed3ff9d19de5 by Boudewijn Rempt. Committed on 24/01/2017 at 15:39. Pushed by rempt into branch 'master'. The default folder for save as is taken from the path of the image. M +1 -1 libs/ui/KisMainWindow.cpp M +1 -1 libs/widgetutils/KoFileDialog.cpp https://commits.kde.org/krita/0025b74d98d3074bf9bbee0bfaa3ed3ff9d19de5
Git commit 69c830f77913ec8bec154b53eeca2bf3de422bb9 by Boudewijn Rempt. Committed on 24/01/2017 at 15:40. Pushed by rempt into branch 'krita/3.1'. The default folder for save as is taken from the path of the image. M +1 -1 libs/ui/KisMainWindow.cpp M +1 -0 libs/widgetutils/KoFileDialog.cpp https://commits.kde.org/krita/69c830f77913ec8bec154b53eeca2bf3de422bb9