DefaultIndicatorPage: should use Loader status to determine the visible property
Bug #1350555 reported by
Antti Kaijanmäki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Antti Kaijanmäki |
Bug Description
While working on ModemInfoItem for indicator-network I discovered a bug on how the items of an indicator are laid out.
This bug was very obscure, but I managed to reproduce it reliably, so I decided to try to fix it. Unfortunately I'm not completely sure what is the actual mechanism behind this bug, but I managed to figure out how to fix it anyway and I managed to reduce an simplified example which mimics the way unity8 loads the indicator items.
Related branches
lp:~unity-api-team/unity8/default-indicator-page-loader-visible-fix
- Nick Dedekind (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 11 lines (+1/-1)1 file modifiedqml/Panel/Indicators/DefaultIndicatorPage.qml (+1/-1)
Changed in unity8: | |
status: | New → In Progress |
assignee: | nobody → Antti Kaijanmäki (kaijanmaki) |
Changed in unity8: | |
status: | In Progress → Fix Released |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Antti Kaijanmäki (kaijanmaki) |
no longer affects: | unity8 |
To post a comment you must log in.
Here is the example code if somebody is interested in debugging the actual cause of this problem.
I would guess the Loader is getting confused as the Component it loads only defines implicitHeight initially.