[Libreoffice-bugs] [Bug 133783] FILEOPEN dialog does not show current working directory

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 14 11:33:00 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=133783

--- Comment #18 from Caolán McNamara <caolanm at redhat.com> ---
My understanding is that the "left-hand pane of available folders" belongs to
the gtk file dialog and isn't under our control and it decides itself what to
show.

It appears to list the cwd of the process there as shown in the picture in
comment #13

This is also probably the case in the picture in comment #12 except in that
case the cwd is presumably the $HOME dir which is already listed under "Home".

I expect the same is true when launched from ~/Documents or ~/Music that those
dirs are not duplicated at the end of the list and only a cwd not already
listed among the special locations is put at the end of the list in the
left-hand pane.

So left-hand pane is presumably working as the authors of that intended and
either way I don't think we can influence it.

The directory shown by the file open dialog, the one in the right pane, is
probably set by us and is presumably simply just whatever directory the file
open dialog was in the last time it was used.

I'm guessing the mismatch of expectations as to what's shown here is that if
libreoffice is launched by something external to open a file and then file open
is used that we show what was used by the file open dialog the last time it was
used and that hasn't any connection to what file was actually "last opened in
the office suite" as opposed to "last opened by our file dialog".

If that is the case, and is worth addressing, then changing whatever we are
storing as the "last file open location" for the dialog to be updated to the
"last file opened" (like the recently-used list shows) might be the way to go.
Though perhaps opening remote file vs local files complicates that in practice
as to whether the last open file location is suitable for use in the open file
dialog)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210614/1ea92ef5/attachment.htm>


More information about the Libreoffice-bugs mailing list