Layout incorrectly sizes the children in the default layout when using Components{}
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Critical
|
Zsombor Egri | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Layouts is causing the elements in the default layout to be incorrectly sized (or perhaps hidden) when the Tabs{} component is placed inside a Component{}. My app's basic structure is as follows,
MainView {
PageStack {
}
}
}
}
So I noticed that when the Tabs{} is placed inside a component (tabsComponent)and the default app size matches a conditional layout, when switching to the default layout, elements in the default layout are not shown. If however the default app size corresponds to the default layout then all is fine.
I have attached sample code which illustrates the bug further.
Related branches
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1516 lines (+595/-227)12 files modifiedcomponents.api (+2/-0)
modules/Ubuntu/Layouts/plugin/plugin.pro (+1/-1)
modules/Ubuntu/Layouts/plugin/propertychanges.cpp (+18/-33)
modules/Ubuntu/Layouts/plugin/propertychanges_p.h (+3/-16)
modules/Ubuntu/Layouts/plugin/ulitemlayout.h (+4/-1)
modules/Ubuntu/Layouts/plugin/ullayouts.cpp (+92/-81)
modules/Ubuntu/Layouts/plugin/ullayouts.h (+8/-3)
modules/Ubuntu/Layouts/plugin/ullayouts_p.h (+3/-5)
tests/unit_x11/tst_layouts/NestedVisibility.qml (+163/-0)
tests/unit_x11/tst_layouts/Visibility.qml (+84/-0)
tests/unit_x11/tst_layouts/tst_layouts.cpp (+214/-86)
tests/unit_x11/tst_layouts/tst_layouts.pro (+3/-1)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zsombor Egri (zsombi) |
status: | New → Confirmed |
tags: | added: convergence-blocker |
tags: |
added: convergence removed: convergence-blocker |
Changed in ubuntu-ui-toolkit: | |
milestone: | none → april-2014 |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
tags: | added: layouts |
Changed in ubuntu-ui-toolkit: | |
milestone: | april-2014 → june-2014 |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown