Title of page incorrect on tablets (double-views), correct on phones (single views)
See original GitHub issueActual 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
- Use example sitemap below.
- 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:
- Created 3 years ago
- Comments:21 (15 by maintainers)

Top Related StackOverflow Question
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.
I’m going to close this issue for now.
I’d keep it for now as is and see what openHAB 3 is bringing us.