Bug 126665 - [RFE] remember location where last file was saved - across LO modules
Summary: [RFE] remember location where last file was saved - across LO modules
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.5.2 release
Hardware: All All
: medium enhancement
Assignee: Samuel Mehrbrodt (allotropia)
URL:
Whiteboard: target:7.3.0
Keywords:
: 121194 129886 130535 136210 (view as bug list)
Depends on:
Blocks: Save Dialog-Remember-Settings
  Show dependency treegraph
 
Reported: 2019-08-01 20:30 UTC by Wolf
Modified: 2022-01-20 19:32 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolf 2019-08-01 20:30:34 UTC
Description:
Scenario is a user who works on a project, project files are saved in one project folder. User creates a text files, saves it to ~/my_projects/2019/commercial/projectABC/projecttext1.odt. 
Creates a second text file - again has to navigate from his default folder (often it is ~/Documents) to ~/my_projects/2019/commercial/projectABC/.
User creates a calculation, again navigates to ~/my_projects/2019/commercial/projectABC/ to save project_calculation.ods.
User creates a presentation, again navigates to ~/my_projects/2019/commercial/projectABC/.
User creates web content, again navigates to~/my_projects/2019/commercial/projectABC/.

Other applications will remember the place where I saved the last file and offer to save the next file created there. I think this behaviour makes a lot of sense, and I'd want it in LibO as well.


Steps to Reproduce:
1. create a file, save it in a folder
2. create a new file, save it - you have to navigate from the default save location to your recently used folder 
3.

Actual Results:
You always are offered to save your file in the default location (normally ~/Documents) 

Expected Results:
I want the save file dialogue to offer the last saved folder.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Thomas Lendo 2019-09-09 21:06:57 UTC
I can reproduce that with 6.4.0.0.alpha0+
Build ID: f76dbe5dc581845996a8bd5f5109c5e2ff5a27b0
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-09-09_05:13:31

and I support this idea. At least until closing the whole instance of LibreOffice.
Comment 2 Heiko Tietze 2019-09-10 08:20:16 UTC
While we want to remember the last user choice in general (see Blocked), I'm not sure it's generally wanted here. One scenario is to open documents from one project/folder but the other is to switch and in this case the default path is okay. Could imagine, however, to keep the last choice as long the module is open. Meaning unless the Writer/Calc/* document is not closed the path will be remembered. (Haven't tested if it works like this right now.)
Comment 3 Wolf 2020-02-03 14:50:41 UTC
In case this is actually disputable, I suggest a control, so user can adopt LibO's behaviour to their needs.
Comment 4 Wolf 2020-02-03 14:51:42 UTC
> At least until closing the whole instance of LibreOffice.
I do support this idea.
Comment 5 Wolf 2020-02-03 14:52:37 UTC
The same with

Version: 6.3.4.2
Build-ID: 1:6.3.4-0ubuntu0.18.04.1~lo2
CPU-Threads: 8; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded
Comment 6 Heiko Tietze 2020-12-14 12:38:44 UTC
*** Bug 130535 has been marked as a duplicate of this bug. ***
Comment 7 Heiko Tietze 2020-12-14 12:39:27 UTC
(In reply to Heiko Tietze from comment #6)
> *** Bug 130535 has been marked as a duplicate of this bug. ***

We should also save the last path for exported documents such as PDFs.
Comment 8 Heiko Tietze 2020-12-14 15:33:33 UTC
*** Bug 136210 has been marked as a duplicate of this bug. ***
Comment 9 Commit Notification 2021-07-12 12:32:02 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d157c1bd70d630a58db33910d550bb8dee9fe62e

tdf#126665 Remember last used file picker directory

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Samuel Mehrbrodt (allotropia) 2021-07-12 12:38:05 UTC
*** Bug 129886 has been marked as a duplicate of this bug. ***
Comment 11 Samuel Mehrbrodt (allotropia) 2021-07-13 12:28:25 UTC
*** Bug 121194 has been marked as a duplicate of this bug. ***
Comment 12 Commit Notification 2021-07-13 13:58:11 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/44df15bc7e5ea8e5bff2a4e45d9e8317ba0a362b

Related tdf#126665 Fix image select dialog

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.