5,418
edits
Changes
m
→File Chooser: differentiate GtkFileChooser Volumes, Shortcuts, bookmarks
[[File:FileChooser Bookmarks Breadcrumbs win.png|right|thumb|400px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} Windows GTK File Chooser: highlighting breadcrumbs and bookmarking]]
The Open and Save dialogs (File Chooser) for Gramps are based on the [https://docs.gtk.org/gtk3/iface.FileChooser.html GTK File Chooser]. Each operating system has expected behaviors for clicks, double-clicks, sorting, [[Gramps_5.1_Wiki_Manual_-_Keybindings#Handy_Shortcuts|keybindings]], environmental variables, and standard file locations that are characteristic of File Chooser dialogs native to the operating system. A few of these can be customized via the user interface to feel more similar to the OS native File Choosers.
Th [https://developer-old.gnome.org/gtk4/stable/GtkFileChooser.html GtkFileChooser] allows for adding quick navigation hotlinks to commonly used places of the filesystem. In the default implementation, these are displayed in the left sidebar navigation pane. It may be a bit unclear at first that these shortcuts come from various sources and in various flavors, so let's explain the terminology here:
* '''[[#Bookmarking_file_folders|Bookmarks]]''': are created by the user, by dragging folders from the right pane to the left pane, or by using the “Add”. Bookmarks can be renamed and deleted by the user.
* '''Shortcuts''': can be provided by the Gramps application. For example, program may want to add a shortcut for a Downloads or Documents folder. Shortcuts ''cannot'' be added or removed by the user. The the 'Rename...' context menu option allows them to be relabeled.
* '''Volumes''': are provided by the underlying filesystem abstraction. They are the “roots” of the filesystem. The Home and Downloads hotlinks are common "roots". Volumes cannot be modified by the user.
====Context Menu options====
Right-click on any file or folder in the current directory to open context pop-up menu with the following options: