Open Bug 1806864 Opened 3 years ago Updated 3 years ago

UI deadlock when saving to file with invalid file name

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 108
defect

Tracking

()

UNCONFIRMED

People

(Reporter: martin.strecker, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

The problem always occurs when trying to save a page (Ctrl-s) with a file name that is deemed "invalid" (probably a file name containing non-ASCII characters, white space, dashes or similar).

Actual results:

Please also see attached screenshot:

  • a window "Invalid file name" pops up
  • it is impossible to close this window with the OK button or with the "close window" button (small cross) in the upper right corner of the window.
  • it is impossible to modify the file name in the "Save as" dialog window. (It is hard to tell whether the "invalid file name" window closes and immediately pops up again when clicking OK because the file name remains invalid.)
  • any other reasonable interaction with Firefox (closing tabs or other Firefox windows, shutting down Firefox with Quit) is impossible because the system is completely frozen.

The only way to close Firefox is to kill the process.

Expected results:

At least not a deadlock.

A reasonable interaction might be
(1) not to display the "invalid file name" window when the "save as" window is opened, even if the file name it contains is invalid
(2) to permit the user to modify the file name first
(3) to display the "invalid file name" button only after the "save" button of the "save as" window is clicked with an invalid file name
(4) to be able to close this window and then restart with (1)

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: