[Bug]: Collapsible sidebar rows do not reliably toggle from the full row
Preflight
- [X] I searched existing issues and did not find an exact duplicate. Related: inkeep/open-knowledge#821 and inkeep/open-knowledge#846.
- [X] I am on OpenKnowledge 0.49.2.
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 inkeep/open-knowledge#821 (folder arrow behavior) and may also be a regression or related failure mode of inkeep/open-knowledge#846, which was reported as fixed in 0.48.6. The problem is reproducible on 0.49.2.
Steps to reproduce
- Open a workspace in the OpenKnowledge desktop app.
- In the Files sidebar, click different parts of a collapsible folder/root row (label, empty space, and chevron).
- Expand the section, then click the row again to collapse it.
- 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.
Thanks for the detailed report and the screenshot.
Reproduced. Two things are going on here, and one of them is already fixed in a release newer than yours. Could you upgrade from 0.49.2 to the latest and tell us whether the 存储系统 row collapses for you then? That will tell us how much is left.
The remaining part we are looking at now. Your expectation is correct: the full row should toggle.
One question while we are on it: was 存储系统 a folder inside the file list, or the project row at the very top of the sidebar?
Thanks for the detailed report and the screenshot.
Reproduced. Two things are going on here, and one of them is already fixed in a release newer than yours. Could you upgrade from 0.49.2 to the latest and tell us whether the
存储系统row collapses for you then? That will tell us how much is left.The remaining part we are looking at now. Your expectation is correct: the full row should toggle.
One question while we are on it: was
存储系统a folder inside the file list, or the project row at the very top of the sidebar?
Thanks! I upgraded to the latest version and can confirm that the issue is completely resolved. The folder row now expands and collapses correctly, and the full row behaves as expected.
Also, to answer your question: 存储系统 is a nested/intermediate-level folder inside the file list, not the project row at the top of the sidebar.
Everything is working well now. Thanks for the fix!