7

I've been a long-time Linux and Ubuntu user and recently upgraded to Ubuntu 22.04 LTS. One very annoying thing now is that whenever I'm trying to save a page or print to pdf from Firefox, if I try to edit the filename, the input will always switch to search with anything I type instead of changing the filename. This may be unrelated to Firefox but that has been where I felt the problem so...

Was there some setting that changed recently? Perhaps some GTK thing? I know that now Firefox is installed as a snap; could that be the problem somehow?

Note, by upgraded I mean, that I did a fresh install but keep all the files in my home, which is kept in a separate partition. Also, in case it matters, I'm using the mate desktop.

Edit: There are some previous questions before on keyboard operation and certain buttons not having the default focus when they should. My question is different in the sense that I'm unable to edit the filename before saving because of the constant change in focus. The only workaround thus far involves opening a separate text editor, typing the name I want and then copy and paste.

7
  • Little users seem to notice this annoying bug, which is due to xdg-desktop-portal-gtk
    – vanadium
    Commented Jun 14, 2022 at 6:33
  • Does this answer your question? How to make Chrome browser "Save as" dialog to be on focus when opening under Ubuntu 21.04?
    – vanadium
    Commented Jun 14, 2022 at 6:39
  • The problem is indeed related to Firefox being a snap, but the issue is not limited to snap: it affects all containerized applications, and I guess only when using GTK4 file dialogs.
    – vanadium
    Commented Jun 14, 2022 at 6:40
  • @vanadium Although the problem mentioned in that question may be related, it is different than the one I describe. I'm ok using the mouse. Now imagine that one selects the filename text box and every time one types, the focus changes to a search box and that that text appears in there instead. Again and again... It seems that the only solution is to nix Firefox through snap and install it manually.
    – ATony
    Commented Jun 14, 2022 at 11:24
  • 1
    I see. I removed the close vote. I cannot reproduce that particular issue, though.
    – vanadium
    Commented Jun 14, 2022 at 12:33

1 Answer 1

2

This a known GNOME bug that's been around for quite a while and is related to the file chooser, not Firefox. The good news is that, according to GNOME developer Luca Bacci, the bug will be fixed in the next GTK release:

Hi Thomas! Are you experiencing issue #4880 (closed) in Ubuntu 22.04? If so, that is going to be fixed in the next GTK stable release. This issue was closed automatically by GitLab, but the fix has not yet arrived to distros.

Although the problem will be gone in the next GTK release, I have no idea what Ubuntu version this will ship with though or if it will be ported to 22.04. Till then, I don't think you can do something to workaround this admittedly annoying issue.

1
  • 1
    Don't think this is fixed yet, but it is super annoying Commented Jul 12, 2023 at 22:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .