Merge lp:~lukas-kde/ubuntu-settings-components/hugeNetworkIcons into lp:~registry/ubuntu-settings-components/trunk

Proposed by Lukáš Tinkl
Status: Superseded
Proposed branch: lp:~lukas-kde/ubuntu-settings-components/hugeNetworkIcons
Merge into: lp:~registry/ubuntu-settings-components/trunk
Diff against target: 14 lines (+2/-2)
1 file modified
plugins/Ubuntu/Settings/Menus/ModemInfoItem.qml (+2/-2)
To merge this branch: bzr merge lp:~lukas-kde/ubuntu-settings-components/hugeNetworkIcons
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
PS Jenkins bot continuous-integration Pending
Review via email: mp+295854@code.launchpad.net

This proposal has been superseded by a proposal from 2016-06-03.

Commit message

Fix huge icons in network indicator caused by a binding loop

Description of the change

Fix huge icons in network indicator caused by a binding loop

Fixes lp:1585645

To post a comment you must log in.
145. By Lukáš Tinkl

also provide the height

for DGU to work correctly

Revision history for this message
Albert Astals Cid (aacid) wrote :

The code does indeed seem to fix the problem.

But i can't seem to understand *why* we need it.

I'm going to approve it but it would be very nice if you could try to work on a smaller testcase that shows what is the problem really.

review: Approve

Unmerged revisions

145. By Lukáš Tinkl

also provide the height

for DGU to work correctly

144. By Lukáš Tinkl

fix huge mobile network icons

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Ubuntu/Settings/Menus/ModemInfoItem.qml'
2--- plugins/Ubuntu/Settings/Menus/ModemInfoItem.qml 2016-05-19 17:52:21 +0000
3+++ plugins/Ubuntu/Settings/Menus/ModemInfoItem.qml 2016-05-26 22:33:14 +0000
4@@ -77,8 +77,8 @@
5 id: iconConnectivity
6 color: theme.palette.normal.backgroundText
7
8- height: labelStatus.height
9- width: height
10+ width: statusIcon.width // fix lp:1585645 by breaking the binding loop
11+ height: width
12
13 visible: name !== ""
14 }

Subscribers

People subscribed via source and target branches

to all changes: