Figma-Linux / figma-linux

Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join us in https://t.me/figma_linux
GNU General Public License v2.0
2.63k stars 159 forks source link

[Bug] Figma (Flatpak) can't export/import files #393

Open Hexality opened 1 month ago

Hexality commented 1 month ago

App version: 0.11.4 The output of screenfetch:

DISTRO      Ultramarine Linux lostumbrella 40 (Flagship Edition) x86_64
├ Kernel    Linux 6.9.9-200.fc40.x86_64
├ Packages  2871 (rpm), 14 (flatpak-system), 1 (flatpak-user)
└ Shell     fish 3.7.0
DE/WM       Mutter(Budgie) (X11)
├ Icons     Papirus-Dark [GTK2/3/4]
├ Cursor    Reimu (24px)
├ Font      JetBrainsMono Nerd Font (10pt)
└ Terminal  tilix
├ CPU       AMD Ryzen 5 5500 (12) @ 4.27 GHz
├ GPU       GeForce RTX 3060 Lite Hash Rate
├ Res       1920x1080 @ 144Hz, 1360x768 @ 60Hz
├ RAM       4.40 GiB / 23.26 GiB (19%)
└ Uptime    30 mins

Type of installed package (Snap, AppImage, deb, rpm, pacman):

Flatpak

Bug description

The flatpak version doesn't come with access to all files, leading it to fail when trying to import files through drag and drop, or when trying to export stuff.

Screenshots

Additional context

The issue is only resolved if you enable filesystem=host permission within flatseal to allow files to be saved anywhere, or by enabling filesystem=home which allows files to be saved within any folder inside $HOME.

justresisting commented 1 month ago

I just noticed this is also true in the .AppImage. I know how to make the changes to filesystem=host in Flatseal but how would you do it with the AppImage?

justresisting commented 1 month ago

I successfully figured it out using Gear Level, a Flatpak app that installs AppImages.

Open Gear Level Click on figma-linux Scroll to the bottom to a section marked

Environment Variables

insert filesystem=home in the correct input form.

There are two boxes with an equal sign between them.

insert filesystem in one and home in the other.