1

Some applications (e.g. GIMP) seem to order directories first in their the File>Open, File>Save or any other file related dialogue.

Some other applications (e.g. LibreOffice) don't sort directories first. LibreOffice does not even sort out files it can not deal with in the File>Open dialogue.

For storing files, it might be desirable to also see file names belonging to other applications, e.g. to use one of them as a template for a file to be stored by modifying an existing file name (for example, if a LO file logically belongs to some context with files names following a certain pattern representing this logical context). But in a file store dialogue from e.g. LO, I would prefer to see the non-LO files names in some other colour, e.g. medium grey instead of black.

Further the formatting of the date column in file-related dialogues has the nasty file date representation: Today/Yesterday/name of a weekday or a local representation of the date for files changed more than a week ago. I dislike this particular formatting of dates. I would prefer to have ISO-8601 formatting of file dates everywhere in file related dialogues. Fortunately Thunar has something to let it always use ISO-8601 formatting. Unfortunately this is not the default setting of Thunar in a newly installed system!

Also I would prefer, if directories were more easily discernible from files, in addition to being all sorted to the top. I would prefer it, if the textual part for them uses another colour than for files (e.g. blue for directories instead of black for files ) or if at least the symbols if directories have an easily discernible colour.

Under Windows, all file-related dialogues seem to be just some other incarnation of the Windows file explorer. The good thing about that is,

  • that one might easily correct a mistyped filename which one encounters in an open or save a file dialogue - even if the file name to be corrected is not the one of the file to be loaded or saved.
  • One also can use the context menu functions, e.g. copy a file location to the clipboard in order to use that in some other context or program.
  • One can use search patterns during the open/save file dialogues: during typing, the displayed set to be selected from narrows according to what has been typed. The search also can be made to extend from the current directory down to its subdirectories, which is a very powerful thing which I miss under Ubuntu.

So my question is:

  • Who is responsible for the file-related dialogues of GUI programs?
  • Is this one (or two) central instance(s)? Or is the appearance of dialogues involving file operations up to each application? In the latter case, I would have to address quite some application maintainers for improvement like those given above.

1 Answer 1

4

Who is responsible for the file-related dialogues of GUI programs? These are dialogs of the GTK toolkit. These common dialogs can be used by different programs on the system.

There is a further complication, where two major versions of the GTK toolkit live on your system. Gimp still uses GTK2 dialogs. Gnome core applications like Gedit, other GTK3 programs and, by default on Ubuntu, Libreoffice, uses GTK3 dialogs. You can have Libreoffice use GTK2 dialogs, or you can even have it use its own dialogs (Tools - Options - LibreOffice, General). Then, if you are running a QT application, i.e., an application that uses the QT toolkit, you still will have other dialogs. Also there, we have the complication that at this time, both QT4 and QT5 are in use.

Thus, depending on the dialog that is in use, it are the developers of the used toolkits or of the application itself that determine how it works.

Is this one (or two) central instance(s)? Or is the appearance of dialogues involving file operations up to each application? As outlined before, there are different toolkits and even different versions of a single toolkit. As outlined before, applications can opt to use the system wide dialogs provided by the toolkit their use, or have their own file dialog.

Bottom line: A linux operating system fundamentally is a very diverse ecosystem, running diverse software of very different sources and history. Distributions like Ubuntu still manage to give all a remarkably coherent feel.

1
  • Thank you for the hint to use LO's own dialogue, because this already does most of what I was looking for: Sort directories first, use yellow icons for folders to let them appear different from files (before: both were blueish) and also it lets one enter wildcards like 2020-03-_*bug to select from a filtered set of file names. Of course, even this should be improved. Some of my use cases are already covered there. - How can one modify the mentioned toolkits such that they use other defaults? Most probably they all get their defaults from some environment variable – is this true? Mar 10, 2020 at 9:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .