eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 786 forks source link

BasicUI/HABdroid Slider postUpdate not working constantly #3058

Open lopez1de opened 7 years ago

lopez1de commented 7 years ago

Slider.postUpdate(50) or postUpdate(Slider,50) often not updating the BasicUI and HABdroid. When it happens, both UI's fail. Maybe even other UI's are involved. I haven't tested it.

A refresh of browser or app will update the state.

But what's interesting: The Slider Icon is updating well at the same time when the Slider itself not updating its position.

lopez1de commented 7 years ago

Maybe related to this issue: https://github.com/eclipse/smarthome/issues/3036

lopez1de commented 7 years ago

Findings. Update of Slider only not working one time if the slider was moved manually (touch/click). After the next update the Slider works fine until it was touched or clicked.

But this isn't a 100% true also. Sometimes a Slider just isn't updating, no matter it was touched or clicked before.

wborn commented 7 years ago

Regarding the Basic UI issue, it sounds a lot like #2695 so it may be a duplicate. I also added a reproduction scenario to this issue.

lopez1de commented 7 years ago

Thanks. I tested HABpanel which is affected too.

lopez1de commented 7 years ago

I noticed that it's not only relating to Slider item. Text for example is also affected. I think it's a general issue which will not get fixed that fast. I'm using OH1 and OH2 for about 1.5 years now. And this problem persists.