搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

File Chooser Issue Under Linux (Ubuntu)

  • 5 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 superseth

more options

Using either the SNAP or .deb versions of Firefox on Ubuntu 22.04 I am running into issues attaching files on remote systems. I can browse to mounted network drives and select files but when clicking open nothing is attached in any of my online email accounts. This also applies to the open dialog box. I have tried using the KDE File Picker as well as the GTK one but they both fail. This is not an issue for LibreOffice or other programs and greatly impacts the usefulness of Firefox.

Using either the SNAP or .deb versions of Firefox on Ubuntu 22.04 I am running into issues attaching files on remote systems. I can browse to mounted network drives and select files but when clicking open nothing is attached in any of my online email accounts. This also applies to the open dialog box. I have tried using the KDE File Picker as well as the GTK one but they both fail. This is not an issue for LibreOffice or other programs and greatly impacts the usefulness of Firefox.

所有回覆 (5)

more options

I don't know whether the comments I posted last August are relevant to your scenario, since the xdg-desktop-portal issue usually affects ALL use of the file chooser:

https://support.mozilla.org/questions/1386312

Maybe it's some kind of file permission problem??

more options

This is interesting and it would be helpful if you provide steps and screenshots to replicate your issue.

more options

Yes so for this example I will be using the snap version of firefox.

I mount my network drive through gnome and load up my web-based email client. Clicking the attach button allows me to navigate to a simple html file and select it (Shot 1). When I click "Open", nothing happens and I just get (Shot 2).

If I get the direct path to the file on my machine I can confirm I have access to it. (Shot 3)

Strangely if I use the .deb version directly from Mozilla I cannot see the network mount using the GTK3 file picker. If I switch to the KDE selector I can, but I get a clear message that I don't have permission.

I am happy to get more information, I will admit I'm a bit lost trying these different options out.

more options

Note that Snap has limitations when it comes to accessing local files. Files in the Home directory should be Okay, by files located elsewhere might not be accessible.

more options

yes I had originally suspected that, but it is actually with the .deb install from the Mozilla PPA that I can't even see the network mount via the GTK file picker. All very strange behavior. Does this work for anyone? I know Ubuntu hasn't made things the easiest with all the snap nonsense.