Settings modal closes when disabling a plugin's actively focused view

Steps to reproduce

  1. Open a view of any plugin (core or community) e.g. graph view
  2. Open settings
  3. Disable core plugin “Graph view”

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The plugin’s view to close and the settings modal to remain open.

Actual result

The plugin’s view and the settings modal both close.

Environment

SYSTEM INFO:
Obsidian version: 1.12.2
Installer version: 1.11.7
Operating system: Darwin Kernel Version 24.6.0: Mon Jan 19 22:01:13 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_ARM64_T8122 24.6.0
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

This unexpected behavior appears to happen with both core and community plugins. Any time a plugin’s view is focused and the user disables the plugin, the settings modal closes unexpectedly.

thanks