When selecting a cover image (e.g. for a book), the ‘Open file’ dialogue is always opened at my home folder ($HOME). I have a folder with book covers, and it’s a bit annoying to have to navigate to this folder each time. Suggestion: When pressing the ‘Select Image’, default to the folder lasted used to select an image. (This is also how the ‘Open File’ feature in most KDE applications work.)
A few implementation details:
1. This folder used could be stored in the Tellico settings file or, perhaps preferably, in the collection file. If it is stored in the collection file, one can have different default folders for different collection, e.g. one folder for book covers and one folder for CD covers.
2. The very first time uses the ‘Select Image’ feature, default to the user’s ‘pictures’ folder (i.e. the output of the ‘xdg-user-dir PICTURES’ command) instead of the user’s home folder.
3. If the last used folder doesn’t exist anymore, default to the user’s ‘pictures’ folder.
Git commit 99a1a6c97683d60ba51cb66d5004a8b1e768884d by Robby Stephenson.
Committed on 05/02/2017 at 22:45.
Pushed by rstephenson into branch 'master'.
Remember last location in the Entry Editor image selector
M +1 -0 ChangeLog
M +1 -0 src/gui/CMakeLists.txt
M +8 -1 src/gui/imagewidget.cpp