Skip to content

fix(sidebar): an empty PINNED heading shows when nothing is pinned #2000

Closed

Description

@wmfeht

Strata version

main @ 2970e7a (built from source; the binary still reports 1.1.1). Found in the 1.2.0 release-candidate QA sweep.

Installation method

Built from source

Linux distribution and desktop environment

Arch Linux (Omarchy). Reproduced in the repository's pinned QA container with scripts/qa-drive.sh (private Xvfb X11 display) and with the release binary on a private Xvfb X11 display.

What happened?

With no pinned places, the sidebar still shows the PINNED section header (a toggle button whose accessible description is "0 items"), its chevron, and an extra gap before DEVICES.

Steps to reproduce

  1. Launch with a fresh HOME and no gtk-3.0/bookmarks file.
  2. Look at the sidebar.

Expected behavior

With nothing pinned, the sidebar shows no PINNED heading, separator or gap. The comment in append_pinned_places says the same, as does the test an_empty_pinned_section_shows_only_while_files_are_dragged_over_the_sidebar.

Screenshots or video

N/A (described in words above)

Relevant logs

No response

Additional context

Activity

  1. added
    bug
    on Nov 2, 2026
  2. self-assigned this
    on Nov 2, 2026
  3. added 3 commits that reference this issue on Nov 2, 2026
    e4eaa87
    5e8a942
    bd21490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions