[header] Header should not be visible if no title is set by default

Bug #1162028 reported by Pat McGowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Tim Peeters

Bug Description

The mainview now includes a header by default, The intention in the code seems to be that it is hidden by default if no title is set, but it is shown with blank text. This would force the app to have a Page object and explicitly clear the title.

Initializing y to -height instead of 0 in Header.qml resolves it.

Related branches

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I just saw that a fix for this in rev 399 was reverted for some reason

Changed in ubuntu-ui-toolkit:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Tim Peeters (tpeeters) wrote :

Gerry, are you working on this? If not, you can re-assign the bug to me.

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: Gerry Boland (gerboland) → Tim Peeters (tpeeters)
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: New → In Progress
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
importance: Undecided → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit at revision 406, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Tim Peeters (tpeeters)
summary: - Header should not be visible if no title is set by default
+ [header] Header should not be visible if no title is set by default
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.