Showing questions tagged: Show all questions
  • Solved
  • Archived

Unable to show File Picker

This was going to be a question about Firefox being unable to display the file picker dialog, but I managed to find a solution that worked for me along the way. Since it … (read more)

This was going to be a question about Firefox being unable to display the file picker dialog, but I managed to find a solution that worked for me along the way. Since it was nowhere near the top of Google's results, I thought I'll share my solution in the hopes that this would help someone facing this same issue.

The hardware:

  • Asus UM425IA Zenbook (AMD Ryzen 7 4700U CPU)

Worked in:

  • Ubuntu 20.04 LTS
  • Firefox provided by APT repository
  • Xorg display server

Not working in:

  • Ubuntu 22.04 LTS
  • Firefox 99.0.1 provided by snap
  • Wayland display server
  • File picker worked briefly on fresh install, but something (not sure what) quickly breaks file picker functionality

The symptoms:

  • Firefox stopped being able to open file picker dialogs
  • Right clicking an image and selecting "Save Image As..." does nothing
  • With forms that accept file upload (such as on this post question page "Add images (optional):"), clicking "Browse" does nothing
  • File downloads work correctly when set to "Save files to ..." under Settings, but nothing happens when set to "Always ask you where to save files"
  • No response to "Ctrl + O" open file shortcut

Similar questions and solutions:

Things I tried that did not work:

  • Disabling hardware acceleration
  • Starting with add-ons disabled
  • Troubleshoot mode
  • Clearing startup cache
  • Clearing cookies and site data
  • Clearing history
  • Refreshing Firefox
  • Creating and using a new profile
  • Deleting the `xulstore.json` file from the profile directory
  • Toggling all permissions under Ubuntu Settings > Applications > Firefox to off and then back to on
  • chmod 777 ~/Downloads
  • Disabling native file picker "ui.allow_platform_file_picker = false"

And finally, what fixed it for me was to go into "about:config" and change "widget.use-xdg-desktop-portal.file-picker" from "2" to "0". Credit to this post that clued me in.

I really hope this saves someone else 2 days of hair pulling and I would appreciate advice from someone more knowledgeable than me on:

  • Why this fixed the problem
  • Whether I should be opening a bug report either against Firefox, or Ubuntu
  • Whether I should also be changing "widget.use-xdg-desktop-portal.mime-handler" and "widget.use-xdg-desktop-portal.settings", both are currently set to "2"

Asked by James Fu 2 years ago

Answered by Kiki 1 year ago

  • Solved
  • Archived

Double space is back in firefox for me firefox 99.0

There is a specific challenge that i am facing with Firefox and some of the solutions that i have tried is not helping me to resolve the issue. What's the issue: There a… (read more)

There is a specific challenge that i am facing with Firefox and some of the solutions that i have tried is not helping me to resolve the issue.

What's the issue: There are double spaces issue in Firefox

Where is it : 1) Menu 1.1) It's in the Menu New Tab is seen to me as New Tab (more spaces are for demonstration only) 1.2) All the Menu items which have space are show with more then one space including

  1.2.1) File Menu -> New   Window (and all the drop down menus with spaces)
  1.2.2) Edit Menu -> Select     All (and all the drop down menus with spaces)
  1.2.3) View-> Page     Style (and all the drop down menus with spaces)
   1.2.4) All the rest of the menus where ever there is a space there is a double space

2) URL : I type something in the URL and they are double spaced "this is test" will look like "this is test"

   THIS URL looks to be double spaced on firefox https://support.mozilla.org/en-US/questions/1338204?page=2
   like below

3) Numbers in the browser :

   Any number displayed is double spaced in the browser output (most of the times, most of the web pages)
   
   

4) Bookmarks : All bookmarks are double spaced

5) Settings:

Settings: I have tried some suggestions below and they did not work for me.

browser.proton.contextmenus.enabled browser.proton.contextmenus.enabled is still set to false but seems to have no effect toolkit.legacyUserProfileCustomizations.stylesheets=true browser.proton.contextmenus.enabled=false


6) Reference: I have tried some suggestions below and they did not work for me.

 https://support.mozilla.org/bm/questions/1350754
 https://support.mozilla.org/en-US/questions/1186601
 https://support.mozilla.org/en-US/questions/1338204?page=2
 https://superuser.com/questions/1654597/firefox-menus-became-double-spaced-in-latest-update-i-want-to-return-to-single

Asked by Nataraj 2 years ago

Answered by cor-el 1 year ago