Skip to content

Fix: All modal windows open automatically when switching to teaBASE preference pane #29

@stevenlei

Description

@stevenlei

Issue Description

When switching to the teaBASE preference pane after having another custom preference pane open, all modal windows (SSH passphrase, GPG passphrase, Homebrew install, etc.) open automatically at once, instead of opening on-demand when their respective features are accessed.

Steps to Reproduce

  1. Open System Settings
  2. Open any other custom preference pane first
  3. Switch to teaBASE preference pane
  4. All modal windows open automatically

teaBASE-window

Expected Behavior

Modal windows should only open when their respective features are accessed by the user (on-demand), not automatically when switching to the preference pane.

Root Cause

The preference pane's window management is not properly handling the window state when switching between panes.

Proposed Solution

Add proper window management to close all modal windows when switching between panes and ensure they only open on user interaction.

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