Cannot use visible property reliably while using Ubuntu Layouts
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 Layout manipulates the "visible" property to hide and show things when switching from one layout to the other. However if the app developer also relies on manipulating the "visibility" property to perform certain tasks such as showing an item only when a certain condition is met and so on, that no longer works since Ubuntu Layouts is changing the visible property values resulting in items being shown incorrectly.
Ubuntu Layouts should do its function without affecting the original functionality implemented by the app developer.
Flashback (3rd Party App) is affected by this bug while switching tabs. See the video at https:/
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)
tags: | added: convergence layouts |
Changed in ubuntu-ui-toolkit: | |
importance: | High → Critical |
Changed in ubuntu-ui-toolkit: | |
milestone: | april-2014 → june-2014 |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
As a workaround use opacity to hide/show your component.