Skip to content

Conversation

@Lucky-Sharma
Copy link

@Lucky-Sharma Lucky-Sharma commented Nov 14, 2025

Fixes #1457.

This PR implements device-local zoom level persistence in the Zulip Desktop application. Previously, zoom levels reset on every app restart, forcing users to manually readjust zoom each time. This change stores zoom preferences locally per device using localStorage, allowing users to maintain independent zoom settings across different computers without cloud synchronization.

The implementation adds zoom persistence methods to the WebView component that save and restore zoom levels across app restarts and organization switches. All localStorage operations include error handling and validation to gracefully handle corrupted data or storage unavailability.

Tested on Windows.

Platforms this PR was tested on:

  • Windows
  • macOS (N/A — not available to test)
  • Linux (specify distro) (N/A — not available to test)

@Lucky-Sharma Lucky-Sharma force-pushed the fix/1457-remove-org-specific-zoom-level branch from c6c8fe6 to 99bcd38 Compare November 14, 2025 19:28
@shubham-padia
Copy link
Member

@Lucky-Sharma is this a PR you wrote or is this AI generated? The description seems AI generated. Please provide a concise and clear description in the PR and make sure you have tested all changes to work. If you are using AI, please see zulip's AI policy: https://zulip.readthedocs.io/en/latest/contributing/contributing.html#ai-use-policy-and-guidelines

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interface zoom level ought not to be stored per-organisation

3 participants