Skip to content

[Bug]: Browser cookie import is disabled when the desktop app uses a separate background service instead of its own backend #41522

Open

Description

@bdsqqq

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

written by Claude Opus 5.5 in pi on behalf of Igor, pi session 01a208ec-02d9-7464-a7be-579456cbb97c (no public session link).

  1. Run T3 Code as the background service (com.t3tools.t3code.service, t3 serve), so the server keeps running when the desktop app closes.
  2. In the desktop app, turn off the app's own local environment and connect to that service.
  3. Open Settings → Browser → Browser profiles → Add profile.
  4. Look at the Import from group.

Expected behavior

The installed browsers under Import from can be selected, and importing cookies works, since the desktop app is connected to this machine's server.

Actual behavior

Every browser under Import from (Chrome, Helium, Safari, Firefox here) is disabled, and the menu ends with "Connect to an environment to import cookies." The service is connected and everything else works.

Diagnosis, from upstream main:

Related: #29156 moves this check into a shared hook for a toolbar entry point, so it would carry the same gate there. #37664 covers how these profile settings are labelled, not this gate.

Impact

Minor bug or occasional failure

Version or commit

0.1.12-nightly.20261123

Environment

macOS (Darwin 27.2, arm64), T3 Code (Nightly) desktop app, background service on the same machine

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Turn the desktop app's own local environment on, import, then turn it off again. I haven't confirmed that the imported profile survives switching back.

Activity

  1. added
    bug
    needs-triage
    on Nov 23, 2026
  2. 2SinceJuly commented on Nov 23, 2026

    @2SinceJuly
    Contributor

    Closing the loop: #41525 already fixes this (this machine's environment when the app's own backend is off), so I dropped the duplicate work I had started rather than open a competing PR.

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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions