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.62k stars 160 forks source link

App is not loading #28

Closed yuriifabirovskyi closed 5 years ago

yuriifabirovskyi commented 5 years ago

Bug description App is not loading. I`m waiting almost 10 minutes and it still is loading. In web browser it works fine.

Screenshots image

ChugunovRoman commented 5 years ago

Yes, I know about that. Now, Im trying to resolve this problem. Something changed on Figma side web app, but I do not know what.

Projekt-43 commented 5 years ago

Of course same here... =)

@ChugunovRoman Would you like some DevTools console logs + CLI output?

ChugunovRoman commented 5 years ago

No. Thx. I have got the console logs, but it do not help to understand why the app does not work. To understand what happening, I need more logs from Figma web app, or source code of Figma web app (Not my app). But that is impossible :C

ChugunovRoman commented 5 years ago

I can execute the overwritten (for example, I can add a logs into code) Figma web app code in DevTools. But to work with the optimized code is very difficult.

ChugunovRoman commented 5 years ago

I need help of more senior web developers... Or help of the figma web app developers. But they wasn't interested in that. Or just I need more time

Projekt-43 commented 5 years ago

@ChugunovRoman by "web app", you mean the one accessible from any browser or the installable one for Mac / Windows?

Sorry, I'm not enough inside web development to help more...

ChugunovRoman commented 5 years ago

When I say "web app", I mean the main figma application (site). Which execute on any browser by the https://www.figma.com/files/recent url. Any figma desktop app is wrapper for the figma web app.

Projekt-43 commented 5 years ago

So I can give you console log from Chromium and from the wrapper from carloslfu if it can help.

AppImage_carloslfu_www.figma.com-1550156936617.log Chromium_72.0.3626.81_www.figma.com-1550156762021.log

This are logs until I reach a fully functional dashboard.

acidicX commented 5 years ago

log from inside electron: www.figma.com-1550159572185.log

log from inside chrome: www.figma.com-1550159669855.log

I am guessing that figma switched to WebAssembly for some modules, you can see it in the chrome log:

16:54:18.124 figma_app.0ffc7d060e1e6b8f813650c66d07633c.min.js:135 Initializing C++ code (WebAssembly)

I'm not sure Electron v3 supports WASM fully. Might be good to upgrade to v4 to get a more recent V8/Chromium.

ChugunovRoman commented 5 years ago

The figma web app use WebAssembly already long. Ok. I'll try to upgrade electron version

ChugunovRoman commented 5 years ago

The error was here: selection_027

The i.editingFileKey accept one argument, which must contain the fullscreen property. But the arg is null. Because i.editingFileKey function execute from the r.regEditingFile, and this function passed the e.selectrdView propery into the i.editingFileKey function. But I don't know where setting selectedView property. selection_028

ChugunovRoman commented 5 years ago

Try install the 0.4.0 release It'll published on Launchpad later

jordanjmann1 commented 5 years ago

@ChugunovRoman Working for me, thanks for the hard work man!

Projekt-43 commented 5 years ago

figma-linux.0.4.0.AppImage is fixing the issue for me!! =))

@ChugunovRoman you're awesome!! Thank you for super quick fix!!

@acidicX An update to your fresh AUR package?? ;)

ChugunovRoman commented 5 years ago

@acidicX An update to your fresh AUR package?? ;)

For now, I cannot build the pacman package for AUR. Problem in electron-builder #3494

Projekt-43 commented 5 years ago

For now, I cannot build the pacman package for AUR.

@acidicX made an AUR package using figma-linux-0.4.0.zip few days ago (BTW thank you @acidicX !).

When I tested it, it installed flawlessly, but I had this issue (#28).

ChugunovRoman commented 5 years ago

The figma-linux app already exists in AUR, #20 image

acidicX commented 5 years ago

@Projekt-43 yeah, I'll update it now. You're welcome!

acidicX commented 5 years ago

@ChugunovRoman my AUR build uses the zipfile, all good

yuriifabirovskyi commented 5 years ago

Wow. Thanks.:)

nearbrogithub commented 5 years ago

Роман, привет. Спасибо тебе большое за фигму на линуксе, но после 0.4.0 обновления я вообще не вижу приложения в распакованной папке, пишет нет приложений для открытия неразделенная библиотека. Подскажи пожалуйста что делаать, до этого все работало

ChugunovRoman commented 5 years ago

Роман, привет. Спасибо тебе большое за фигму на линуксе, но после 0.4.0 обновления я вообще не вижу приложения в распакованной папке, пишет нет приложений для открытия неразделенная библиотека. Подскажи пожалуйста что делаать, до этого все работало

Привет. Как ставил приложение? Как запускаешь? Можешь скрин прикрепить? Нужно больше информации.

ejexxeffer commented 5 years ago

СПАСИБО!