State description options not working

While working on [heos] convert %, & and = characters in "BrowseResult" · Issue #19957 · openhab/openhab-addons · GitHub I was once again reminded about an issue I never came to understand and never got resolved. And to be honest, I don’t remember if I have posted this before, but I was not able to find such post.

The problem that exists on my production system as well as my test system is that I’m unable to see and select state description options here:

What is shown in this example is the value for a favourite station: s159769. If I click there, I can select the text, but I cannot see the corresponding description, and I cannot see a list of all possible options.

Thinking back, I think the last time I saw those options were in paperUI, so I don’t remember ever having it working in MainUI.

When it comes to my production system I’ve just dismissed it a few times, because I thought it might be related to my file-based configuration, and that I therefore deserved this punishment. :wink: But this is from my test installation, and the Thing and Item here are fully managed.

So in order to proceed with hunting down the HEOS bug, I had to get this working. I installed a new openHAB instance from scratch, and now it immediately worked:

For testing I configured those two favourites, where the first of them with description “Smooth R&B (US)” has the value s159769 as shown previously.

Any ideas what could be the reason for this behaviour? Is it something that is configurable somewhere, or did my systems somehow end up in an inconsistent state?

Now I did another test: On my production system I configured one of my non-managed items with a hardcoded list of options:

String LGTV_Application "Application" (LGTV) ["Control", "App"] { channel="lgwebos:WebOSTV:tv:appLauncher", stateDescription="" [options="netflix=Netflix, com.webos.app.livetv=TV, youtube.leanback.v4=YouTube, youtube.leanback.kids.v4=YouTube Kids, viaplay-lg=Viaplay, com.disney.disneyplus-prod=Disney+, dk.dr.drtv.webos2=DR TV, com.wbd.stream=Max, com.webos.app.screensaver=Screensaver"] }

Unexpectedly, that worked:

So maybe my issue has something to do with dynamic providers?

@laursen I did not really understand your main issue/question here. However, in relation to your sub question about dynamic providers, I can say that Hue has such a dynamic provider for scene selections, that you could use for your tests, and it works fine in main UI for me. But maybe I misunderstood your point; in which case please forgive..

It’s a general issue for me, it doesn’t work for Hue or any other provider of dynamic state description options:

Here I’ve selected the word “PRISM”. It’s not clickable. I cannot see other options.

Does it depend on the browser? On the machine that runs the browser?

Superficially it may be similar to my issue below. Which is also not resolved since 1 year..

It doesn’t appear so. I was switching between an openHAB instance which works and another one that doesn’t on the same machine and accessing it through the same browser with consistent results. I also tried using a different browser on an instance that doesn’t work, and that didn’t change anything.

Browser cache?

EDIT: and do you observe the different cursors — caret vs. hand?

EDIT2: .. and apropos “caret vs. hand” I was wondering if perhaps the hot spot for the hand is somehow hidden behind the hot spot for the caret (or something like that) .. one test would be to zoom the browser view to 500% and move around the pointer to see if the hot spot has any “edges” that show hand rather than caret.

Already ruled out by the above.

No, it doesn’t become a hand anywhere in the area. It only becomes the text marker when passing the text.

Interesting proposal. I just tried that, and it doesn’t change anything. And I really tried to move the cursor around to see if any spots could be hit.

1 Like