Bug 129292 - Writer uses the last-used directory for opening and saving files, ignoring the setting in Options > Paths > My Documents
Summary: Writer uses the last-used directory for opening and saving files, ignoring th...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: fpy
URL:
Whiteboard: target:24.8.0
Keywords:
: 154719 (view as bug list)
Depends on: 43021
Blocks: HelpGaps-NewFeatures
  Show dependency treegraph
 
Reported: 2019-12-09 19:07 UTC by `solo4181
Modified: 2024-03-13 14:07 UTC (History)
6 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 `solo4181 2019-12-09 19:07:07 UTC
Description:
See: https://ask.libreoffice.org/en/question/220474/writer-search-always-files-in-same-directory/?sort=latest

Every time we want to open a document, Writer is searching in the directory the last file is opened.
We set "Extra / Options / LibreOffice / Path / My documents" to set the right search path but this does not work.
Is there someone who can help us?


Steps to Reproduce:
1.Every time we want to open a document, Writer is searching in the directory the last file is opened.
We set "Extra / Options / LibreOffice / Path / My documents" to set the right search path but this does not work.
2.
3.

Actual Results:
We set "Extra / Options / LibreOffice / Path / My documents" to set the right search path but this does not work.

Expected Results:
We want to get the files from the configured path.


Reproducible: Always


User Profile Reset: No



Additional Info:
None
Comment 1 sdc.blanco 2019-12-12 16:26:14 UTC
Is this a bug or a documentation/interface problem?  

The documentation seems to imply that it is possible to specify a path, but I get the same behavior as the initial bug report (i.e., the last used directory is used for opening and saving files). This happens also, after resetting to factory settings in LO 6.4.0.0.beta1.

Bug #96503 reports a similar problem for new documents.

Bug #126404 (comment 1) indicates that the path is set temporarily to location of the last file edited/saved.  (as also reported here)

Maybe the program behaves as intended, but the documentation does not give this information clearly.

https://help.libreoffice.org/6.5/en-US/text/shared/optionen/01010300.html?DbPAR=SHARED#bm_id3149514

https://help.libreoffice.org/6.5/en-US/text/shared/guide/workfolder.html?DbPAR=SHARED#bm_id3150789

Or maybe the interface in Options > Paths > My Documents can be enhanced with a checkbox to force LO to only use the path indicated in My Documents (and not use the last used directory)?
Comment 2 Heiko Tietze 2019-12-13 08:14:32 UTC
I would take this as a documentation issue. The initial path is defined in tools > options while the path per session remains. We get regularly requests on this and the work flow is pretty clear: you work on different projects and want to keep files together under the same folder. So we better not change the current behavior.
Comment 3 Oliver Brinzing 2020-01-12 07:53:53 UTC
with 

Version: 6.4.0.2 (x64)
Build-ID: 08d19fecdc7a2298d051e19cfdb7c35544855fc3
CPU-Threads: 4; BS: Windows 10.0 Build 18363; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: 

the current behaviour changed:

https://bugs.documentfoundation.org/show_bug.cgi?id=43021#c58
Comment 4 sdc.blanco 2020-01-12 09:33:01 UTC
(In reply to Heiko Tietze from comment #2)
> So we better not change the current behavior.
As noted in comment #3, the actual behavior has changed, while bug #129886 was filed because of comment #2.  

If the current 6.4.0.2 is the intention, then I hope a "checkbox" can come into Options to use "last used directory". (i.e., the current behavior in 6.3.x)
Comment 5 m_a_riosv 2023-04-09 20:46:41 UTC
*** Bug 154719 has been marked as a duplicate of this bug. ***
Comment 6 Commit Notification 2024-03-13 12:38:51 UTC
Pierre F committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/bc4f9b5f7afc2fb7addf2844a8ee664564f5d3a3

tdf#129292  clarify working directory / last-used directory / folder