Public bug reported: Impact ------ Ubuntu uses xdg-desktop-portal-gnome for the save dialog for snaps (like Firefox or Chromium). xdg-desktop-portal-gnome in Ubuntu 22.04 uses gtk4 This issue also affects gnome-text-editor which uses gtk4 directly.
Attempting to save a file to an empty folder won't work in many cases because the Save button is insensitive (unable to be clicked). Test Case --------- View this page with the Firefox or Chromium snaps. Press Ctrl+S to try to save this page. Navigate to a folder without any files in it. (It can have other folders in it.) The Save button should stay lit up. Save the file. Note that I wasn't able to reproduce the bug for bookmarked folders in the left sidebar so just navigate using the main view area. What Could Go Wrong -------------------- This is a one-line bug fix from the stable gtk-4-6 branch targeted to directly fix this issue. Other Notes ----------- I do not believe we need to respin the Ubuntu 22.04 ISOs for this issue. I do request a 0-day SRU since this is a small high impact fix that affects the usability of the Firefox snap. ** Affects: gtk Importance: Unknown Status: Unknown ** Affects: gtk4 (Ubuntu) Importance: High Assignee: Jeremy Bicha (jbicha) Status: In Progress ** Tags: jammy ** Summary changed: - save file dialog doesn't allow saving to empty directory + save file dialog doesn't allow saving to a directory without files ** Description changed: Impact ------ Ubuntu uses xdg-desktop-portal-gnome for the save dialog for snaps (like Firefox or Chromium). xdg-desktop-portal-gnome in Ubuntu 22.04 uses gtk4 This issue also affects gnome-text-editor which uses gtk4 directly. Attempting to save a file to an empty folder won't work in many cases because the Save button is insensitive (unable to be clicked). Test Case --------- View this page with the Firefox or Chromium snaps. Press Ctrl+S to try to save this page. - Navigate to an empty folder. + Navigate to a folder without any files in it. (It can have other folders in it.) The Save button should stay lit up. Save the file. Note that I wasn't able to reproduce the bug for bookmarked folders in the left sidebar so just navigate using the main view area. What Could Go Wrong -------------------- This is a one-line bug fix from the stable gtk-4-6 branch targeted to directly fix this issue. Other Notes ----------- I do not believe we need to respin the Ubuntu 22.04 ISOs for this issue. I do request a 0-day SRU since this is a small high impact fix that affects the usability of the Firefox snap. ** Bug watch added: gitlab.gnome.org/GNOME/gtk/-/issues #4851 https://gitlab.gnome.org/GNOME/gtk/-/issues/4851 ** Also affects: gtk via https://gitlab.gnome.org/GNOME/gtk/-/issues/4851 Importance: Unknown Status: Unknown ** Changed in: gtk4 (Ubuntu) Assignee: (unassigned) => Jeremy Bicha (jbicha) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969622 Title: save file dialog doesn't allow saving to a directory without files To manage notifications about this bug go to: https://bugs.launchpad.net/gtk/+bug/1969622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs