Skip to content

fix(object_tree): clicking a row selects it without showing or hiding it - #596

Open
SpliiT wants to merge 2 commits into
nextfrom
fix/treeview_click_select
Open

SpliiT wants to merge 2 commits into
nextfrom
fix/treeview_click_select

Conversation

@SpliiT

@SpliiT SpliiT commented Nov 20, 2026

Copy link
Copy Markdown
Member

Fixes Geode-solutions/Vease#869

Clicking a leaf row in an object tree selected it and toggled its visibility, so selecting a visible object hid it from the viewer. Visibility is now only changed by the eye button.

  • CommonTreeView: a plain click no longer calls toggleSelect; it only updates the active items and emits click:item.
  • ModelTree: removes the click:item listener that forced the clicked component visible (left over from the treeview merge).

Enter and Space go through the same click handler, so they now select without changing visibility either.

Unit test: clicking a hidden or a visible row emits update:active and never update:selected. Checked in the Vease browser build: the clicked surface stays displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant