Bug 376002 - Selecting cover image should open file dialogue at the last folder used
Summary: Selecting cover image should open file dialogue at the last folder used
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Robby Stephenson
Depends on:
Reported: 2017-02-04 13:55 UTC by Karl Ove Hufthammer
Modified: 2017-02-05 22:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.0.1


Note You need to log in before you can comment on or make changes to this bug.
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