Skip to content

[Bug]: Enabling floating bar switches Auto theme from dark to light and hides checked state #240

Description

@CyberBarbarian

Existing issues

  • I searched open and closed issues and did not find a duplicate.

What happened?

With the saved theme set to auto, the Settings window initially appears
dark. Enabling Show floating bar unexpectedly switches the entire Settings
window to the light theme.

After the switch, the checkbox is saved as enabled and the floating bar is
shown, but the checkbox itself looks empty. The checked state is visible while
the Settings window is dark.

Expected: enabling the floating bar should not unexpectedly change the
Settings window theme, and the checkbox should remain visibly checked.

Actual: the Settings window changes from dark to light and the enabled
checkbox looks unchecked.

Affected area

  • Tray panel
  • Settings UI
  • Config file / settings persistence
  • CLI
  • Provider-specific behavior
  • Installer / release packaging
  • Startup / background behavior
  • Other

Steps to reproduce

  1. Set Appearance → Theme to Auto.
  2. Open Settings and confirm that the window appears dark.
  3. Open the Floating Bar section.
  4. Enable Show floating bar.
  5. Observe that the Settings window switches to light.
  6. Observe that the floating bar is enabled, while the checkbox looks empty.

Logs, screenshots, or recordings

No runtime error is shown. The setting is saved correctly and
codexbar-cli config validate succeeds.

Relevant settings after reproduction:

{
  "theme": "auto",
  "float_bar_enabled": true,
  "float_bar_dark_text": false
}

App version

v0.45.2

Windows version

Windows 11 Pro, 64-bit, version 10.0.26200 (build 26200)

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