Skip to content

Windows branch switch UI does not show selected branch correctly #1040

@EwanJordaan

Description

@EwanJordaan

Windows branch switch UI does not show the selected branch state correctly

Summary

On Windows, the branch switcher UI can render the active/selected branch inconsistently. The selected row styling is not being applied reliably through the shared combobox state, which makes the currently selected branch harder to identify.

Steps to Reproduce

  1. Open the app on Windows.
  2. Open the branch switcher from the branch toolbar.
  3. Look for the currently active branch in the dropdown/list.
  4. Compare its styling with hovered/highlighted rows.

Expected Behavior

The active/selected branch should have a clear and consistent selected state in the branch switch UI.

Actual Behavior

The selected branch row can appear incorrectly styled or not clearly selected.

Why This Matters

This makes branch switching less predictable and increases the chance of selecting the wrong branch, especially when navigating quickly with keyboard or mouse.

Notes

The underlying issue appears to be that selected-state styling was applied locally in the branch selector instead of consistently through the shared combobox/autocomplete item primitives.

Environment

  • OS: Windows
  • Area: Branch toolbar branch selector

Video

Screen.Recording.2026-03-13.194554.mp4

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