Bug 376002

Summary: Selecting cover image should open file dialogue at the last folder used
Product: [Applications] tellico Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.1

Description Karl Ove Hufthammer 2017-02-04 13:55:56 UTC
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.
Comment 1 Robby Stephenson 2017-02-05 22:46:04 UTC
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
FIXED-IN: 3.0.1

M  +1    -0    ChangeLog
M  +1    -0    src/gui/CMakeLists.txt
M  +8    -1    src/gui/imagewidget.cpp

https://commits.kde.org/tellico/99a1a6c97683d60ba51cb66d5004a8b1e768884d