/srv/irclogs.ubuntu.com/2017/01/09/#ubuntu-app-devel.txt

=== LiQiong_Lee1 is now known as LiQiong_Lee
=== JanC_ is now known as JanC
zsombihai world05:47
zsombimzanetti: ping, I saw you were looking after me08:18
zsombimzanetti: the promised FocusShape code http://pastebin.ubuntu.com/23769222/08:24
zbenjaminzsombi: could it be you forgot my PR with the source tree reorg? :)09:35
zbenjaminbzoltan_: any idea about daker's problem? https://paste.ubuntu.com/23753990/09:42
zbenjamindaker: seems the lxd bridge tries to use a existing subnet09:43
zbenjamindaker: is that something you have in your network? 10.0.2.109:44
zbenjamindaker: looks like a lxd bug maybe09:44
zbenjamindaker: what you can try is to change all occurences of 10.0.2.x in /etc/default/lxd-bridge into a subnet not used in your network, then try to restart the upgrade09:54
=== pindonga- is now known as pindonga
=== ricardokirkner is now known as pindonga
=== ricardokirkner is now known as pindonga
=== _salem is now known as salem_
kalikianazsombi: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bugs?field.tag=unity812:13
zsombikalikiana: thx!!12:13
zsombimzanetti: ping bug https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/164741512:29
ubot5Ubuntu bug 1647415 in ubuntu-ui-toolkit (Ubuntu) "units.gu() emits changed signal before completion" [Undecided,In progress]12:29
zsombimzanetti: from teh bug it is not clear whether the GU change signal causes the behavior12:29
mzanetti?12:29
mzanettiwhat behavior?12:30
zsombimzanetti: isn't the onBlaChanged emitted because it gets a value different from 0 (default) ?12:30
mzanettizsombi, wouldn't "onBlubbChanged" be called too in that case?12:30
zsombimzanetti: well, that is a value binding, may behave differently12:31
zsombibeside, units is a context property, it doesn't know anything about the Item's completion, so it'll emit a signal whenever it detects a GU change12:32
zsombimzanetti: and in that case, if units is changed, the change signal will cause the bla property change to happen even if the component si not completed yet12:33
mzanettizsombi, but is there a gu change?12:34
mzanettiI mean... I do "property int bla: units.gu(10)"12:34
mzanettithis should never change12:34
zsombimzanetti: there is12:34
zsombimzanetti: are you sure? what if the GU value changes?12:35
mzanettidoes it?12:35
mzanettiI mean, sure, with DGU, it can change12:35
zsombimzanetti: and in teh first launch, that GU value changes almost everywhere12:35
mzanettibut not in my setup12:35
mzanettiyes, exactly, that's the problem12:35
kalikianathe gu is set/initialized before completion, ergo it "changes" as before it would be 012:35
zsombimzanetti: on desktop, GU might be 8 pixels, but on phone is more, so how would you know when to really change and when not?12:35
mzanettiit should read GRID_UNIT_PX at very first, then initialize all the things with that, and unless DGU changes the env var, there should be no changed signal12:35
dakerzbenjamin: no, i think it was created by lxd12:35
kalikianamzanetti: ie. I don't think it can be set when the binding is set up12:36
mzanettihmmm12:36
mzanettiI see what you mean...12:36
mzanettistill think we need to solve it somehow12:36
kalikianaso 1) binding evaluated 2) units initialized 3) completed12:37
mzanettiyeah, 1 and 2 would need to be swapped12:37
zsombiI can try that out...12:38
kalikianamzanetti: it might sorted with the MainWindow since that can initialize the gu "immediately"12:38
kalikianabut gu needs a window12:38
zsombikalikiana: I could try to initialize the GU at the plugin loading time...12:38
mzanettiI don't think we can use MainWindow in the shell... maybe we can... dunno. so far we don't use any Window thing12:38
zsombioh, yes, I keep forgetting teh multi-window...12:38
kalikianazsombi: then it will change once there's a window which may have a different gu12:39
kalikianaso that can only work some of the times12:39
zsombikalikiana: yes, realized that12:39
kalikianamzanetti: What does Unity render on? The window is the owner of the scaling property ultimately12:39
kalikianaFor apps anyway12:40
mzanettiwe set up a scenegraph on Mir12:40
zsombiwell, that would be solved by initing GU on plg load... never the less each Window would have a separate initialization...12:41
kalikianamzanetti: Perhaps we need to consider a non-Window type that has a gu property? Essentially we need an Item to get rid of the context property12:41
mzanettiah no... actually we use a QQuickWindow12:41
kalikianaAh12:41
mzanettialthough we hijack things in there quite a bit12:42
zsombimzanetti: so you could then use the MainWindow... once we get it released...12:42
mzanettiprobably...12:42
kalikianamzanetti: The MainWindow is intended to be minimal, ie. no header/APL in there - what else do you use/need from the window?12:43
mzanettihttp://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/src/ShellApplication.cpp12:44
kalikianamzanetti: Right now it's got an action context, applicationName and units12:44
mzanettithe ShellView is a QQuickView12:44
mzanettiwhich in itself is a QQuickWindow12:45
mzanettiso... those things done in ShellApplication is what we need12:45
mzanettiand then, with multimonitor it might become a bit more12:45
zsombiwell, MainWindow is basically a QQuickWindow with units and i18n exposed as properties, to ditch the global context property...12:47
zsombiso you could use that instead of QQuickWindow12:47
kalikianamzanetti: multimonitor for...? you're doing some initialization bits there that are normally in the launcher, like the testability - but the i18n and applicationName are also done in MainWindow12:47
mzanettikalikiana, yeah well, this is the shell... this is the compositor12:48
kalikianawhat it doesn't have is the organizationName, we could add that, or you just keep that as-is12:48
kalikianawith click we never set it because it broke confinement12:49
dakerzbenjamin: is this a bug in lxd https://paste.ubuntu.com/23770161/ ?12:49
zbenjamindaker: try dpkg -l | grep -i lxd to see if you still have lxd related packages installed13:41
dakerzbenjamin: ah yes lxd-client13:50
dakershould i remove it ?13:50
zbenjamindaker: hmm, the client should be unrelated to that... could you check if there is still a lxdbr0 device?13:51
dakerzbenjamin: no it was removed after the purge i think13:52
zbenjamindaker: then try the update again13:52
dakerzbenjamin: i will run the apt-get install ubuntu-sdk again13:53
dakerzbenjamin: no luck :( https://paste.ubuntu.com/23770421/14:02
daker$ ifconfig | grep "wlan0"14:03
dakerwlan0     Link encap:Ethernet  HWaddr cc:52:af:5e:4c:7e14:03
dakeri am not using wlan0 to connect to internet14:04
zbenjamindaker: seems somehow your network setup is broken ...14:06
zbenjamindaker: remove the /etc/default/lxd-bridge file and try again14:08
zbenjamindaker: move it to something like /etc/default/lxd-bridge.backup14:08
zbenjaminsorry need to run, i have a appointment soon :(14:08
dakerzbenjamin: no problem, i'll try again14:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!