Skip to content

Login credentials are not saved in Snapmaker Orca Slicer 2.2.1 (Linux Flatpak & AppImage) #116

Open

Description

@Al-hoi

Description:
Snapmaker Orca Slicer v2.2.1 on Linux fails to save login credentials between sessions. Users must manually log in every time they start the application. This affects both Flatpak and AppImage installations.

Steps to reproduce:

Launch Snapmaker Orca Slicer 2.2.1 (Flatpak or AppImage).

Enter Snapmaker account credentials and log in successfully.

Close the application completely.

Reopen the slicer.

Expected behavior:
Credentials should persist, allowing automatic login or "Remember me" functionality on subsequent launches.

Actual behavior:
Login prompt appears every time, requiring full re-authentication.


System information:

OS: CachyOS (Arch Linux-based)

Version: Snapmaker Orca Slicer 2.2.1

Installation methods tested: Flatpak and AppImage

Desktop environment: [KDE, GNOME]

Activity

  1. zoncky commented on Jan 22, 2026

    @zoncky

    Same here on Fedora Workstation 43, Bazzite Gnome and Ubuntu (Debian).
    Flatpak and Appimage don't save credentials, I have to run printer in LAN mode only.

  2. EndermanAPM commented on Jan 26, 2026

    @EndermanAPM

    Same behavior here with Linux Mint 22.3

  3. Isoceth commented on Jan 27, 2026

    @Isoceth

    Investigation: Root Cause Identified

    After tracing through the codebase, the issue isn't related to SSL certificates — it's that the Snapmaker login token is never persisted to disk.

    What's happening

    The Snapmaker login flow (SMUserLogin dialog → https://id.snapmaker.com) captures an auth token from the redirect URL and stores it in an SMUserInfo struct (src/slic3r/GUI/GUI_App.hpp:449-475). This struct is a plain member variable on GUI_App:

    struct SMUserInfo {
        std::string m_login_user_name = "";
        std::string m_login_user_token = "";
        std::string m_login_user_icon_url = "";
        bool        m_login = false;
    };

    It lives entirely in memory. When the application exits, the token, username, and login state are all lost. On the next launch, m_login is default-constructed as false and the user is back to square one.

    There is no code anywhere that serialises this struct to AppConfig, a JSON file, or any other persistent storage — and no code that reads a saved token back on startup.

    Why it affects Linux specifically

    The home page "Login or Register" button triggers sm_request_login() (GUI_App.cpp:3837-3839), which uses the Snapmaker-specific login flow. This flow bypasses the inherited Bambu NetworkAgent library (which does have its own token persistence via the closed-source BambuNetworking library). On macOS/Windows, the WebView backend may retain session cookies more aggressively, partially masking the problem. On Linux (GTK WebKit), cookies don't persist between sessions either, so the missing persistence is fully exposed.

    Key code locations

    File Line(s) What
    src/slic3r/GUI/GUI_App.hpp 449–475, 738 SMUserInfo struct definition and member variable — memory-only, no persistence
    src/slic3r/GUI/WebSMUserLoginDialog.cpp 159–211 Token captured from URL redirect, stored only in memory
    src/slic3r/GUI/GUI_App.cpp 3629–3649 sm_get_login_info() reads from the in-memory struct; no disk fallback
    src/slic3r/GUI/GUI_App.cpp 3653–3661 sm_request_login() — entry point from the home page login button

    What a fix would need

    1. Save the auth token and user info to AppConfig or a file in data_dir() on successful login
    2. Load the saved token on startup and populate m_login_userinfo
    3. Validate the saved token on startup (e.g. call https://account.snapmaker.com/api/common/accounts/current) to handle expiry gracefully
  4. leavion commented on Jan 30, 2026

    @leavion

    The problem still exists with V2.2.3.

  5. leavion commented on Feb 9, 2026

    @leavion

    The problem still exists with V2.2.4.

    Based on what Isoceth discovered, it shouldn't be hard for Snapmaker to fix but for some reason they just ignore it. This issue isn't even assigned. I am not sure what it will take to get their attention.

  6. bula87 commented on Feb 12, 2026

    @bula87

    Just leaving the comment to hopefully rise priority of this issue. It is super annoying to login EVERY time you open the slicer!!!

  7. marcinbojko commented on Mar 10, 2026

    @marcinbojko

    No save for login data on 2.2.4

  8. added 2 commits that reference this issue on Mar 11, 2026
    0b508b2
    c51d93d
  9. i-am-ez76 commented on Apr 7, 2026

    @i-am-ez76

    Yeah the same for Ubuntu 24.10
    the only way i can use the Snapmaker on Linux is setting it to Lan mode.
    but then no app or push notifications.

    i am actually using an AI local agent (OpenClaw) and made it create a service via ssh on the snapmaker itself to use pushover services to send me the notifications.
    but Camera is not available of course.
    The problem is that i cannot connect to the snapmaker via app set to lan mode if i am connected remotely via vpn / wireguard as it is going through a hop machine on my lan.
    so either accept that i need to login every slicer open or not use the phone app.

  10. serkonda7 commented on May 6, 2026

    @serkonda7

    It's still not working! But in LAN mode I cannot use the app which is painful too

  11. i-am-ez76 commented on May 6, 2026

    @i-am-ez76
  12. leavion commented on May 7, 2026

    @leavion

    What's most annoying is that no one cares enough to fix this bug. No one has been even assigned to this bug.

  13. serkonda7 commented on May 7, 2026

    @serkonda7

    Especially there are open PRs that say they address the login issue but not even they are reviewed

  14. popy2k14 commented on May 7, 2026

    @popy2k14

    Same issue on any SnapMaker OrcaSlicer Version on Linux CachyOS & EndeavourOS (both Arch based).
    c'mon Snapmaker fix this long lasting bug!

  15. 4 remaining items

  16. le-avion commented on Sep 13, 2026

    @le-avion

    This was created Jan 13, 2026 and is still in state of New Issue and not assigned to anyone. Is this how all bug reports are handled? No one even bothered to look at this issue?

  17. i-am-ez76 commented on Sep 13, 2026

    @i-am-ez76
  18. serkonda7 commented on Sep 13, 2026

    @serkonda7

    @le-avion I already wrote to snapmaker support about this bug.
    Their answer was basically "We don't care about linux` (they worded it in corporate speech).

    @i-am-ez76 please feel free but there are already multiple PRs that would fix this issue that don't get reviewed...

  19. fakezeta commented on Sep 20, 2026

    @fakezeta

    up

  20. i-am-ez76 commented on Sep 20, 2026

    @i-am-ez76
  21. fakezeta commented on Sep 20, 2026

    @fakezeta

    Works perfectly thank you: but when it will be merged?

  22. marcinbojko commented on Sep 20, 2026

    @marcinbojko

    Works perfectly thank you: but when it will be merged?

    Knowing out friends at Snapmaker - if you won't scream on them - nothing happens.
    Mention this on their every facebook post when they brag some third party features when this requires only merging

  23. fakezeta commented on Sep 20, 2026

    @fakezeta

    Going to do it also in #840

  24. i-am-ez76 commented on Oct 8, 2026

    @i-am-ez76

    i fixed it myself for version V2.4.0
    grab it from here:
    https://drive.google.com/drive/folders/1eEnrd0V2d8y3FoQ2DauNi5GsGjUUFgmm?usp=sharing

  25. AlexanderArvidsson commented on Oct 10, 2026

    @AlexanderArvidsson

    31. i fixed it myself for version V2.4.0
    grab it from here:
    https://drive.google.com/drive/folders/1eEnrd0V2d8y3FoQ2DauNi5GsGjUUFgmm?usp=sharing

    No one should trust random AppImage links especially shared over Google Drive 😆 I strongly advise people to not download and install random AppImages shared online from strangers without some sort of verification of the changes they made.

    If you really fixed it yourself, you should show a commit from a fork of the changes you did.

  26. i-am-ez76 commented on Oct 10, 2026

    @i-am-ez76
  27. fakezeta commented on Oct 19, 2026

    @fakezeta

    Hi, latest appimage of 2.4.1 Alpha seems to solve the login issue at least for me.

    What about you?

  28. zoncky commented on Oct 19, 2026

    @zoncky

    Latest 2.4.1 Alpha Flatpak login issue solved as well

  29. zhangzhend0ng commented on Nov 3, 2026

    @zhangzhend0ng
    Collaborator

    Fixed in v2.4.1 — see "Fixed an issue where Linux users' login status could not be saved" in the v2.4.1 release notes. Please test on v2.4.1 and comment/reopen if it still reproduces on your setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions