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.75k stars 167 forks source link

Unable to login #108

Open KBeDevel opened 4 years ago

KBeDevel commented 4 years ago

Bug description I'm unable to pass the "login screen"

Steps to reproduce

  1. Open figma-linux
  2. Click on "Log in with browser"

Expected behavior

A new tab/window should be opened in the default browser with the generated auth link, and the session should be confirmed to the desktop app redirecting to the "app home".

Current behavior

The application remains in the "Go to the browser to complete login" screen without launching any event and/or GUI change.

Screenshots

image

image

Bash output:

... $ figma-linux 
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Gtk-Message: 17:33:55.267: Failed to load module "appmenu-gtk-module"
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
You've got a 266 fonts in your os.
(node:71065) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:71065) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[wm] already signed in? false
[71140:0527/173355.660532:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
local fonts support is enabled
newWindow, url:  https://www.figma.com/app_auth/<AUTH_TOKEN>/grant
user-open error: cannot find snap for connection: not supported

Additional context

MateuszKawka commented 4 years ago

there is a solution on the horizon? I have same problem from at least 3 months, fedora 31 and 32, same browser

talentlessguy commented 4 years ago

@MateuszKawka works for me just fine using an AUR package :thinking:

with Firefox 78 Dev Edition

KBeDevel commented 4 years ago

@talentlessguy Which version of figma are you using?

talentlessguy commented 4 years ago

@KBeDevel latest

KBeDevel commented 4 years ago

Today, I tested with the same workflow, but using Mozilla Firefox 79.0, and it works after the second try. On the first try, the app keeps on the loading... screen, showing a helper message on the top saying: Go back and try again

[UPDATE] The output is:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Gtk-Message: 19:54:47.170: Failed to load module "colorreload-gtk-module"
Gtk-Message: 19:54:47.170: Failed to load module "appmenu-gtk-module"
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
(node:57592) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:57592) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[wm] already signed in? false
local fonts support is enabled
newWindow, url:  https://www.figma.com/app_auth/<auth_token>/grant
second-instance, argv:  [
  '/snap/figma-linux/70/figma-linux',
  'figma://app_auth/redeem?g_secret=<secret_token>',
  '--no-sandbox'
]
local fonts support is enabled
figma.st cookie changed: explicit figma.st .www.figma.com 
newWindow, url:  https://www.figma.com/app_auth/<auth_token>/grant
second-instance, argv:  [
  '/snap/figma-linux/70/figma-linux',
  'figma://app_auth/redeem?g_secret=<secret_token>',
  '--no-sandbox'
]
dospuntocero commented 4 years ago

for me the [open the desktop app] does nothing as button.

Gtk-Message: 10:02:01.049: Failed to load module "appmenu-gtk-module" Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed You've got a 885 fonts in your os. (node:37406) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. (node:37406) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. [wm] already signed in? false local fonts support is enabled newWindow, url: https://www.figma.com/app_auth/[token]/grant

daravi commented 3 years ago

Same issue on CentOS 8 installed via snap. However I see this error

[user@host ~]$ sudo snap install figma-linux
[sudo] password for user: 
figma-linux 0.7.1 from YouDontHavePermission (youdonthavepermissiony) installed
[user@host ~]$ figma-linux 
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" setting to invalid value "figma"
Gtk-Message: 14:46:55.949: Failed to load module "pk-gtk-module"
Gtk-Message: 14:46:55.952: Failed to load module "pk-gtk-module"
[1/11/2021, 2:46:56 PM]:[INFO] - [wm] already signed in? false
ChugunovRoman commented 3 years ago

@daravi do you have the latest version of Snapd?

ChugunovRoman commented 3 years ago

@daravi try non-snap package

ChugunovRoman commented 3 years ago

@daravi https://youtrack.jetbrains.com/issue/SPACE-11892

StiliyanKushev commented 2 years ago

Same issue here, in 2022....

KBeDevel commented 2 years ago

I have tested the RPM package (v0.10.0), this time using Fedora 37 KDE Workstation under Wayland with Firefox 106.0.4 and works like a charm.

Fandyfr commented 11 months ago

image Help Meee!! can't login on figma for Linux/Ubuntu Pro

KBeDevel commented 10 months ago

@Fandyfr What's your desktop env?

Fandyfr commented 10 months ago

im use Ubuntu Pro Gnome version 22.04.3 LTS OS Type: 64 Bit Gnome Version: 42.9 Windowing System X11 Hardware model: ROG Strix G712LU

Pada Kam, 11 Jan 2024 22.10, Benjamin @.***> menulis:

@Fandyfr https://github.com/Fandyfr What's your desktop env?

— Reply to this email directly, view it on GitHub https://github.com/Figma-Linux/figma-linux/issues/108#issuecomment-1887244460, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGA5L6Z2S7MYBQA5UN7R6TYN7XHBAVCNFSM4NMRBAG2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYG4ZDINBUGYYA . You are receiving this because you were mentioned.Message ID: @.***>

KBeDevel commented 10 months ago

@Fandyfr Which figma-linux version are you using? Are you using the Snap package? If that's the case, you can try to use the last version (0.11.2). In Snapcraft is registered as the "edge" version:

snap install figma-linux --edge
Fandyfr commented 10 months ago

@Fandyfr Which figma-linux version are you using? Are you using the Snap package? If that's the case, you can try to use the last version (0.11.2). In Snapcraft is registered as the "edge" version:

snap install figma-linux --edge

it's the same bro, I installed it and used it snap install figma-linux --edge that same An error occured. Please try Again.

KBeDevel commented 10 months ago

@ChugunovRoman Sorry to pin you. Any ideas about this?

@Fandyfr give a try to the Flatpak package, works like a charm (at least on KDE x11). I'm not longer using the Snap package (neither Snapd itself) so I haven't tested this exact issue again.