Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

File uploading does not work in Flatpak #43

Closed
kevin0xf opened this issue Sep 4, 2022 · 10 comments
Closed

File uploading does not work in Flatpak #43

kevin0xf opened this issue Sep 4, 2022 · 10 comments
Labels
bug Something isn't working flatpak

Comments

@kevin0xf
Copy link

kevin0xf commented Sep 4, 2022

As the title says, upon uploading a file via discord-screenaudio, I am met with an error.
image

@maltejur
Copy link
Owner

maltejur commented Sep 4, 2022

I can not reproduce this, can you share some steps that lead to that error and maybe the file you are trying to upload?

@maltejur maltejur added the bug Something isn't working label Sep 4, 2022
@kevin0xf
Copy link
Author

kevin0xf commented Sep 4, 2022

The file didn't matter.
I can state some system information though.
I'm on Arch Linux 5.19.5-arch1-1 running the GNOME desktop environment with the wayland display server.

Upon compiling discord-screenaudio for my machine, the issue has resolved itself automatically, beforehand I was using the version on flathub.

@kevin0xf kevin0xf closed this as completed Sep 4, 2022
@maltejur maltejur changed the title File uploading does not work File uploading does not work in Flatpak Sep 5, 2022
@maltejur
Copy link
Owner

maltejur commented Sep 5, 2022

Great to hear that you resolved the issue, but it seems this still is an issue with the Flatpak.

@maltejur maltejur reopened this Sep 5, 2022
@maltejur
Copy link
Owner

maltejur commented Sep 5, 2022

This probably has something to do with the Flatpak sandboxing and missing filesystem permissions.

@maotovisk
Copy link

it's flatpak sandboxing for sure

you can use the flatpak override command or flatseal to expose the filesystem, solving the problem.

@maltejur
Copy link
Owner

maltejur commented Sep 7, 2022

The filepicker should be still working btw, I think this issue only affects drag-and-drop. I am not sure if I want to add --filesystem=host though to fix the drag-and-drop issue (that kind of goes against the flatpak sandboxing).

@NelloKudo
Copy link

Yeah the only issue is flatpak sandboxing, it is a thing even with Discord's official client.
The fix is to simply give access using Flatseal to the needed folders or rather to /home files.

https://streamable.com/2nuts3

I think you can close the issue, not really a clientproblem

@maltejur
Copy link
Owner

This should still be fixed for the flatpak imo, I'll do that later

@maltejur maltejur reopened this Sep 11, 2022
@maltejur
Copy link
Owner

@maltejur
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working flatpak
Projects
None yet
Development

No branches or pull requests

4 participants