Tab header collides with pagestack header while using background gradients in mainview
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
Medium
|
Unassigned | ||
Ubuntu Shorts App |
Fix Released
|
High
|
Unassigned | ||
Ubuntu UI Toolkit |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As of a recent SDK update (do not know the exact rev no), the clock tab header is visible even while viewing the page header pushed into a pagestack. This can be seen more clearly in the screenshot attached below. On further testing, I was able to identify that the background gradient is the culprit behind the issue. Here below is the code copied exactly from the API examples with one difference being the background gradient support added in which case you will notice the bug. Removing the background gradient fixes the issue but is not an option.
import QtQuick 2.0
import Ubuntu.Components 0.1
MainView {
id: mainView
width: units.gu(38)
height: units.gu(50)
headerColor: "#57365E"
backgroundC
footerColor: "#D75669"
PageStack {
id: pageStack
Tabs {
id: tabs
Tab {
}
}
Tab {
}
}
}
Page {
id: page3
title: "Page on stack"
Label {
}
}
}
}
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu SDK team: Pending requested
-
Diff: 27 lines (+2/-1)2 files modifiedmodules/Ubuntu/Components/TabBar.qml (+1/-1)
modules/Ubuntu/Components/Tabs.qml (+1/-0)
description: | updated |
summary: |
- Tab header collides with pagestack header + Tab header collides with pagestack header while using background + gradients in mainview |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-rssreader-app: | |
status: | New → Confirmed |
Changed in ubuntu-clock-app: | |
milestone: | none → usable-state |
Changed in ubuntu-rssreader-app: | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
tags: | added: header tabs |
Changed in ubuntu-ui-toolkit: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-clock-app: | |
status: | Confirmed → Fix Released |
Changed in ubuntu-rssreader-app: | |
status: | Confirmed → Fix Released |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
same header issue in RSS Reader app