openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
590 stars 317 forks source link

Always reloads to HABpanel list when (re-)connecting bluetooth mouse. #3048

Open drohhyn opened 1 year ago

drohhyn commented 1 year ago

Actual behaviour

If you connect a bluetooth mouse (my case: Logitech M720 with easy connect) to your android device (Fire 8 HD Tablet), openhab is always reloading the start page of the HABpanel UI.

Expected behaviour

Stay on the current page, wether it is the classic sitemap, OH3 UI or even HABpanel itself (but at least stay at the current dashboard).

Steps to reproduce

  1. Install OH for android (from f-droid in my case)
  2. configure HABpanel with 1 dashboard
  3. connect a bluetooth mouse to your android device
  4. load openhab's HABpanel dashboard
  5. disconnect bluetooth mouse => reloads to HABpanel list (which should not happen)
  6. if you select the dashboard again with touch and re-connect the bluetooth mouse again: reloads to HABpanel list again (which should not happen)

Can you reproduce the issue in demo mode?

yes, although there is no default panel configured, it still loads the HABpanel list with connecting or re-connecting.

Environment data

Client

Server

openHAB Cloud

drohhyn commented 1 year ago

Just installed version 2.23.0 which now reloads OH3 UI. This is much better (because I have controls there directly and not in a dashboard with HABpanel which is left with reloading to the dashboard list) but still not the intended behavior in my opinion.