Page header with no title does not have a back button
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
When pushing a page which does not have a title in it, the header does not have a back button therefore the user has no navigation.
This happens if there is no title property set or it is set but with an empty string.
This is occurring in certain applications that define the title dynamically and the content is occasionally blank.
This sample illustrates:
import QtQuick 2.0
import Ubuntu.Components 1.1
import Ubuntu.
MainView {
width: units.gu(48)
height: units.gu(60)
useDeprecat
PageStack {
id: pageStack
Page {
id: page0
title: i18n.tr("Root page")
Column {
}
}
}
Page {
id: page1
id: rectangle
}
}
}
}
}
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 1300 lines (+680/-256)16 files modifiedcomponents.api (+5/-1)
modules/Ubuntu/Components/AppHeader.qml (+103/-15)
modules/Ubuntu/Components/MainView.qml (+2/-1)
modules/Ubuntu/Components/MainView12.qml (+9/-4)
modules/Ubuntu/Components/Page10.qml (+1/-1)
modules/Ubuntu/Components/Page11.qml (+5/-3)
modules/Ubuntu/Components/PageHeadConfiguration.qdoc (+202/-0)
modules/Ubuntu/Components/PageHeadConfiguration11.qml (+3/-155)
modules/Ubuntu/Components/PageHeadConfiguration13.qml (+30/-0)
modules/Ubuntu/Components/Tabs.qml (+4/-1)
modules/Ubuntu/Components/qmldir (+2/-1)
modules/Ubuntu/Test/UbuntuTestCase.qml (+3/-4)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py (+4/-1)
tests/resources/header/lockedToolbar.deprecated.qml (+0/-52)
tests/unit_x11/tst_components/tst_header_visible.qml (+288/-0)
tests/unit_x11/tst_components/tst_page13.qml (+19/-17)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → In Progress |
tags: | added: header |
the whole header becomes hidden when no title is set.