Closed Bug 1768500 Opened 2 years ago Closed 2 years ago

File Open dialogue opened by [Ctrl+o] cannot be close by [Esc]


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

Firefox 100





(Reporter: asavage, Unassigned)


(Blocks 1 open bug)



(2 files)

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

Steps to reproduce:

{Ctrl+o] (File|Open)

Actual results:

The File|Open dialogue does not close

Expected results:

The dialogue should process the [Esc] keystroke, and close

It appears that focus is somewhere else when opening the File|Open dialogue via [Ctrl+o]. If I click on the title bar, then [Esc] is processed.

Component: Untriaged → Widget: Gtk
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64

Cannot reproduce under GNOME, on Wayland, on Fedora 35. Please provide more information about your system.

Flags: needinfo?(asavage)

Ubuntu 22.04
Gnome 42

Flags: needinfo?(asavage)
Attached file Firefox_100_Info.xml

Is that default snap Firefox from Ubuntu repository?
Can you try plain Mozilla binaries?

Flags: needinfo?(asavage)

I have to run snap Firefox, so this is the installation that I have to report & fix.

Aside from that, Ubuntu does not make it transparently easy to install non-snap Firefox, as of 22.04 .

Flags: needinfo?(asavage)

You can test Mozilla binaries directly, just download & unpack the tarball.

Blocks: snap
Priority: -- → P3

Testing with the unpacked binaries version, the File|Open dialogue can be closed with [Esc]; the problem does not exhibit here with that version; it operates as expected.

I had invoked Firefox via Terminal using:
MOZ_ENABLE_WAYLAND=1 ./firefox -ProfileManager -no-remote

Do you still reproduce this one ? When I was testing another issue, Escape was working fine (both on XWayland and on Wayland).

Flags: needinfo?(asavage)

I am no longer using the snap version of FF, and as noted @8, the binaries version does not exhibit the issue.

(In reply to Al Savage from comment #11)

I am no longer using the snap version of FF, and as noted @8, the binaries version does not exhibit the issue.

Right, but a lot of things were fixed in those elements since you filed your issue, and since nobody on our side is reproducing it would be welcome if you could give it a new try (snap and out binaries should not use the same profile, so there should be no risk of data loss) just to verify if you can still repro

asavage@Ubuntu1:~$ snap install firefox
firefox 102.0-2 from Mozilla✓ installed
asavage@Ubuntu1:~$ snap run firefox
Importing existing firefox profiles from /home/asavage/.mozilla/firefox
Found default profile: ns6fx7tc.default
Import done in 16.823 s
Gtk-Message: 14:54:07.806: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:54:07.808: Failed to load module "canberra-gtk-module"

Using this install, [Ctrl+o] opens the dialogue, and [Esc] does close it. I would consider this fixed.

Flags: needinfo?(asavage)

Thanks for having taken the time!

Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.