为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.