Closed Bug 2049251 Opened 1 month ago Closed 1 month ago

File Dialog (Save as) ignores "Enter" key on saving since firefox 152.0

Categories

(Core :: Widget: Gtk, defect)

Firefox 152
defect

Tracking

()

RESOLVED DUPLICATE of bug 2047865

People

(Reporter: hanno, Unassigned)

Details

(Keywords: regression)

Since the Firefox version (152.0), something with the file dialog seems broken. (Linux/Gtk+, on Gentoo Linux, LXQT Environment)

When I do rightclick->"Save Page As" and then just type a filename and press "Enter", I'd expect the file to be saved. However, pressing Enter is simply ignored and the only way to save the file is to click the "Save" Button with the mouse (meaning, effectively, I cannot save something with the keyboard only, which is very annoying).

I just checked with a manually downloaded version of firefox 151.4 and it does not happen there, so it seems something broke with 152.0.

Could you establish a more precise regression range using mozregression please?

Flags: needinfo?(hanno)

You can use Alt+S to save using the keyboard as a workaround.

Another thing that might be relevant: normally the Save button is coloured green; this indicates it is the default button and is why the Enter key activates it, but now it is no longer green (which is why Enter no longer works).

mozregression found this range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=04f987534771f13e35e82074986a422e4b13b44a&tochange=4201ad8bbb183a6ae00df4cfd5d775a976564828

Although it fixes something (unclear to me what, the bug is hidden) for the file picker for opening files rather than saving them, It's the only one mentioning file picker in its commit message, so this patch might be related:
https://hg-edge.mozilla.org/mozilla-central/rev/984fa350913586b986271852a6b29b0261a26ddb

Some other issue I discovered which is most likely related to disabling the default behaviour: the save dialog no longer checks if a file exists, so it's very easy to accidentally overwrite a file with the same name and lose data.

Set release status flags based on info from the regressing bug 2033848

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2047865
Flags: needinfo?(hanno)
Resolution: --- → DUPLICATE
Comment 5 is private: false
You need to log in before you can comment on or make changes to this bug.