Skip to content

[Bug]: Unsaved PR review comment text is lost when macOS switches between dark and light mode #37996

Closed

Description

@mbrq-cs

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

  1. Set macOS Appearance to Dark (or Auto).
  2. In T3 Code, open a pull request and go to the Code tab.
  3. Open a comment editor: either start a new review comment or reply, or edit an existing comment.
  4. Type some text and do not click Save.
  5. Switch macOS Appearance to Light (System Settings > Appearance, or let Auto switch it).

Expected behavior

The editor stays open and keeps the unsaved text after the appearance change.

Actual behavior

The unsaved text is gone after the appearance change, for both new comments and edits to existing ones. Nothing warns about it and there is no way to get it back. It happens every time. I lost about 20-30 minutes of writing to it.

Impact

Minor bug or occasional failure

Version or commit

T3 Code (Beta) 0.1.10

Environment

macOS 27.0.1, T3 Code desktop app

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Write long comments in an external editor and paste them in, or keep macOS Appearance fixed while editing.

Activity

  1. added
    bug
    needs-triage
    on Nov 17, 2026
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