Merge lp:~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297 into lp:ubuntu-ui-toolkit/staging
| Status: | Merged |
|---|---|
| Approved by: | Tim Peeters on 2015-01-06 |
| Approved revision: | 1373 |
| Merged at revision: | 1373 |
| Proposed branch: | lp:~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297 |
| Merge into: | lp:ubuntu-ui-toolkit/staging |
| Diff against target: |
25 lines (+15/-0) 1 file modified
modules/Ubuntu/Components/PageHeadConfiguration.qml (+15/-0) |
| To merge this branch: | bzr merge lp:~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-01-06 | |
| Tim Peeters | Approve on 2015-01-06 | ||
| Riccardo Padovani | 2015-01-06 | Pending | |
| Zoltan Balogh | 2015-01-06 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-01-05.
Commit Message
This is a bugfix for bug #1341814 and bug #1400297. Essentially we have to force the removal of the previous 'contents' item by removing its parent. This way we ensure that the contents are correctly hidden, focused and removed, without destroying them.
Description of the Change
This is a bugfix for bug #1341814 and bug #1400297. Essentially we have to force the removal of the previous 'contents' item by removing its parent. This way we ensure that the contents are correctly hidden, focused and removed, without destroying them.
| Zoltan Balogh (bzoltan) wrote : | # |
Would you please target this MR to the staging branch? (lp:ubuntu-ui-toolkit/staging)
| Tim Peeters (tpeeters) wrote : | # |
Thanks a lot for the fix! Can you please rebase this with staging so that the changes from trunk don't show up in the diff?
Also,
29 + __oldContents.
add a semicolon at the end of that line, to use a consistent coding standard.
| Tim Peeters (tpeeters) wrote : | # |
21 + property Item __oldContents: null
Instead of that, I propose to introduce:
QtObject {
id: internal
property Item oldContents: null
}
and then use internal.
| Tim Peeters (tpeeters) wrote : | # |
The bug is still present in RTM. There is a workaround here:
http://
Since we are switching rtm to vivid soon, it is probably not worth the effort to backport the fix.

Tested on desktop on vivid, it fixes both bugs.
Thanks Giulio!