Skip to content

Desktop zoom resets to 100% after restarting the app #50168

Description

@mitivil

Description

OpenCode Desktop does not remember the zoom selected with Ctrl++ / Ctrl+- (Cmd on macOS). After quitting and reopening the app, the interface returns to 100%. Expected: restore the last selected zoom.

In current v2, wireZoom() explicitly sets the factor to 1 and zoom changes are not persisted. This is still reproducible despite the earlier request #10423 being closed. Disabling pinch zoom also resets keyboard-selected zoom (#49096).

OpenCode version

2.0.11 / current v2

Steps to reproduce

  1. Increase the desktop UI zoom with Ctrl++.
  2. Quit OpenCode Desktop completely.
  3. Open it again: zoom returns to 100%.

Operating System

Linux

Activity

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