[08:24] <mzanetti> rpadovani: hey, you around?
[08:33] <mhr3> so quiet here
[08:33] <mhr3> scary
[08:39] <Saviq> ;_
[08:39] <Saviq> hmm
[08:40] <Saviq> smiley fail
[08:53] <Cimi> lalaaaaaaaaaaaaaaa
[08:53] <Cimi> mhr3, only people in uk are working :D
[08:54] <mhr3> Cimi, yea, we're the ones keeping the wheels turning :)
[08:54] <Saviq> except for the ones that don't have nothing better to do ;P
[08:55] <mhr3> Saviq, go away, we won't acknowledge you today! :P
[08:55] <Saviq> mhr3, I'm working today ;)
[08:56] <Saviq> so is mzanetti
[08:56] <Saviq> it's Labour Day, what is it without Labour!
[08:56] <Cimi> Saviq, looks to me there's a new module for the infographics, right?
[08:56] <Cimi> hah
[08:56] <Saviq> Cimi, there shouldn't be, no
[08:57] <Saviq> Cimi, there was one already
[08:57] <mhr3> Saviq, hr wouldn't be happy about you
[08:57] <Saviq> mhr3, I'll get it back the week after next :P
[08:59] <dednick> anyone running utopic yet?
[08:59] <Saviq> dednick, yes
[08:59] <dednick> Saviq: you having any issues with nameservers?
[09:00] <Saviq> dednick, not really, although there was a bug mentioned yesterday on the ML, me looks
[09:00] <dednick> every time i boot, dnsmasq process is thrashing and my nameservers are reset
[09:00] <Saviq> bug #1307981 maybe?
[09:00] <dednick> have to manually edit /etc/resolv.conf and add the ns
[09:00] <Saviq> well, then that's not it...
[09:01] <Cimi> Saviq, there's this src/modules/Infographics/
[09:02] <Saviq> Cimi, yeah, but that was there all along no?
[09:02] <Cimi> Saviq, thought it was added here http://bazaar.launchpad.net/~unity-team/libusermetrics/file-based-infographics/revision/154
[09:02] <Cimi> unless this is trunk
[09:03]  * Saviq looks for the previous moduel
[09:04] <Saviq> Cimi, ah it looks that this was in lp:unity8 until now
[09:04] <Cimi> ah ok
[09:04] <Saviq> Cimi, or actually, qlightdm
[09:04] <Cimi> yes
[09:04] <Cimi> so it has to change indeed
[09:13] <dednick> hm. weird. removing /etc/NetworkManager/NetworkManager.conf seems to have fixed my problem
[09:14] <dednick> although it sounds a bit dubious
[09:15] <Saviq> Cimi, yeah, and it needs to be cleaned up in our mocks
[09:25] <mhr3> Cimi, there's something weird with the rating input widget
[09:25] <mhr3> Cimi, i can't focus it 80% of the time
[09:29] <Cimi> mhr3, what?
[09:29] <mhr3> Cimi, grab https://launchpad.net/~ci-train-ppa-service/+archive/landing-014/+build/5966633/+files/unity-scope-click_0.1%2B14.10.20140501-0ubuntu1_armhf.deb install on phone and try to review an installed app
[09:32] <Saviq> mhr3, Cimi, confirmed
[09:32] <Cimi> mhr3, trying
[09:32] <Cimi> already rebooting
[09:33] <Saviq> Cimi, mhr3, looks like something's wrong with "scroll and focus" or so
[09:33] <Saviq> it just scrolls a 1gu on tap
[09:34] <Saviq> something seems to be on top of the text entry
[09:34] <mhr3> Saviq, can you send reviews btw?
[09:34] <Saviq> mhr3, trying
[09:34] <mhr3> cause i just get
[09:34] <mhr3> 2014-05-01 10:21:51,622 - CRITICAL - ../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1
[09:35] <Saviq> mhr3, in registry log?
[09:35] <mhr3> yea
[09:35] <Saviq> mhr3, same
[09:35] <mhr3> "cool"
[09:35] <Saviq> mhr3, signond isn't running here, isn't it meant to be DBus-triggered or something?
[09:36] <mhr3> no idea
[09:37] <Saviq> OTOH it's probably wrapped in a library anyway, so there's something bad there
[09:50] <Saviq> Cimi, while you're looking at the rating, there's some huge margin between the text and review input widgets, have a look please
[09:50] <Saviq> I wonder if we should have a HR before the review input widget, too
[09:50] <Saviq> obviously no visuals :|
[09:57] <mhr3> Saviq, the apps scope is being redesigned
[09:57] <mhr3> will look quite different soon
[09:57] <Saviq> mhr3, I know, it's meant to be "different" :P
[09:58] <Saviq> mhr3, but it's not just about apps scope, any preview that has description + review will get that
[09:58] <Cimi> Saviq, might be minimum height of the review
[09:59] <mhr3> Saviq, even the description will look different :)
[09:59] <Saviq> mhr3, do you have something to show me?
[09:59] <mhr3> Saviq, had a peek yesterday, there was a tabbed view
[09:59] <Cimi> contentHeight / lineCount * (maximumCollapsedLineCount - 2)
[09:59] <mhr3> so yey! :)
[09:59] <Cimi> might be this
[10:00] <Cimi> for the padding
[10:00] <Saviq> mhr3, heh... right on time for RTM then
[10:00] <Cimi> this google drive is a mess
[10:00] <Cimi> Saviq, how do you browse between visual designs?
[10:02] <Saviq> Cimi, https://drive.google.com/a/canonical.com/?usp=folder#folders/0B-a_7E3tDxOgWDlCSWxkUGZlcnM
[10:03] <Cimi> Saviq, much better, thx
[10:03] <Cimi> starred
[10:04] <Cimi> dash looks better than apps
[10:04] <Cimi> https://drive.google.com/a/canonical.com/?usp=folder#folders/0B-a_7E3tDxOgTTBybG1TZG9GWnM
[10:04] <Cimi> this is much better than weather app
[10:04] <Cimi> can I run the preview instead the weather app ? :D
[10:05] <Saviq> mhr3, see! devel branch is evil!
[10:05] <Cimi> also, this previews contains a sunshine, while my weather app currently shows clouds :D :D
[10:05] <mhr3> Saviq, why, what happened?
[10:06] <Saviq> mhr3, https://code.launchpad.net/~michihenning/unity-scopes-api/test-timeout-changes/+merge/217872/comments/518672
[10:06] <mhr3> ah
[10:06] <mhr3> minor issue :P
[10:07] <mhr3> also, stop peeking where you shouldn't :)
[10:07]  * mhr3 is afraid Saviq will discover the terrible secrets
[10:07] <Saviq> mhr3, stop notifying me about all that!
[10:09] <Cimi> Saviq, I think is seeMore being not visible but still counting for the childrenRect
[10:10] <Cimi> Saviq, the padding between the rating and text
[10:10] <dednick> Saviq: spurious tags. is that anything with a ?
[10:10] <Cimi> Saviq, am I correct that childrenRect doesn't care about visible or not?
[10:11] <Saviq> dednick, yeah
[10:11] <dednick> Saviq: there's one in trunk
[10:11] <dednick> 7.85+14.10.20140428.2-0ubuntu1 ?
[10:11] <Saviq> dednick, oh interesting
[10:11] <Saviq> dednick, that sounds like a bug in train
[10:11] <Saviq> dednick, but that one I won't fight
[10:11] <Saviq> dednick, not worth it
[10:12] <rpadovani> mzanetti, hey
[10:12] <rpadovani> mzanetti, I have ~20 minutes now, otherwise I'll ping you this evening
[10:12] <mzanetti> hey man.
[10:12] <Saviq> dednick, we had over 300 before, of which 280 were ? from lp:unity8....
[10:12] <mzanetti> rpadovani: just wanted you to show this: https://code.launchpad.net/~mzanetti/reminders-app/color/+merge/217850
[10:13] <mzanetti> rpadovani: and suggest that we create a shared branch on lp:~reminders-app-devs for the new design where we work together
[10:13] <dednick> Saviq: ok
[10:13] <rpadovani> mzanetti, sounds good to me
[10:13] <mzanetti> rpadovani: because we probably want the transition to the new design in one big merge
[10:14] <rpadovani> mzanetti, I saw your branch, seems good, but I didn't test it yet
[10:14] <rpadovani> mzanetti, yes, perfect, do you do it? (the common branch)
[10:14] <mzanetti> rpadovani: so lets do small branches but instead of merging them into trunk, lets merge them to the common one. so we still have small code reviews while getting the one big transition in one block
[10:14] <mzanetti> rpadovani: yeah, I'll set it up
[10:16] <rpadovani> mzanetti, awesome, thanks!
[10:17] <mzanetti> rpadovani: ok... talk to you later then... we can set that up tonight
[10:17] <mzanetti> have to do some unity business now
[10:18] <rpadovani> mzanetti, ok, see you tonight then, have a nice day!
[10:25] <Saviq> greyback, don't touch root CMakeLists.txt in unity-api, increment just the one in include/shell/…
[10:25] <Saviq> greyback, also, bump changelog for unity-mir to be able to depend on the change
[10:26] <greyback> Saviq: none of this is is for promoting yet. But point 1 is good
[10:26] <Saviq> greyback, kk
[10:26] <Saviq> greyback, mark WiP then?
[10:26] <greyback> Saviq: I'm not merging into lp:unity-api but I want a review from maznetti
[10:27] <greyback> ah shoot
[10:27] <Saviq> greyback, you can get a review on a WiP branch :)
[10:30] <greyback> Saviq: it's not WiP, I want to iterate on a separate branch for qtcompositor support, so want to go through usual review process
[10:30] <Saviq> greyback, ok :D
[10:30] <Cimi> Saviq, fix for padding https://code.launchpad.net/~cimi/unity8/preview-text-summary-bottom-padding/+merge/217903
[10:36] <Saviq> Cimi, tx
[10:36] <Cimi> Saviq, how do I debug where my touches go?
[10:36] <Cimi> Saviq, on the rating input widget issue
[10:37] <Cimi> Saviq, looks like indeed scrolling does not move mousearea or so
[10:37] <Saviq> Cimi, can't tell you much more than to put MouseAreas here and there
[10:38] <Saviq> Cimi, and see which one reacts
[10:38] <Cimi> Saviq, nope is not mouse areas moving
[10:39] <Cimi> Saviq, it's the scrolling
[10:39] <Cimi> Saviq, if you quickly tap the tap is interpreted as scrolling
[10:39] <Saviq> Cimi, re: text widget, let's use Column there, childrenRect is unreliable when the height changes
[10:39] <Cimi> Saviq, try holding the finger on the text review widget and you see that when you lift the finger it gets input
[10:39] <Saviq> Cimi, and implicitHeight will be easier
[10:39] <Saviq> Cimi, and anchors simpler
[10:40] <Cimi> Saviq, I'll try
[10:40] <Cimi> Saviq, let's go back to this input thing
[10:41] <Cimi> Saviq, would it be possible that lvwph is stealing inputs?
[10:41] <Saviq> Cimi, there's no lvwph in there
[10:41] <Saviq> Cimi, just a flickable
[10:41] <Cimi> whatever then
[10:41] <Cimi> so if you ddon't scroll
[10:41] <Cimi> when you open the preview
[10:41] <Cimi> textarea immediately gets input
[10:42] <Cimi> otherwise, you have to hold
[10:42] <Saviq> Cimi, interesting...
[10:42] <Saviq> Cimi, btw, it should scroll up on focus
[10:42] <Saviq> Cimi, otherwise it ends up behind the keyboard
[10:43] <Saviq> but yeah, back to the issue at hand
[10:43] <Cimi> I agree with that (how do we do this?)
[10:43] <Cimi> I hope we have auto scrolling from the sdk/osk
[10:43] <Saviq> Cimi, the expandables in the SDK should help
[10:44] <Saviq> Cimi, try and reproduce the issue with a simple TextArea in a Flickable
[10:45] <Cimi> Saviq, I think is a focus issue
[10:45] <Cimi> buttons seems to behave ok
[10:47] <Cimi> Saviq, ok, another finding
[10:47] <Cimi> Saviq, scroll, quickly tap on text area, wait 300ms, tap -> focus
[10:48] <Cimi> Saviq, seems like the flickable keeps focus or something
[10:48] <Cimi> so you either tap and hold after scroll or you need a second tap
[10:49] <Saviq> Cimi, flickable can't "keep focus", tapping on a text area forces the focus on it, assuming it actually gets the touch input
[10:49] <Saviq> Cimi, and touch input does not care about focus
[11:00] <mhr3> Saviq, ok if we land the click scope changes even though the widget is odd?
[11:00] <Cimi> Saviq, shall I use anchors left and right inside column items?
[11:00] <Saviq> Cimi, yes
[11:00] <Cimi> Saviq, or width?
[11:00] <Saviq> mhr3, you tell me, it's not working ;)
[11:00] <Saviq> Cimi, anchors
[11:00] <Cimi> agree, I prefer
[11:00] <Cimi> pushing
[11:01] <mhr3> Saviq, but theoretically it doesn't introduce a regression :)
[11:01] <Saviq> mhr3, back to unity times, eh? :P
[11:01] <Saviq> mhr3, let's find a fix, make it work, then land?
[11:01] <Saviq> mhr3, unless you're pressed for landing?
[11:02] <Saviq> damn apport-bug
[11:02] <mhr3> Saviq, nah, i'm ok with waiting
[11:02] <mhr3> will talk to dobey about the signon issue
[11:03] <Cimi> Saviq, ok https://code.launchpad.net/~cimi/unity8/preview-text-summary-bottom-padding/+merge/217903
[11:03] <mhr3> i do wonder how do they test their stuff if they didn't notice this weirdness
[11:03] <Cimi> shit, test fails
[11:04] <Saviq> ;)
[11:06] <Cimi> Saviq, weird, needs time with column
[11:06]  * Cimi replaces compare with trycompare
[11:06] <Saviq> Cimi, sure, column needs to wait for its children to lay them out
[11:07] <Saviq> Cimi, and it's not really about time, but about letting the event loop spin
[11:08] <Cimi> Saviq, thx
[11:08] <Cimi> test fixed
[11:50] <Saviq> Cimi, you can't set topMargin in a column
[12:07] <Cimi> Saviq, ok
[12:07] <Cimi> Saviq, I will add it to height of the text item
[12:07] <Saviq> Cimi, you'd know if you looked at the debug output ;)
[12:07] <Cimi> Saviq, no debug
[12:07] <Saviq> Cimi, sure debug
[12:07] <Saviq> well, no debug
[12:07] <Saviq> just log output
[12:08] <Saviq> Cimi, with try*, you get output after you close the thing
[12:08] <Cimi> cimi@draco:~/Development/unity8/card-touchpress/builddir$ make tryPreviewTextSummary
[12:08] <Cimi> QML debugging is enabled. Only use this in a safe environment.
[12:08] <Cimi> file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtTest/TestCase.qml:345:32: Unable to assign [undefined] to bool
[12:08] <Cimi> unless this is the famous debug
[12:09] <Saviq> Cimi, maybe that's because you don't have a top anchor, so it doesn't care at all
[12:09] <Saviq> Cimi, something's wrong, btw, with your change the expand / contract is not smooth
[12:12] <Cimi> Saviq, here is smooth
[12:12] <Saviq> Cimi, well, here it isn't ;P
[12:12] <Cimi> Saviq, column maybe
[12:12] <Saviq> Cimi, column deals just fine with growing items
[12:14] <Cimi> Saviq, I fixed and pushed the anchors
[12:14] <Cimi> Saviq, no idea for the issue with the animated expansion
[12:14] <Cimi> Saviq, there's a Behaviour on height
[12:15] <Cimi> you sure your computer is not just skipping frames?
[12:15] <Saviq> Cimi, you're not the only one with a i7 quadcore :P
[12:15] <Saviq> Cimi, but imagine that I compared the two!
[12:16] <Saviq> is smooth before, not smooth after
[12:17] <Saviq> crap, if only we could have slow animations...
[12:17] <Cimi> Saviq, ah you mean it skips frames?
[12:17] <Cimi> so you see the animation but not smooth?
[12:18] <Cimi> it must be the column
[12:18] <Cimi> btw there were some designs with seemore/less
[12:18] <Cimi> cannot find them anymore
[12:18] <Saviq> Cimi, yeah, were for tablet, gone atm
[12:23] <Saviq> Cimi, I'd be really worried if it was indeed Column that caused the slowdown
[12:25] <Saviq> Cimi, but it does seem like it...
[12:25] <Cimi> Saviq, cannot reproduce with my i7 4770
[12:25] <Cimi> 8-)
[12:28] <Saviq> Cimi, http://pastebin.ubuntu.com/7372630/
[12:28] <Saviq> Cimi, there's less height changes with a Column :|
[12:28] <Saviq> wth
[12:28] <Cimi> yeah
[12:28] <Cimi> btw
[12:29] <Cimi> this is more correct probably
[12:29] <Saviq>     onImplicitHeightChanged: console.log(implicitHeight)
[12:29] <Saviq> no it's not, if I can see the difference
[12:29] <Cimi> http://paste.ubuntu.com/7372635/
[12:29] <Saviq> in a sense it is
[12:32] <Cimi> Saviq, shall I go back with anchors?
[12:32] <Cimi> Saviq, also, looks simpler with anchors to me :D
[12:33] <Cimi> only thing I am not a fan of is the implicitheight calculation
[12:33] <Saviq> Cimi, how can it look simpler than just having a few items in a Column? ;)
[12:33] <Cimi> Saviq, look at the last patch
[12:34] <Saviq> Cimi, ETOOMANY childrenRect.height
[12:34] <Saviq> that's definitely not simpler
[12:34] <Cimi> Saviq, I can use the direct id
[12:34] <Cimi> same story
[12:35] <Saviq> yeah, not simpler IMO
[12:35] <Cimi> I want to add padding at the top
[12:35] <Saviq> let me try on the device
[12:35] <Saviq> with the column
[12:35] <Cimi> only way to do it is with an empty item
[12:35] <Saviq> sure, yeah, having padding in columns is something I miss dearly
[12:35] <Cimi> the old tablet designs had 1 gu spacing, that's why I added
[12:36] <Cimi> might be better without
[12:36] <Cimi> in my opinion
[12:36] <Cimi> but we don't have designs
[12:37] <Saviq> Cimi, so yeah, we need ExpandableColumn in there, expanding text should come on screen too
[12:37] <Saviq> Cimi, but I can't see the Column issue on the device
[12:38] <Saviq> looks plenty smooth (but it's too fast, too, should be velocity based, not duration based)
[12:40] <Cimi> Saviq, which preview has seemore/less?
[12:40] <Cimi> didn't find long description so far
[12:40] <Saviq> Cimi, xbmcremote for example
[12:40] <Cimi> cool
[12:41] <Saviq> Cimi, but yeah, let's go with Column, it really is simpler - and we want the margin under text as well as under the see more / less widget
[12:41] <Saviq> Cimi, but I think we need a HR on top of review input, otherwise it's bad with text
[12:41] <Cimi> Saviq, with last patch looks awful with column
[12:41] <Cimi> not be able to add topmargin
[12:43] <Saviq> Cimi, but you added 1gu in text height, that should be fine
[12:43] <Saviq> Cimi, basically what I'm saying, your current branch looks good
[12:43] <Cimi> Saviq, no
[12:43] <Saviq> but does need a HR
[12:43] <Cimi> Saviq, if you add 1px to text height
[12:43] <Cimi> Saviq, you add one gu of text clipped
[12:44] <Cimi> while we want 1 px of padding
[12:44] <Cimi> so the text must not be 1gu taller
[12:44] <Cimi> while we need an item to add spacing
[12:45] <Saviq> Cimi, yeah, either add a 1GU-high empty item, or wrap the label in an item + 1GU high
[12:46] <Cimi> that's what I did
[12:46] <Cimi> http://paste.ubuntu.com/7372635/
[12:46] <Cimi> looks bad
[12:46] <Cimi> I prefer with anchors
[12:47] <Saviq> Cimi, just add a Item { height: units.gu(1) } between them
[12:48] <Saviq> Cimi, we want the 1gu padding under text itself, too
[12:51] <Cimi> Saviq, http://paste.ubuntu.com/7372703/ vs http://paste.ubuntu.com/7372718/
[12:51] <Cimi> I have no preferences
[12:52] <Saviq> Cimi, we *want* it even if there's no seeMore
[12:52] <Cimi> nope
[12:52] <Cimi> all other preview widgets have no extra padding
[12:53] <Saviq> ok, spacing is done in the listview
[12:54] <Saviq> Cimi, go for the wrapping one, but drop the id and objectName from seeMore (only leave it in seeMoreContainer), and don't add the second visibility test
[12:55] <Cimi> Saviq, I need it for tests
[12:55] <Saviq> Cimi, you don't need to test it, that's what I'm saying
[12:55] <Saviq> Cimi, btw, anchors { left: parent.left; right: parent.right } usually read better
[12:55] <Cimi> I need to test seeMore.more
[12:55] <Cimi> and such
[12:55] <Saviq> right
[12:56] <Cimi> also, since we are here, I tested the container that goes away
[12:56] <Cimi> adding one line of test doesn't hurt if it's basically easy and free to do
[12:56] <Saviq> Cimi, +            compare(seeMoreContainer.visible, true)?
[12:56] <Cimi> mistake
[12:56] <Cimi> is false
[12:56] <Cimi> already corrected in second patch
[12:57] <Saviq> bleh
[12:57] <Saviq> not being to do padding in columns is bleh
[12:59] <Saviq> Cimi, ok, I take that back
[12:59] <Cimi> I pushed with the nested item
[12:59] <Saviq> Cimi, if we have to do it like this, go back to anchors, it's awful with the hacked-in padding
[12:59] <Saviq> Cimi, sorry
[13:00] <Cimi> finally! :D
[13:00] <Cimi> no worries
[13:00] <Cimi> we discovered this ugly behaviour
[13:01] <Saviq> /food
[13:16] <Cimi> when network says connected but it bloody doesn't work
[13:16] <Cimi> any fix apart rebooting and praying?
[13:37] <mhr3> Cimi, you can try rebooting without praying :)
[13:44] <Cimi> mhr3, nope
[13:44] <Cimi> doesn't like my prays
[13:45] <Cimi> we need an online connectivity check
[13:46] <Cimi> seeing the dash and previews and such full empty
[13:46] <Cimi> blank pages
[13:47] <Cimi> is weird
[13:49] <Cimi> dednick, I have same issue with resolv.conf
[13:51] <Cimi> and others
[13:51] <Cimi> dammit
[14:17] <Cimi> mhall119, it is possible to launch https://developer.ubuntu.com and looks broken (http is fine)
[14:18] <Cimi> Saviq, which animation shall I use for the behaviour?
[14:18] <Saviq> Cimi, which behaviour?
[14:19] <Cimi> Saviq, height expansion
[14:19] <Cimi> in textareass
[14:19] <Saviq> Cimi, UbuntuAnimation with SnapDuration I'd say
[14:20] <Cimi> Saviq, UbuntuAnimation { duration: UbuntuAnimation.SnapDuration } ?
[14:20] <mhall119> Cimi: file a bug please, we need to fix the theme headers to use the same protocol as the original request (the css files are hard-coded to use http:// currently)
[14:21] <Saviq> Cimi, yeah
[14:21] <Cimi> Saviq, ok done
[14:21] <Cimi> pushed
[14:22] <greyback> anyone remember how to disable automatic mtp mounting of devices?
[14:22] <Saviq> greyback, setprop sys.usb.config=ptp,adb
[14:22] <Saviq> greyback, setprop persist.sys.usb.config=ptp,adb
[14:23] <greyback> Saviq: nothing on the PC side, no?
[14:23] <Saviq> greyback, nope
[14:23] <greyback> Saviq: ok, thanks
[14:23] <Saviq> greyback, well, you could kill the mtp monitor
[14:23] <Saviq> Cimi, yikes on http://bazaar.launchpad.net/~cimi/unity8/preview-text-summary-bottom-padding/revision/876, why didn't the previous approach work?
[14:24] <Cimi> Saviq, previous approach wasn't counting on invisible textlabel...
[14:24] <Cimi> titlelabel..
[14:24] <Cimi> unless a Label with text = "" is 0 px height
[14:25] <Cimi> result seems similar, this looks just more correct
[14:25] <Saviq> this whole thing makes my eyes water :P
[14:25] <Cimi> Saviq, yeah, my code is like chopping fresh onions
[14:26] <Cimi> let me see if height when text == "" is 0
[14:26] <Cimi> in this case we can remove that logic
[14:26] <Saviq> Cimi, you can just do "height: visible ? implicitHeight : 0"
[14:26] <Saviq> Cimi, that's actually what we did in CardHeader.qml
[14:26] <Cimi> let me do the same for the seemore then
[14:28] <Cimi> http://paste.ubuntu.com/7373290/
[14:28] <mhall119> Cimi: don't worry about that bug, a fix is in the pipeline already
[14:28] <Cimi> mhall119, filed already
[14:28] <Cimi> https://bugs.launchpad.net/ubuntudeveloperportal/+bug/1315016
[14:53] <Cimi> Saviq, how to restart shell from phone? restart unity8 as phablet?
[14:53] <Saviq> Cimi, yes
[14:53] <Cimi> it does not here
[14:58] <Saviq> Cimi, how did you log in as phablet?
[14:58] <Cimi> Saviq, sudo -u phablet -i
[14:58] <Saviq> Cimi, and what does "restart unity8" say?
[14:59] <Cimi> Saviq, hangs
[14:59] <Saviq> Cimi, does not hang, but waits for unity8 to exit (it does take some time)
[14:59] <Saviq> Cimi, you can also just go "pkill unity8"
[14:59] <Saviq> Cimi, it will respawn
[15:00] <Cimi> having a working wifi would dimplify my life here
[15:00] <Cimi> on this ubuntu phone
[15:14] <Cimi> I throw this phone
[15:14] <Cimi> Saviq, bootstrap, no luck
[15:14] <Cimi> I keep rebooting
[15:14] <Saviq> Cimi, file a bug
[15:15] <Cimi> feels like windows ME
[15:15] <Cimi> ahah
[15:15]  * mhr3 wouldn't like to be close to Cimi now
[15:15] <Cimi> mhr3, why not, I throw free Nexus 4s
[15:15] <mhr3> Cimi, i'd be worried you throw it in my face :P
[15:17] <Cimi> root@ubuntu-phablet:~# cat /etc/resolv.conf
[15:17] <Cimi> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
[15:17] <Cimi> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[15:17] <Cimi> nameserver 127.0.1.1
[15:17] <Cimi> WHY
[15:18] <Cimi> what's this
[15:19] <Cimi> ah there;s dnsmasq
[15:34]  * greyback akf for 45 mins
[15:35] <Saviq> xnox, hey, can I bug you for some CMake pointers?
[15:38] <xnox> Saviq: go ahead!
[15:39] <Saviq> xnox, so... I'm looking for a recommended way to override an executable (qmltestrunner) that we've been finding with find_program until now
[15:39] <Saviq> xnox, problem with find_program is that once it finds something, it will keep it until the cache is removed
[15:41] <Saviq> xnox, I started with add_executable(... IMPORTED ...), but that only really works for add_custom_command AFAICT, and we need to prefix with env anyway
[15:42] <xnox> Saviq: find it each time -> as in don't do find_program at all.
[15:42] <Saviq> xnox, how can I find other than find_program?
[15:42] <xnox> Saviq: can't you just call it, and then set appropriate PATH if you want to use some other one.
[15:42] <xnox> Saviq: can you point me at package / example you are working on, to play with locally.
[15:42] <xnox> ?
[15:43] <Saviq> xnox, lp:unity8
[15:43] <Saviq> xnox, cmake/QmlTest.cmake
[15:43] <Saviq> cmake/modules that is
[15:45] <Saviq> xnox, you might puke at this module, too...
[15:45] <xnox> Saviq: so far my bzr is having a heart attack pulling updates =)
[15:46] <Saviq> it's grown some cruft over time, I'm starting to feel like we're abusing cmake there...
[15:46] <Saviq> but it's been working for us somewhat ;)
[15:47] <xnox> Saviq: so you shouldn't do find_program outside the macro
[15:47] <Saviq> xnox, noted
[15:47] <xnox> Saviq: you should do it inside the macro and set the found binary as a target variable
[15:47] <xnox> Saviq: and possibly you don't need find_program(qmltestrunner_exe) at all.....
[15:47] <xnox> Saviq: just drop that hunk, no?
[15:48] <Saviq> xnox, well, it was a "let's give a helpful message on why this fails" thing
[15:48] <xnox> Saviq: you don't use that variable.
[15:48] <Saviq> xnox, yeah we do
[15:48] <Saviq> xnox, line 107
[15:48] <Saviq> and 122
[15:49] <Saviq> granted, not in the best way possible... that's why I feel like we're abusing the shit out of cmake..
[15:49] <xnox> Saviq: don't use qmltestrunner_exe variable and just replaces those instances with "qmltestrunner"
[15:50] <xnox> Saviq: keep the top level check, for well, just the FATAL_ERROR
[15:50] <xnox> Saviq: that way the users of that macro can override things as they wich, e.g. by setting custom path.
[15:50] <xnox> s/wich/wish/
[15:50] <Saviq> xnox, right, so set that variable from the outside?
[15:51] <Saviq> xnox, and expect users of that macro to do the same?
[15:51] <xnox> Saviq: no, i mean this -> http://paste.ubuntu.com/7373813/
[15:51] <xnox> Saviq: at the top you assert that qmltestrunner is available on the path, later you just keep on assuming that =)
[15:52] <Saviq> xnox, ok understood
[15:53] <xnox> Saviq: cause e.g. in qmltest_ENVIRONMENT i can say PATH=/path/to/my/custom/qt/bin:$PATH
[15:53] <xnox> Saviq: and by magic the right qmltestrunner will be used.
[15:53] <Saviq> xnox, right, didn't want to name a wrapper around qmltestrunner the same, but maybe that's ok...
[15:54] <Saviq> wanted to be slightly more explicit
[15:54] <xnox> Saviq: this way i set path; executed marco for e.g. qt4; set different path; execute marco for e.g. qt5 and that will all work.
[15:55] <Saviq> xnox, ok, understood
[15:55] <xnox> Saviq: you can do further checks, e.g. if someone did set variable on the target -> use that, else fallback to finding one from find_programm or some such.
[15:55] <Saviq> xnox, "did set variable on the target"? what do you mean by that?
[15:55] <xnox> Saviq: that's convoluted, but that's how e.g. Qt5::moc are done
[15:56] <xnox> Saviq: set_target_properties
[15:56] <Saviq> xnox, ah you mean to check if(TARGET qmltestrunner)?
[15:56] <xnox> Saviq: instead of using global variables, you can set variables/per target.
[15:56] <Saviq> xnox, how do I get the path from that target then? other than get_target_properties?
[15:57] <Cimi> Saviq, you have any clue what could cause this input issue?
[15:57] <Saviq> Cimi, afraid not
[15:57] <Cimi> Saviq, a nice mouseArea filling the whole ratinginput DOES get all events
[15:57] <xnox> Saviq: checkout Qt5 upstream cmake modules for e.g. how Qt5 ::moc is handled. i'm fuzzy on the details.
[15:57] <Saviq> xnox, ok thanks
[16:06] <Cimi> Saviq, weird!!!!! https://www.youtube.com/watch?v=uWUb6yuWRjI
[16:06] <Cimi> Saviq, I open preview
[16:06] <Cimi> Saviq, scroll down
[16:06] <Cimi> Saviq, tap-hold around the text area
[16:06] <Cimi> Saviq, it jumps back the scrolling
[16:07] <Saviq> Cimi, well, yeah, it's weird that tapping on the text area scrolls a bit up, too
[16:09] <Saviq> xnox, ah, one more q, can't find docs about it, what does "AND COMMAND foo" do for add_executable?
[16:10] <Cimi> Saviq, onFocusChanged: if (focus) column.positionViewAtIndex(index, ListView.Contain) in Preview.qml sounds strange
[16:10]  * Cimi disables that line
[16:10] <Saviq> Cimi, right, that one was meant to do the scrolling indeed
[16:14] <Cimi> Saviq, of couse wifi stopped working after I pushed that change
[16:14] <Cimi> so I cannot test
[16:14] <Cimi> Murphy is testing my patience today
[16:17] <xnox> Saviq: it's a boolean operator
[16:17] <xnox> Saviq:  if(COMMAND command-name)
[16:17] <xnox> True if the given name is a command, macro or function that can be invoked.
[16:18] <Saviq> xnox, right :)
[16:19] <Saviq> xnox, so, add_executable(Qt5::qmake IMPORTED AND COMMAND "/usr/lib/$ENV{DEB_BUILD_MULTIARCH}/qt5/bin/qmake")
[16:19] <Saviq> xnox, that does not create the target if the command doesn't exist?
[16:19] <Saviq> xnox, that's from MultiArchCross.cmake
[16:20] <Cimi> I need connectionnn
[16:21] <xnox> Saviq: I believe that is the intention yes.
[16:21] <Saviq> xnox, ok, thanks again, you got me on the right track :)
[16:26] <Saviq> xnox, fwiw, that construct (with AND COMMAND ...) doesn't seem to work, it happily continues trying to run a bogus executable
[16:28] <xnox> Saviq: maybe it's utterly wrong.
[16:29] <Saviq> xnox, it does feel like it :)
[16:29] <xnox> Saviq: need to check docs of add_executable, cause COMMAND i quoted above is for "if", not add_executable =/
[16:30] <Saviq> xnox, yeah, nothing re: COMMAND is there in add_executable docs, that's why I asked in the first place
[16:34] <xnox> Saviq: i'm surprised it even works then ;-)))))
[16:35] <Saviq> xnox, yeah, it just ignores it
[16:35] <Saviq> xnox, cmake has this habit, doesn't it
[16:39] <Cimi> I really need to have wifi working
[16:39] <Cimi> who has ideas here?
[16:39] <Cimi> I did bootstrap and reinstalled
[16:40] <Saviq> Cimi, try with a different wifi?
[16:40] <Cimi> Saviq, I have 4 AP at home, none works
[16:40] <Cimi> it's a phone thing
[16:40] <Cimi> it works like after 5 reboots
[16:40] <Cimi> then I test something
[16:40] <Cimi> and doesn-t work anymore
[16:41] <Saviq> Cimi, try with stable
[16:41] <Saviq> Cimi, try with android on the phone
[16:41] <Cimi> not flashing android :)
[16:41] <Saviq> Cimi, you need to try and drill down on the variables
[16:41] <Cimi> ok I will
[16:41] <Saviq> Cimi, why not? to check if your HW is still fine?
[16:47] <Cimi> Saviq, this textarea issue I bet is SDK
[16:48] <Saviq> Cimi, I don't, the onFocus thing might be at fault
[16:48] <Cimi> Saviq, I commented
[16:48] <Cimi> still issue
[16:48] <Cimi> I have a lot of code commented
[16:48] <Cimi> even no page header
[16:49] <Saviq> Cimi, tried replacing it with a single-line text edit, or with a QML area?
[16:50] <Cimi> Saviq, was about to do it
[16:51] <Cimi> Saviq, I cannot reproduce the input issue anymore on the stars, just text area
[16:51] <Cimi> so I just put textedit
[16:53] <Saviq> Cimi, I think it'd be faster if you didn't type on IRC every time you find something out ;)
[16:53] <Saviq> Cimi, just dive into it, come back when you know what's going on, or need help ;)
[16:53] <Cimi> ok same issue
[16:53] <Cimi> ok :))
[16:53] <Cimi> I feel less lonely
[17:13] <Cimi> Saviq, workd with TextField
[17:18] <Cimi> tomorrow I'll try playing with the MouseArea inside  the TextArea, seeing if there's a bug here