Skip to content

[Bug]: Collapsible sidebar rows do not reliably toggle from the full row #1117

Description

@Autumn0716

Preflight

What happened?

In the Files sidebar, a folder/root row that has expand/collapse behavior does not act as one reliable interactive component.

Clicks outside the small chevron do not consistently toggle the section. Even when clicking the chevron directly, expanding can work while collapsing may fail. In the screenshot, the 存储系统 section remains expanded and its 附件 child remains visible.

Expected: the entire collapsible row should be a single hit target. Clicking anywhere on the row — chevron, icon, label, or empty space — should reliably toggle between expanded and collapsed states.

Actual: toggling depends on hitting the small chevron and is still unreliable, especially when collapsing.

This is related to #821 (folder arrow behavior) and may also be a regression or related failure mode of #846, which was reported as fixed in 0.48.6. The problem is reproducible on 0.49.2.

Image

Steps to reproduce

  1. Open a workspace in the OpenKnowledge desktop app.
  2. In the Files sidebar, click different parts of a collapsible folder/root row (label, empty space, and chevron).
  3. Expand the section, then click the row again to collapse it.
  4. Observe that clicks outside the chevron may be ignored and that even a chevron click can leave the section expanded.

Platform

macOS (Apple Silicon)

How did you install OpenKnowledge?

Desktop app (DMG)

Version

0.49.2

Logs, errors, or screenshots

No error message is shown. The visible expanded state is described above.

Metadata

Metadata

Assignees

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