Bug 161362 - Can Location be added to Linux system file open/save dialog
Summary: Can Location be added to Linux system file open/save dialog
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2024-05-31 12:15 UTC by Timur
Modified: 2024-07-19 09:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Dialogs (29.15 KB, image/png)
2024-05-31 12:15 UTC, Timur
Details
FreeOffice dialogs (17.31 KB, image/png)
2024-07-01 19:28 UTC, Timur
Details
screenshot of gtk-demo (gtk2) file picker (228.91 KB, image/png)
2024-07-19 09:55 UTC, Caolán McNamara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2024-05-31 12:15:25 UTC
Created attachment 194484 [details]
Dialogs

This is a request to change appearance of Linux system dialogs (Tools > Options > General).
I was not aware it is possible, but I saw other product which in GTK opens with a separate field Location where user may type. That is convenient for large folders.
In LO I see path and to write file path I Ctrl+L to open there for edit (there, a double click would be great, but not possible), then I type new path. 
So there is one click difference, which amounts to many clicks when doing it daily.
Comment 1 Eike Rathke 2024-05-31 13:41:44 UTC
Assuming GNOME system dialogs.. Just start typing and the location field will open automatically. Even if it wasn't, as you want to type anyway hitting Ctrl+L would be more natural and convenient than double-clicking somewhere..
Comment 2 Timur 2024-05-31 14:01:34 UTC
Thanks. I did not know about typing, but that still does not solve pasting.
Comment 3 Stéphane Guillou (stragu) 2024-06-22 01:18:26 UTC
Caolán, what's your take?
Comment 4 Caolán McNamara 2024-07-01 13:21:53 UTC
what's the "other app" where it is different from LibreOffice? All my gtk apps seem to behave the same as LibreOffice
Comment 5 Timur 2024-07-01 19:28:06 UTC
Created attachment 195070 [details]
FreeOffice dialogs

The other product which used to Open separate field Location where user may type is FreeOffice 2021.
(Recently they published 2024 and interestingly new Open dialog is like LO).

With that, if this can be done, it would better be an option in General-dialogs.
Comment 6 Stéphane Guillou (stragu) 2024-07-02 02:17:41 UTC
Looks like FreeOffice were using gtk2 and they now moved to gtk3?

On Ubunut 22.04 + GNOME 42.9 running:

   gsettings range org.gtk.Settings.FileChooser location-mode

...show one can use the following values for this settings:

   'path-bar'
   'filename-entry'

However, if you set it to 'filename-entry' with:

   gsettings set org.gtk.Settings.FileChooser location-mode 'filename-entry'

...and confirm it has worked with:

   gsettings get org.gtk.Settings.FileChooser location-mode

...the setting is not used, and it is reset to 'path-bar' once the file picker is used by an app.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/6471
Comment 7 Stéphane Guillou (stragu) 2024-07-02 02:18:54 UTC
(In reply to Stéphane Guillou (stragu) from comment #6)
> On Ubuntu 22.04 + GNOME 42
with libgtk-3-0:amd64 3.24.33-1ubuntu2.1
Comment 8 Caolán McNamara 2024-07-19 09:55:08 UTC
Created attachment 195390 [details]
screenshot of gtk-demo (gtk2) file picker

There is only a small part of the softmaker file dialog visible in the screen shot, but from its top left corner and comparing against the gtk-demo gtk2 file dialog demo which still works for me locally, then I can see that they seem to be the same.

So yeah, that's the gtk2 version I believe
Comment 9 Caolán McNamara 2024-07-19 09:56:16 UTC
I don't think there is anything we can do here wrt the gtk3 file dialog, its not our one and we just integrate with what's available.