question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Title of page incorrect on tablets (double-views), correct on phones (single views)

See original GitHub issue

Actual behaviour

Describe us what happens When looking at a sitemap on a phone (i.e., the chosen level of the sitemap fills the entire screen), the shown title of the level matches that of the selected level. See screenshots looking at level 0, 1, and 2 of a test sitemap: phone top level phone first level phone second level

When using the same sitemap on a tablet that shows a split view with a detailed level and the next-higher level on the left, the title is incorrect. It is the title/label of the next-higher level on the left that is only the context, yet as the focus is the level on the right it should be the title/label of that level that is shown. Examples: tablet top level tablet first level tablet second level

Here, in “tablet top level” all is good. But then I selected the “First level item 1” and this is shown in “tablet first level” but the title is still the one of the top level, despite the fact that we now focus on the first level. Next, we click on “Second level item 1” shown in “tablet second level” and we see the second level in focus on the right side, yet the title is that of the first level.

Expected behaviour

The behavior for tablets should be the same as for phones, the correct title of the level that one focuses on should be shown.

Steps to reproduce

  1. Use example sitemap below.
  2. Observe using phone and tablet.
sitemap testmap label="Top level" {
    Text label="First level item 1" {
        Text label="Second level item 1" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 2" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 3" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
    }
    Text label="First level item 2" {
        Text label="Second level item 1" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 2" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 3" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
    }
    Text label="First level item 3" {
        Text label="Second level item 1" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 2" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
        Text label="Second level item 3" {
            Text label="Third level item 1"
            Text label="Third level item 2"
            Text label="Third level item 3"
        }
    }
}

Can you reproduce the issue in demo mode?

Yes. For example, when I click on “First floor” and then “Bathroom”, I expect the title to read “Bathroom” in tablet mode, yet it reads “First floor”.

Environment data

Client

  • Android version: n/a
  • Device model: n/a
  • App version: 2.12.6 beta and 2.12.1 (normal release)
  • Build flavor : Full
  • Device language: English

Server

  • Server version: n/a
  • Reverse Proxy: n/a
  • Authentication method : n/a

openHAB Cloud

  • Self hosted cloud or myopenhab.org: n/a
  • openHAB Cloud version : n/a
  • Authentication method : n/a

Logs

App log

Click to expand
Please add the app log if the issue is not a pure UI issue or it cannot be reproduced in demo mode.
Open the app, go to `Settings` => `View log` and insert the log here.

openHAB Server log

Click to expand
Not required.
If you have installed openHAB via `apt-get`, the log is located under `/var/log/openhab2/openhab.log`

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
maniac103commented, Apr 8, 2020

That’s on purpose. The shown title relates to the list on the left, and the title of the list on the right is the title of the selected (and visibly highlighted) item on the left. Showing the title of the right side at the top would be redundant, and lose the context of what the list on the left actually is.

0reactions
mueller-macommented, Apr 20, 2020

I’m going to close this issue for now.

As mentioned above, the only thing I could see a pref for is a toggle between dual pane and dual column view, but short of that, I’d keep it as is for now as well.

I’d keep it for now as is and see what openHAB 3 is bringing us.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Untitled
Philib barun gaelscoil tramore, Mini sim card go phone, Hilton inn near me, Anapromex. ... Appraisal definition, Wiredrive help, Docbook article title page....
Read more >
Untitled
Wise lebanon tablet, Site de l'ena paris, Ard chraobh, Storybook software linux, Bresenham's ellipse drawing algorithm program, Ecole de savignac tarif, ...
Read more >
Untitled
Delhi jama masjid imam name, 2412 tres lagos alamogordo nm, Zawodowe prawo jazdy ... Krzysztof kostro up lublin, Miss premiere tv if loving...
Read more >
Amazon.com: Blacklight Space Tapestry Galaxy Eye Hippie ...
【UV/BLACK LIGHT REACTIVE】 - The galaxy tapestry glows in the dark and shows blacklight effect, which brings you double views. This blacklight tapestry ......
Read more >
Untitled
Chef adik tv1, Zaab jeans, Metal boxes, Ios multiple modal view ... 15 page essay, O'funk'illo en el planeta aceituna, Name reference invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found