Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic model tree closes completely after each change to a variable after saving #2728

Open
vodair opened this issue Aug 23, 2024 · 4 comments
Labels
bug Something isn't working main ui Main UI

Comments

@vodair
Copy link

vodair commented Aug 23, 2024

The problem

The semantic model tree closes completely after every change after saving. For example, if you want to change the default or widget index, you have to click through the entire tree again after each save.

For example:

opera_Neh2k8ftRb

Expected behavior

If you make a change to a variable or other changes (metadata, etc.), the entire tree should remain open

Steps to reproduce

See attached gif.

Your environment

OpenHab:
Proxmox LXC (Proxmox 8.2.2)

Linux Distribution:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian

Tested with:
Windows 10
Opera 112.0.5197.53

Reproduced with
Firefox: 129.0.2 (64-Bit)

@vodair vodair added bug Something isn't working main ui Main UI labels Aug 23, 2024
@vodair vodair changed the title Semantic model tree closes completely after every change after saving Semantic model tree closes completely after each change to a variable after saving Aug 23, 2024
@Boldfor
Copy link

Boldfor commented Aug 23, 2024

Noticed this as well (though not specific to 4.2.1). Happy to test as well.

@CappuccinoCake
Copy link

+1 for me

@MichaelEimke
Copy link

I've noticed the same issue on my OpenHAB 4.2.2 instance. Interestingly, at least here, there's no need to change or save anything but it already occurs after entering an items property view (by clicking on the item in the right panel) and then going back to the model view using the provided "back" button. The item then stays selected (properties are still visible in the right panel), but the tree view refreshes and changes to collapsed state.

@calle2010
Copy link

As a workaround, I expand the whole tree using the button on the upper right and then filter the items I want to see, which usually is possible by part of the name (e. g. "kitchen"). The tree stays open in the expanded state and the filter is still applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

5 participants