Bug 121220 - Writer by default prefers ~/Documents instead of current directory
Summary: Writer by default prefers ~/Documents instead of current directory
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 21:35 UTC by Konstantin Kharlamov
Modified: 2018-11-09 07:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
121220-c11 (74.38 KB, image/png)
2018-11-09 07:43 UTC, Vera Blagoveschenskaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2018-11-06 21:35:32 UTC
Upon using "Save as" option, writer prompts to save in ~/Documents instead of the current directory. This is very confusing, as people more often than not keep their documents in more specific locations (E.g. ~/Documents/taskX), and it makes more sense to open up the dialog in the same directory where the currently opened document is.

# Steps to reproduce

1. Execute in terminal "cd /tmp/ && touch foo.txt && lowriter ./foo.txt"
2. In Writer press menu "File → Save as" (a window will pop up)

## Expected

The window is opened in /tmp/

## Actual

The window is opened in ~/Documents/ instead.
Comment 1 Vera Blagoveschenskaya 2018-11-07 07:32:27 UTC
Confirmed for

Version: 6.2.0.0.alpha1+
Build ID: 7cf6cee97bc05512fae482733ee45f039e9d2160
CPU threads: 1; OS: Linux 4.14; UI render: default; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-11-04_22:10:34
Locale: ru-RU (ru_RU.UTF-8); Calc: threaded

Additional info: 
if to 'save as' once, the second time LO suggests you to save document to the last path.

Also see https://bugs.documentfoundation.org/show_bug.cgi?id=121194
Comment 2 Timur 2018-11-07 09:40:23 UTC Comment hidden (obsolete)
Comment 3 Vera Blagoveschenskaya 2018-11-07 10:04:16 UTC
I don't think this is a duplicate of bug 121194

This bug is about default folder for Saving
bug 121194 is about the last path is not remembered after Export
Comment 4 Xisco Faulí 2018-11-08 11:27:49 UTC
I can't reproduce it in

Version: 6.2.0.0.alpha1+
Build ID: 1cfa1d9e1041b0e82d9be90847c428adfd01476e
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded

@Vera, do you reproduce it with GTK3 ?
Comment 5 Xisco Faulí 2018-11-08 11:36:03 UTC Comment hidden (obsolete)
Comment 6 Konstantin Kharlamov 2018-11-08 11:39:54 UTC
(In reply to Xisco Faulí from comment #4)
> I can't reproduce it in
> 
> Version: 6.2.0.0.alpha1+
> Build ID: 1cfa1d9e1041b0e82d9be90847c428adfd01476e
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
> 
> @Vera, do you reproduce it with GTK3 ?

For me too it says "VCL: gtk3". Could it have been fixed in version you're using?

> @Konstantin, which OS are you using ?


Archlinux
Comment 7 Xisco Faulí 2018-11-08 11:44:43 UTC Comment hidden (obsolete)
Comment 8 Konstantin Kharlamov 2018-11-08 11:53:42 UTC
(In reply to Xisco Faulí from comment #7)
> @Kontanstin, forgot to mention, please paste the info from Help - About
> LibreOffice

This one from another PC, but it's reproducible here too, so it probably doesn't matter. The only difference is LibreOffice version.

	Version: 6.1.0.3
	Build ID: 6.1.0-2
	CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3; 
	Locale: ru-RU (ru_RU.UTF-8); Calc: group threaded
Comment 9 Vera Blagoveschenskaya 2018-11-08 13:13:47 UTC
(In reply to Xisco Faulí from comment #4)
> I can't reproduce it in
> 
> Version: 6.2.0.0.alpha1+
> Build ID: 1cfa1d9e1041b0e82d9be90847c428adfd01476e
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
> 
> @Vera, do you reproduce it with GTK3 ?\

In my tomorrow's test - for KDE5
It's strange, but I can't reproduce it for today (I've downloaded newer build).
Comment 10 Vera Blagoveschenskaya 2018-11-08 13:28:30 UTC
(In reply to Vera Blagoveschenskaya from comment #9)
> In my tomorrow's test - for KDE5

Heh, I mean 'yesterday's test'
Comment 11 Konstantin Kharlamov 2018-11-08 13:29:12 UTC
(In reply to Vera Blagoveschenskaya from comment #9)
> (In reply to Xisco Faulí from comment #4)
> > I can't reproduce it in
> > 
> > Version: 6.2.0.0.alpha1+
> > Build ID: 1cfa1d9e1041b0e82d9be90847c428adfd01476e
> > CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> > Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
> > 
> > @Vera, do you reproduce it with GTK3 ?\
> 
> In my tomorrow's test - for KDE5
> It's strange, but I can't reproduce it for today (I've downloaded newer
> build).

Amazing, it was probably fixed.

@Vera, could you please check that newer build works as expected with the following steps:

1. Execute in terminal "cd ~ && touch /tmp/foo.txt && lowriter /tmp/foo.txt"
2. In Writer press menu "File → Save as" (a window will pop up)

(the difference is that current "working directory" is ~, but the document still being opened in /tmp/)
Comment 12 Timur 2018-11-08 14:07:41 UTC
Sorry I didn't test myself. See Bug 79255 that was closed as WFM. 
If steps are not reliably reproduces, this one may have the same fate.
Comment 13 Vera Blagoveschenskaya 2018-11-09 07:43:39 UTC
Created attachment 146471 [details]
121220-c11

(In reply to Konstantin Kharlamov from comment #11)

> @Vera, could you please check that newer build works as expected with the
> following steps:
> 
> 1. Execute in terminal "cd ~ && touch /tmp/foo.txt && lowriter /tmp/foo.txt"
> 2. In Writer press menu "File → Save as" (a window will pop up)
> 
> (the difference is that current "working directory" is ~, but the document
> still being opened in /tmp/)

Please see screenshot in the attachment
Comment 14 Vera Blagoveschenskaya 2018-11-09 07:46:34 UTC
I tested Comment 13 for

Version: 6.2.0.0.alpha1+
Build ID: 3d70b1253f964fb75cd4b5915b8dd031ee54d5c7
CPU threads: 4; OS: Linux 4.14; UI render: default; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-11-08_16:22:16
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 15 Konstantin Kharlamov 2018-11-09 07:50:33 UTC
This is amazing. Let's close then as WFM, at least until any more new information will appear. I actually hope, it was simply fixed in git, independently of this report.