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.72k stars 165 forks source link

Figma crashed and not starting #388

Open xlsft opened 4 months ago

xlsft commented 4 months ago

App version: 0.11.4-0

                   -`                 
                  .o+`                 software@xl
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 6.9.3-arch1-1
               `+oooooo:               Uptime: 2d 5h 34m
               -+oooooo+:              Packages: 1332
             `/:-:++oooo+:             Shell: zsh 5.9
            `/++++/+++++++:            Resolution: No X Server
           `/++++++++++++++:           WM: Hyprland :D
          `/+++ooooooooooooo/`         GTK Theme: Tokyonight-Dark-BL-LB [GTK3]
         ./ooosssso++osssssso+`        Disk: 976G / 4.2T (24%)
        .oossssso-````/ossssss+`       CPU: AMD Ryzen 5 7500F 6-Core @ 12x 5.034GHz
       -osssssso.      :ssssssso.      GPU: NVIDIA GeForce RTX 4060
      :osssssss/        osssso+++.     RAM: 11592MiB / 31828MiB
     /ossssssss/        +ssssooo/-    
   `/ossssso+/:-        -:/+osssso+-  
  `+sso+:-`                 `.-/+oso: 
 `++:.                           `-/+/
 .`                                 `/

type: aur

Bug description After pasting big image figma just froze i do killall and then its not working in logs on startup there is electron error

[6/22/2024, 12:22:23 AM]:[ERROR] - uncaughtException: ,{"name":"TypeError","message":"Cannot read properties of undefined (reading 'focus')","stack":"TypeError: Cannot read properties of undefined (reading 'focus')\n    at registeredCancelCallbackMap.focusLastWindow (/opt/figma-linux/resources/app.asar/main/main.js:1:50971)\n    at App.emit (node:events:518:28)\n    at new menuManager (/opt/figma-linux/resources/app.asar/main/main.js:1:45166)\n    at Object.<anonymous> (/opt/figma-linux/resources/app.asar/main/main.js:1:44919)\n    at Module._compile (node:internal/modules/cjs/loader:1391:14)\n    at Module._extensions..js (node:internal/modules/cjs/loader:1451:10)\n    at Module.load (node:internal/modules/cjs/loader:1214:32)\n    at Module._load (node:internal/modules/cjs/loader:1030:12)\n    at c._load (node:electron/js2c/node_init:2:13672)\n    at node:electron/js2c/browser_init:2:125815"}

Additional context I already tried to rm -rf ~/.config/figma-linux, it doesnt help Reinstalling also doesn't help

xlsft commented 4 months ago

ok, rebooting helped, now trying to recreate issue