Going back up one directory in save dialog prevents save or obscures view with popup conditionally
Steps to reproduce
- Press Ctrl+S in a GTK application while an untitled document is open (such as in Gedit or Geany).
- Enter a writable directory inside another writable directory (such as
/home/user/Documents/Programming/Cpp
). - Navigate "up" by one directory (such as by clicking "Programming" in the breadcrumbs at the top of the save window in the example given in 2 above).
- Press "Save"
Current behavior
The outcome is inconsistent:
A. The document doesn't save, and the window navigates back to the selected directory.
- Behavior A seems reproducible by initially entering the deepest directory using the directory list then clicking back by one using the breadcrumbs (rather than going back and forth using the breadcrumbs).
B. (1)A popup appears in the filename box--(2)if there are many files, it will obscure other widgets and prevent navigation. The dialog stays open.
- Behavior B seems reproducible by clicking back and forth between the shallow and deep breadcrumbs (rather than using directory list to enter the directory initially). The filename must be different than some existing file (Save "Untitled Document 1") then "Save As" then replace 1 with 2, then follow the steps 2-3 reproduce the issue.
C. The document saves in the clicked directory and the dialog closes as expected.
For B, the workaround is to go back up two directories (such as by clicking "Documents" in the breadcrumbs in the example scenario) then double-click the directory you want (such as by double-clicking "Programming" in the directory list).
Expected outcome
- Behavior C should occur: Pressing a breadcrumb should deselect the deeper directory the user tried to exit by clicking it, allowing the user to click save to save in the clicked directory.
- Clicking a breadcrumb should never cause the autocomplete popup to appear.
Version information
- GTK: gtk3-3.24.23-1.fc32.x86_64 gtk2-2.24.32-7.fc32.x86_64
- Fedora 32
Additional information
Edited by Jacob Gustafson