/srv/irclogs.ubuntu.com/2014/08/26/#ubuntu-unity.txt

=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
Cimimorning07:28
Saviqelo07:28
SaviqCimi, can we go with a flat white highlight for now? that's the last thing missing in alt nav currently07:28
CimiSaviq, only in the bad case of weird images and such07:32
CimiSaviq, otherwise we want what we did07:32
CimiSaviq, I'd still get the average pixel color and shade it instead white07:32
SaviqCimi, we can't do that07:32
SaviqCimi, we can't sample images in QML07:32
SaviqCimi, the solution is the shader, but I don't know how to do it, you don't know how to do it, and only you are going to notice, so let's stop wasting time07:33
CimiSaviq, you can use a shadereffectsource of width and height 1pxof the image then stretch it?07:33
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
Cimibut I see the issue with the color, right07:34
SaviqCimi, how's that gonna help07:34
Cimiit is not indeed07:34
CimiSaviq, scope settings?07:40
SaviqCimi, did you reply to all the comments?07:40
Cimiapart one07:40
SaviqCimi, in both revisions?07:40
Saviqs/revisions/diffs/07:40
SaviqCimi, no you didn't07:41
SaviqCimi, there's a bunch of unanswered comments in the r1122 into r1160 diff07:42
SaviqCimi, and another bunch in r1134 into r118507:42
SaviqCimi, it's difficult to find what you did change or not in the big diffs, please reply to all the inline comments07:43
CimiSaviq, inline diff is still a mess indeed07:46
CimiSaviq, commented07:48
mzanettiseb128: hello09:06
seb128mzanetti, hey09:06
mzanettiseb128: I'd need a new schema for the launcher favorites... the AS stuff as we do currently doesn't work out09:06
mzanettiseb128: and can't use the existing unity7 for some incompatibility reason09:06
seb128mzanetti, oh? which ones?09:07
mzanettiseb128: any suggestion on what would be a good one?09:07
mzanettiseb128: incompatibility, well, appid:// for one09:07
mzanettiunity7 would drop those entries again when started on a unity8 config09:07
mzanettisame the other way round...09:07
seb128k09:07
seb128do you need a gsettings or a.s schemas or both?09:07
mzanettigsettings09:08
mzanettias too eventually I guess09:08
mzanettibut that would be just a one way sync to update the greeter's launcher. not for actual persistent config09:08
seb128k09:08
mzanettiSaviq: mentioned something like /com/ubuntu/touch/ becoming popular?09:09
mzanettierr... add seb128: in front and drop the ":" after Saviq ^09:09
seb128mzanetti, no, don't use "touch", we are tried to not use that09:09
Saviqgood09:09
mzanettiack09:09
mzanetti+109:09
seb128mzanetti, we currently have the unity stuff under com.canonical.unity ... not sure if we want to keep that09:11
mzanettiwell, that's the thing... unity7 uses that too for the launcher09:11
mzanettiI guess we could use a different key in there though?09:11
seb128we could have com.canonical.unity.Launcher <name>09:11
seb128right09:11
seb128you could create "items" or "config" instead of "favorites"09:11
larsuwhy don't we update unity7?09:11
larsuto honor appid:// things as well?09:12
mzanettimight be an option too I guess09:12
mzanettiwell, at least to not kick them09:12
larsuright09:12
mzanettibut its additional efforts In the long run I guess09:13
mzanettialso unity8 would need to deal with the other keys of unity7 which we don't need/want09:13
mzanettilike unity://running-apps09:13
mzanettiSaviq: your input?09:17
mzanettithe options are: using another key (which would mean sticking with the schema file in lp:unity I guess)09:17
mzanettior spending the efforts to make unity7 and unity8 play along nicely09:17
mzanettior come up with another path, where so far we didn't have good ideas09:18
Saviqwe can't spend the time on the latter, we need a custom key (at least temporarily)09:18
mzanettiI tend to agree09:18
mzanettiso I'll add the "items" key in the existing schema, ok?09:18
Saviqk09:19
mzanettilarsu: but hey, since you're around, QGSettings crashes if trying to read/write an invalid key09:19
mzanettilarsu: while the doc says it would print a warning09:19
larsumzanetti: are you using it from qml or c++?09:24
mzanettilarsu: c++09:24
* asac posted a gdb output for bug 136059309:24
ubot5bug 1360593 in unity8 (Ubuntu) "unity8 freezes randomly" [Critical,New] https://launchpad.net/bugs/136059309:24
asacSaviq: ^^ anything else you want from this state?09:24
larsumzanetti: it only prints a warning in qml09:25
mzanettilarsu: not sure I understand :)09:25
larsumzanetti: qml is much more dynamic and it is convention to not crash on errors there09:26
larsumzanetti: not so much for c++. You should never put unknown values into qgsettings::get09:26
mzanettilarsu: I'd say nothing should crash, regardless of the language09:26
Saviqasac, pkill -SIGSEGV unity809:26
larsus/values/keys09:26
asacSaviq: without debugger attached?09:26
larsumzanetti: you should not use c++ then...09:26
asace.g. just like this?09:26
Saviqasac, without09:26
mzanettilarsu: no... thats just silly talk09:27
Saviqasac, this should end up in a .crash file for unity809:27
larsumzanetti: why?09:27
mzanettilarsu: because it just increases the risk of mistakes09:27
asacSaviq: it didnt create a new one for unity8 ... only for unity8-dash i got a crash now09:27
asac-rw-r-----  1 phablet whoopsie 1395979 Aug 26 11:27 _usr_bin_unity8-dash.32011.crash09:28
mzanettilarsu: if its starting with Q its not supposed to crash :)09:28
asac-rw-r-----  1 phablet whoopsie 9041951 Aug 25 14:09 _usr_bin_unity8.32011.crash09:28
asacSaviq: guess the -dash is fine?09:28
* asac finds it interesting that it has the same PID :)09:28
Saviqasac, the -dash is just fallout, uninteresting09:28
larsumzanetti: not really. What do you propose should happen when you give ::get() a non-existant key?09:28
mzanettiQVariant()09:28
Saviqasac, that's UID, not PID ;)09:28
asacSaviq: no new crash file produced09:28
larsumzanetti: do you want to check _every_ invocation for empty variants?09:28
asacSaviq: oh :)09:28
asachehe09:28
Saviqasac, yeah, fallout of you killing unity8 I mean09:28
Saviqasac, that's why unity8-dash crashed09:29
asacSaviq: right, but i didnt get an updated unity8 one09:29
mzanettilarsu: on my end? no... why would I?09:29
Saviqasac, yeah, so nothing more you can give us09:29
asactoo bad09:29
asacguess next time i should delete the directory first09:29
mzanettilarsu: if the key doesn't exist, I'll get a QVariant(), which means there are no default items in the launcher (in this example)09:29
larsumzanetti: because you might get an empty one. Now you always get one of the corrrect type09:29
Saviqasac, shouldn't have been needed, if .uploaded was there apport would overwrite09:29
larsumzanetti: no, this is not how it works09:29
larsumzanetti: the key always exists. It it's empty, you get an empty list09:30
mzanettilarsu: this is how it works throughout the Qt libraries I'd say09:30
asacSaviq: there only is .upload09:30
larsumzanetti: I don't understand. A qt library would return an empty variant instead of an empty list to signify "no items"!?09:30
asacguess i had a crash that wasnt uploaded yet, so its it didnt overwrite?09:30
Saviqasac, yeah09:30
mzanettilarsu: you always have bool contains()09:30
Saviqasac, apport bailed out to not overwrite an old report09:31
=== vrruiz_ is now known as rvr
* asac checks out why whoospie claims i am offline09:31
mzanettilarsu: if you want to know if its there, use that ^^09:31
asachow awful09:31
* asac will remember for nexttime09:31
mzanettilarsu: otherwise, if you don't care, just use it, you'll get a value or not09:31
larsumzanetti: I still don't understand. Where is this bool contains()?09:31
larsuit's not on qvariant...09:31
mzanettilarsu: no, QSettings, QList...09:31
mzanettilarsu: additionally get methods look more like get(key, default), where you'd get the default if key is not in there09:32
mzanettilarsu: like QVariant get(cosnt QString &key, const QVariant &default)09:32
larsumzanetti: ah, got it. My point is, the case you're describing doesn't exist. You always know at compile-time which keys exist and which don't09:32
mzanettibut *never* crash09:32
larsumzanetti: a contains() doesn't make any sense09:32
mzanettiwhy not... of course it does09:33
larsumzanetti: give me an example.09:33
larsuyou have a schema file, which key would you want to look up?09:33
mzanettiwell, take the launcher09:34
larsuthat's like asking whether qvariant has a method called "contains". You know it's not there, why bother asking09:34
mzanettiI don't know.. well, I maybe do in the gsettings case... but still its very unQool to crash/abort09:34
larsuthe alternative is worse09:35
larsuin which you'd need to check every invocation needlessly09:35
mzanettino, you don't09:35
larsuyes, you do...09:35
tsdgeosno, the alternative is return a proper default value09:35
tsdgeoswhich is what sane APIs do09:35
mzanetti^09:35
tsdgeosnor tear down an app from a library09:35
tsdgeosthat's evil09:35
larsutsdgeos: the proper default value would be an empty variant09:36
mzanettiyes09:36
larsuwhich you'd need to check for emptiness09:36
mzanettino you don't09:36
mzanettiyou just use it09:36
larsuand then your program behaves weirdly...09:37
mzanettior, if you really need it to contain something, then your get() call supplies the default you expect if key is not there09:37
mzanettibut it doesn't crash!09:37
larsuyou still don't get my point09:37
larsuthe key is _never_ not there09:37
mzanettiI guess I do get your point... but I just don't agree with it09:37
anpokdata Maybe : Just a | Nothing09:38
mzanettibut ok... so if this is what its meant to be... I thought it would be a bug09:38
larsudo you check the return value of malloc() for NULL? Do you check whether qt's moc files where generated correctly?09:39
larsuthis is the same kind of thing09:39
* larsu thinks qt should abort() when QObject::connect() fails09:39
larsubut it doesn't afaik09:40
anpokthe library should not09:40
larsuanpok: why not?09:40
anpokit should invoke some sort of error handling09:40
anpokand let the user decide what to do about09:40
larsuthat's what it does. It prints errors which never get fixed09:40
anpokthrow and clean up  properly09:40
larsuthe user can't decide anything09:40
larsuthis is a programmer error09:40
anpokor write a funny number to *009:40
mzanettilarsu: well, it returns a bool09:41
larsumzanetti: nobody checks for that...09:41
larsubecause that would be madness09:41
mzanettilarsu: I do when its needed09:41
mzanettino. crashing is madness09:41
larsumzanetti: are there dynamic signals/slots?09:41
tsdgeoslarsu: there are09:41
mzanettiyes09:41
larsuoh, neat09:41
larsuthere are no dynamic gsettings keys, so we don't need that ;)09:41
mzanettiand also the objects might be dynamic09:41
mzanettibut still we shouldn't crash09:42
tsdgeoslarsu: so you prefer a user not being able to use an application at all to it maybe sometimes misbehaving because a corner case connect failed?09:42
tsdgeosnah09:42
larsutsdgeos: of course09:42
tsdgeoslarsu: your users must love  you :D09:42
tsdgeoshonestly i prefer a 99% working app than a 0% working app09:42
mzanetti+109:43
larsutsdgeos: have you seen the amounts of warnings in ~/.cache/upstart? Nobody ever fixes those because they're not visible enough09:43
larsutsdgeos: turns out, this is rarely a problem in practice09:43
larsuthese things tend to get noticed quickly09:43
larsuespecially with tests09:43
tsdgeosuseless discussion anyway, it's not like anyone's going to change their minds09:46
tsdgeoslet's have it with a beer next time we meet09:46
* larsu is looking forward to that ;)09:46
Saviqoh my09:48
SaviqCimi, can you merge trunk int scope settings?09:49
CimiSaviq, k09:49
SaviqCimi, or actually09:49
CimiSaviq, currently adding semicolons everywhere xD09:49
SaviqCimi, oh yeah, do merge trunk, I need to merge it everywhere else, too...09:50
Cimiwill do09:50
mzanettilarsu: but in any case, no matter which one is the more "correct" thing to do, if it starts with Q, a user of it doesn't expect it to abort - ever09:52
CimiSaviq, for the settingsmodel mock, I used the mock of the backend09:53
SaviqCimi, I know, I saw that09:56
CimiSaviq, so if it's wrong, we should probably also fix it there :)09:57
SaviqCimi, it's not wrong09:57
SaviqCimi, it's just different style09:57
SaviqCimi, we're closer to Qt style, they're not09:57
larsumzanetti: ya, fair enough. I might change it based on that argument.09:58
SaviqCimi, but yeah, I know it's a stupid thing to complain about, which is why I won't enforce it09:58
SaviqCimi, not before I get astyle to do what we want09:58
Saviqtsdgeos, looks like you forgot a prereq09:59
tsdgeosSaviq: F510:00
Saviqtsdgeos, ;)10:00
Saviqtsdgeos, you can't pull emails out from my inbox this way though :P10:00
tsdgeosSaviq: yeah well, the code should not be there, it's not a missing prereq, just a wrong initial branch10:01
Saviqtsdgeos, ah ok10:01
=== davmor2_ is now known as davmor2
CimiSaviq, the meh in my onLoadedChanged: if (loaded) genericScopeView.scope = scopes.getScope(2);10:11
CimiSaviq, is for, remove that or just "meh"10:11
SaviqCimi, I'd rather you didn't check it in with that branch, but meh :P10:18
CimiSaviq, I did not understand "You should have a test that verifies initial value when != 0."10:26
SaviqCimi, same that a comment I did above10:26
SaviqCimi, your initial value for the selector is 110:26
SaviqCimi, you need to verify that the selector indeed displays the option with index 110:27
SaviqCimi, in the mock I mean, it's 1, so "Second" should be displayed when you open the panel10:27
SaviqCimi, but it doesn't seem to be the case10:27
Ciminope10:27
CimiI didn't change the selected index indeed10:28
CimiSaviq, not sure where the value is stored though10:31
SaviqCimi, wdym? in the "value" member of the Data struct in the settings model10:31
CimiSaviq, I did that in Component.onCompleted and onModelChanged10:31
CimiSaviq, undefined10:31
CimiListItem.ItemSelector does not have count10:32
CimiI confirm widgetData.value seems null10:33
Saviqsolve it10:33
Cimiok10:33
Saviqbut write a test first10:33
CimiSaviq, onSelectedIndexChanged of ListItem.ItemSelector seems to get called10:41
Cimiwhile loading the component10:41
Cimithus triggering the updated signal10:41
SaviqCimi, to 0 I assume?10:41
Cimito 110:42
Cimino to 0 indeed10:42
Cimisomething, probably internal, trigers that10:43
CimiSaviq, any idea when shall I set the selectedIndex?10:53
SaviqCimi, talk to #sdk10:54
=== MacSlow is now known as MacSlow|lunch
=== cking_ is now known as cking
facundobatistaHolas11:16
SaviqCimi, ok, I pushed #CCFFFFFF into alt nav, please have a look if we want to change that value, but let's leave it flat for now11:16
CimiSaviq, is this only in case of an image right?11:24
SaviqCimi, no, it's also in case of flat or gradient background11:24
CimiSaviq, no then11:24
CimiSaviq, the current solution was better11:25
SaviqCimi, but I don't want to dig out the values from the background if I can help it11:25
SaviqCimi, the current solution is still there11:25
Cimiso I don't understand11:25
Cimithe code we did was taking the bg color11:25
SaviqCimi, alt nav just introduces a background where there wasn't one before11:25
SaviqCimi, the navigation buttons were transparent (and that's what looks fine in header customizations)11:26
CimiI see11:26
SaviqCimi, now they have a solid, gradient or image background11:26
Cimiso it will look quite ugly11:26
Saviqok I have one more temporary idea11:26
Cimimore pressure for me doing the shader11:26
CimiSaviq, I don't want to compromise the visuals we had for the 5% someone uses a weird image as bg11:36
SaviqCimi, it's not exactly like that, but I've a fix11:36
CimiSaviq, this seems to work http://paste.ubuntu.com/8149278/11:44
SaviqCimi, you don't need the onInitialValueChanged, and it's a loop btw11:45
SaviqCimi, in onSelectedIndexChanged you want to reset initialValue11:45
SaviqCimi, ok pushed a fix to alt nav11:47
SaviqCimi, just check out tryDash11:47
CimiSaviq, onSelectedIndexChanged, initialValue is still 011:47
CimiSaviq, so I need onInitialValueChanged11:48
SaviqCimi, then set it before you set the model in onLoaded11:48
SaviqCimi, it will have to be there already11:48
SaviqCimi, if the binding causes the delay, don't use a binding, initialValue should never change in that case anyway, you got it in a "static" object11:49
CimiSaviq, so I should now add initialValue for all the settings?11:58
CimiI am not sure this will work though11:58
SaviqCimi, no11:58
Cimifeels racy11:58
Cimiasking for troubles11:58
SaviqCimi, in this case if (hasOwnProperty('initialValue')) makes sense11:59
SaviqCimi, in the factory11:59
SaviqCimi, and just set the initial value *before* you set the data11:59
SaviqCimi, that's not racy then, because initialValue is *set* before selectedIndex can change, because there's no model11:59
=== alan_g is now known as alan_g|lunch
=== Saviq_ is now known as Saviq
larsuany idea why ubuntu-ui-toolkit's tests might fail on Jenkins but not for me? It seems that it can't load the image provider: https://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/3388/console12:05
Saviqmzanetti, can I ask you for https://code.launchpad.net/~saviq/unity8/scope-favoriting/+merge/232109 please12:05
larsuin tst_headActions.qml12:05
Saviqlarsu, best talk in #sdk on canonical's irc or #ubuntu-app-devel12:06
larsuk, thanks12:06
Saviqdednick, hey, anything I can help re: prompts inception?12:11
dednickSaviq: hey. i just replied to kevins email. It's still in progress.12:13
Saviqdednick, ok, lemme know if you need anything12:13
dednickI'm about to start testing what i've odne12:13
Saviqand lol on getting an email from your manager with http://memegenerator.net/instance/5365148012:14
dednickSaviq: hehe, yeah.12:14
CimiSaviq, here we go http://paste.ubuntu.com/8149484/12:16
dednickoh yay. unity-api has changed...12:16
=== _salem is now known as salem_
SaviqCimi, aaand why the tmpValue?12:19
SaviqCimi, why can't you just do selectedIndex = initivalValue; initialValue = -1?12:19
CimiSaviq, because changing selectedIndex will trigger another onSelectedIndexChanged?12:24
SaviqCimi, ok, right12:25
SaviqCimi, this is all nasty and loopy, but yeah I think there's nothing better12:25
CimiSaviq, I was not sure onPropertyChanged ends before processing other events12:25
SaviqCimi, no, you're right, you need to make sure that the loop will be broken at next iteration12:26
SaviqCimi, and the way to do that is to make sure the condition doesn't let it through12:27
Cimiyeah12:27
SaviqCimi, one thing you could do is only trigger updated() if value actually changed12:27
SaviqCimi, otherwise you'll end up emitting updated() on startup with the initial value12:28
CimiSaviq, there's a return though12:28
Cimibut yeah maybe12:28
Cimiyou're right12:28
SaviqCimi, not maybe12:28
SaviqCimi, selectedIndex = tmpValue12:28
Saviqwill cause another run through onSelectedIndexChanged12:28
Saviqand will emit updated(selectedIndex)12:29
Saviqeven though it's equal to model.value still12:29
CimiSaviq, it does not get emitted if is 012:29
Cimibut if it's 1... let me think12:29
SaviqCimi, say on startup initialValue is 112:30
SaviqCimi, you go:12:30
SaviqselectedIndexChanged(0)12:30
Saviqbecause the model got set12:30
CimiSaviq, channel #Cimi for live debugging :D12:30
Cimiahah12:30
Saviqinside you go selectedIndex = tmpValue12:30
Saviqwhich emits selectedIndexChanged(1)12:30
=== MacSlow|lunch is now known as MacSlow
Saviqand then you end up emitting updated(1)12:30
Saviqbecause it's neither 0 or initialIndex is >= 012:31
Cimiif selectedIndex != widgetData.value then12:31
Saviqso return never happens12:31
Saviqyes12:31
SaviqCimi, but that you might do in the factory12:31
SaviqCimi, otherwise you'd need it in all the widgets, not worth it12:31
Saviqtsdgeos, when rebulding ci, make sure to bump revision12:52
tsdgeosyeah :/12:52
tsdgeossorries12:52
Saviqnw, just restarted with the new r12:53
tsdgeoswas trying to get all approved MR to be also approved by CI12:54
Saviqyeah, good idea12:54
SaviqI'll have another look through once the current set completes12:54
=== alan_g|lunch is now known as alan_g
Saviqactually started them already12:59
=== salem_ is now known as _salem
karniHey guys, got a question, not unity related but I think devs here will answer it best -- I want to refactor out some code to a .js file, but it requires access to import Telegram 0.1 -- is there a way to do that? (basically, I need visibility of an enum exposed from C++ via qml plugin)13:52
tsdgeosdon't think that's "correct"13:54
tsdgeosi mean if you need QML stuff then it's not JS anymore, no?13:54
dandraderlifecycle got merged! \o/14:00
tedgzbenjamin, Did the URL dispatcher branch work for you?14:00
zbenjamintedg: hey, i did not realize it is finished14:01
dandraderdednick, time to rebase your stuff. I'm pretty sure there will be big conflicts14:01
tedgzbenjamin, Ah, I mentioned it to Saviq last night. He must be hiding it to show his immense power. ;-)14:02
zbenjamintedg: most likely ;)14:02
tedgzbenjamin, Yes, I expect it to work, but wanted to make sure it was all the same names, etc.14:02
Saviqzbenjamin, you're even subscribed to the bug :)14:02
Saviqzbenjamin, bug #136134914:02
ubot5bug 1361349 in url-dispatcher (Ubuntu) "Should open scope:// URIs through unity8-dash" [High,In progress] https://launchpad.net/bugs/136134914:02
* zbenjamin hides14:03
tedgAgain Saviq shows strength as he lords over #ubuntu-unity!14:03
zbenjaminlol14:04
zbenjamintedg: is there some archive i can pull the package from ? or do i need to build it myself?14:04
dednickdandrader: ya. i've been busy with it for awhile now :)14:05
tedgzbenjamin, I *think* that Jenkins will build it in a few, but it's also quick to build.14:06
zbenjamintedg: not if you need to setup a builder chroot before ,)14:06
tedgHeh, just build it on the device.14:07
zbenjamintrue14:07
dandraderdednick, I feell your pain. had to do it before14:13
CimiSaviq, I pushed without the initialValue test14:13
SaviqCimi, String(factory.source) not +14:16
Cimiok14:16
CimiSaviq, also, the change on the loading of the settingspage is by your request14:17
CimiSaviq, when you asked me to wait onLoaded for open = true14:17
SaviqCimi, yeah I know14:17
SaviqCimi, it even makes sense probably14:17
mzanettimterry: hey14:18
mterrymzanetti, hello!14:18
SaviqCimi, although we could only delay a fade in or something14:18
SaviqCimi, but it's fine for now14:18
mzanettimterry: I've got bad news for you :)14:18
zbenjamintedg: do i need to create a url-dispatcher file with that patch at all?14:18
zbenjamintedg: or will it just work14:18
mzanettimterry: in my efforts to rework the launcher plugin, I stripped out all the accountsservice stuff14:18
mzanettimterry: but there's also good news for you14:18
mterrymzanetti, :(14:19
mzanettimterry: you'll get a separate launcher plugin that only reads stuff from accountsservice14:19
SaviqCimi, the initial value test should be easy14:19
mzanettimterry: this mix of dconf and AS was keeping to bring up issues14:19
mzanettimterry: so the idea is this:14:19
CimiSaviq, it is not14:20
mzanettimterry: the launcher plugin loaded in the session only works on dconf, has the interfaces for count emblems and whatnot14:20
CimiSaviq, because here the model is static14:20
CimiSaviq, so at launch it doesn't trigger the onSelectedIndexChanged14:20
Cimithat is triggered with the mocks14:20
mzanettimterry: it will also live-sync *all* its state changes (including recent apps, non-pinned ones) over to AS somehow in a future commit14:21
* tsdgeos shakes fist against UbuntuShape14:21
SaviqCimi, just set the model in init14:21
tsdgeossomehow it's eating the sourceChanged signal of Image14:21
SaviqCimi, instead of binding it14:21
mzanettimterry: and the greeter just loads another launcher plguin that only reads that AS state14:21
mzanettimterry: basically being a read-only copy of the session one14:21
mzanettimterry: so the question is: does this work for you or am I missing a use case?14:21
CimiSaviq, ok14:21
mzanettitsdgeos: I reported a bug for that long time ago14:21
CimiSaviq, haven't thought of that14:22
tsdgeosmzanetti: sigh14:22
tsdgeosi spent almost one our of my time tracking this stuff14:22
tsdgeosmzanetti: can you try to find the bug number14:22
Saviqmterry, to sum up what mzanetti said, I feel like all the greeter backends should be "views" onto the session, falling back to values stored in AS or some defaults14:22
tsdgeosso i can go there and tell them they own me some life time?14:22
mzanettitsdgeos: here's one https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/119477814:22
ubot5Ubuntu bug 1194778 in Ubuntu UI Toolkit "image provider does not emit sourceChanged signal" [High,Confirmed]14:23
CimiSaviq, actually no14:23
CimiSaviq, I tried that before14:23
mterrymzanetti, that should be fine, greeter only needs read access14:23
CimiSaviq, setting widgetData to undefined14:23
mterrymzanetti, so the AS code isn't written though?14:23
Cimistill no luck14:23
CimiSaviq, anyway, I was thinking of crashing in bed, I have fever today :\14:24
mzanettimterry: no, it isn't14:24
SaviqCimi, I can't see how selectedIndex wouldn't change, it should be -1 on startup, then change to 0 on model change, then to 1 for the initialValue14:24
SaviqCimi, oh ok14:24
mzanettimterry: I figured we'd only actually use it in split greeter szenario14:24
mzanettimterry: is that correct?14:24
CimiSaviq, the testCase waits for the rendering14:24
mterrymzanetti, yeah makes sense, just means I'll have to figure that out in future14:24
Cimiwhen: windowShown I believe14:25
mzanettimterry: well, not saying you have to write all this14:25
Saviqmzanetti, not sure if it's a Hungarian thing, but we also need something in the privacy mode for in-session greeter14:25
mterrymzanetti, sure14:25
mzanettiSaviq: Hungarian thing?14:25
Saviqmzanetti, szenario14:25
mzanettistill not following what hungary has to do with this :D but yeah, I guess we might want something14:26
Saviqmzanetti, Hungarian has a lot of "sz" (well, Polish, too, but we actually pronounce the s and sz opposite to how HU do)14:27
anpokszEnario?14:27
Saviqaaanyway14:27
anpokah not hungarin notation14:27
mzanettiSaviq: ah... I think its a german thing :D14:29
Saviqis 'szenario' a real DE word?14:29
mzanettiyes, well, uppercase14:30
mzanettiobviously :D14:30
CimiSaviq, weirdly enough, http://paste.ubuntu.com/8150359/14:30
CimiSaviq, make tryScopeSettingList does not switch to initialValue 2 here14:31
Cimithe onSelectedIndexChanged is not called through tests14:31
SaviqCimi, because it doesn't have a model14:31
SaviqCimi, in try* it's just empty, so no signals emitted14:31
CimiSaviq, the model is widgetData.properties14:31
CimiSaviq, I put debug in ScopeSettingList.qml14:32
SaviqCimi, it might be too early if it's bound14:32
SaviqCimi, if you do not bind widgetData but only do it in init() and reset back to null in cleanup()14:32
SaviqCimi, I can't imagine how there could be no Changed14:33
SaviqCimi, unless the selector is not even using ListView14:33
CimiSaviq, in that case works14:33
CimiSaviq, but breaks trySetting14:34
SaviqCimi, we don't need try* to work everywhere14:34
SaviqCimi, it's enough if it works in tryScopeSettings, not in all the widgets separately14:34
CimiSaviq, as well as adding warnings14:38
zbenjaminSaviq: what would be a url for any scope? just to try if it works14:43
Saviqzbenjamin, scope://clickscope for example14:43
Saviqzbenjamin, basically scope://$scopeid14:43
zbenjamin** (process:6108): WARNING **: Unable to dispatch url 'scope://clickscope':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'scope://clickscope' is not handleable by the URL Dispatcher14:44
zbenjaminhmm14:44
Saviqzbenjamin, you still need the unity8.url-dispatcher file installed14:44
Saviqzbenjamin, you might wanna restart url-dispatcher too14:44
zbenjaminSaviq: how to restart it?14:45
Saviqzbenjamin, "restart url-dispatcher" ;)14:45
* zbenjamin does a reboot14:45
Saviqzbenjamin, as phablet14:46
zbenjaminSaviq: still the same error14:47
CimiSaviq, ok done sth14:47
Saviqzbenjamin, let me check it out locally14:47
CimiSaviq, prefixed the initialValue test with 0, and moved the initialization of widgetData in initTestCase14:48
SaviqCimi, ugh14:49
SaviqCimi, I'm not gonna approve a test with 0 prefixed :P14:49
CimiSaviq, well let me remove the test then14:49
SaviqCimi, if you want a fresh state of the widget, create it on the fly14:49
SaviqCimi, even leave the original one around, just in that test create one dynamically and use that14:49
* Cimi tries14:50
SaviqCimi, http://qt-project.org/doc/qt-5/qtqml-javascript-dynamicobjectcreation.html14:50
CimiSaviq, easier, I can create another one just to test the init14:51
CimiSaviq, just next to the normal one14:51
SaviqCimi, sure, that too14:51
SaviqCimi, but if resetting widgetData to null does not reset the element to the original state, that's something fishy there too14:52
CimiSaviq, it does reset14:52
CimiSaviq, thus breaks all tests later14:52
CimiI prefer this way14:52
Cimisimpler14:52
SaviqCimi, I don't understand14:53
Cimineither I do14:53
Cimi:)14:53
SaviqCimi, if in cleanup() you set to null, that resets, and in init() you set to the appropriate data, and it works, why do you need two?14:53
CimiSaviq, it resets all the times I run the other tests14:54
CimiSaviq, so in the case of the test for index 0, spy.count accumulates all the model changes signals14:54
SaviqCimi, yeah, and?14:54
SaviqCimi, don't you have a spy.clear()?14:54
SaviqCimi, you should, in cleanup(), too14:55
SaviqCimi, and wait() already verifies there was one emit of that signal14:55
CimiSaviq, I have, but in init when I set the model14:55
Cimithe signal seems emitted14:55
SaviqCimi, yeah, that's expected is it not?14:55
Cimiyes14:56
SaviqCimi, so I still don't get why do we need two widgets14:56
CimiSaviq, pushed14:56
CimiSaviq, because it works fine, supports make try, does not clutter the screen with qml warnings14:57
CimiSaviq, I think the solution I just pushed is clean and fine... I take an aspirin and try to get better now14:58
CimiI have fever since this morning...14:58
CimiSaviq, trying alt_nav before15:01
SaviqWellark, what's ETA of Ubuntu.Connectivity 1.0?15:03
WellarkSaviq: it's in the utopic archive15:03
SaviqWellark, separate package?15:03
Wellarkand docs have been published under developer.ubuntu.com15:03
Saviqtsdgeos, ↑15:03
Saviqqml-module-ubuntu-connectivity15:04
WellarkSaviq: the qml API is in "qml-module-ubuntu-connectivity"15:04
WellarkSaviq: did the rename land?15:04
SaviqWellark, in utopic, yes, is in silo 4 for rtm15:04
Wellarkotherwise unity8 will explode if somebody installs that package15:04
Wellarkgood.15:04
tsdgeos:D15:04
Wellarktsdgeos: where do you need it?15:05
tsdgeosWellark: to see if we want to preload more icons in the dash or just the ones we're showing15:05
Wellarktsdgeos: ok. cool15:05
Wellarktsdgeos: http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Connectivity.NetworkingStatus/15:06
tsdgeosyep, saw it15:06
Wellarkok. go crazy!15:07
tsdgeosWellark: do you have any idea what urfkill is, your package needs it and i removed it not much ago because it kept segfaulting like every 4 minutes and killing my connection15:07
Wellarkif you break it, you get to keep both pieces15:07
dandraderany gmock expert around?15:07
Wellarktsdgeos: urfkill is the daemon which takes care of FlightMode for us.15:07
Wellarkand other radio control15:08
Saviqdandrader, mir folk probably know best15:08
Saviqdandrader, or you can hit up tvoss directly :)15:08
dandraderright15:08
tsdgeosWellark: well, let's see if the infinite loop segfaulting got fixed15:08
tvossdandrader, what do you need?15:08
zbenjaminls15:08
Wellarktsdgeos: if not, file a bug against urfkill15:08
tsdgeosi did15:08
tsdgeosit was duplicated against one of those private bugs15:09
tsdgeosso i lost all hope of tracking it15:09
CimiSaviq, tried alt nav15:09
CimiSaviq, I see some overlapping pixels in the middle15:09
CimiSaviq, could be the separator15:09
Cimivertical one15:09
tsdgeosWellark: hmmmm15:10
Saviqtedg, http://pastebin.ubuntu.com/8150697/ not looking good does it?15:10
tsdgeosWellark: how expensive is a NetworkingStatus ? probably i only want one, right?15:10
Wellarktsdgeos: try this also: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/129538715:10
ubot5Ubuntu bug 1295387 in urfkill (Ubuntu) "Set key_control to false in default config" [Medium,Triaged]15:11
Wellarktsdgeos: that key is under /etc/urfkill/urfkill.conf15:11
Wellarktsdgeos: well, it's not that expensive15:11
dandradertvoss, asked in #ubuntu-mir15:11
Wellarkit basically just adds two signal handlers to the QDBusConnection::sessionBus()15:12
tsdgeosWellark: so i set that to false will disable the thing?15:12
SaviqCimi, yeah, shall I offset it by 1dp from the top?15:12
Wellarktsdgeos: that did at least fix 100% cpu usage on my system15:13
tedgSaviq, Well, I'm sending what I expect to send :-)15:13
tsdgeosWellark: ok, let's see15:13
Saviqtedg, yeah that I know, but we're not receiving it....15:13
tedgSaviq, Can you grab the introspection on the connection?15:13
Saviqtedg, how do I?15:13
Saviqtedg, if I do15:14
tedgSaviq, gdbus introspect --session --dest com.canonical.UnityDash --object-path / --recurse15:14
CimiSaviq, the vertical separator, seems likle15:14
Saviqtedg, http://pastebin.ubuntu.com/8150722/15:14
Saviqtedg, http://paste.ubuntu.com/8150724/15:15
=== salem_ is now known as _salem
tedgSaviq, Hmm, yeah, really not there.15:15
tedgSaviq, Not sure on that one, its a UriHandler thing in QML.15:16
Saviqtedg, well, yeah, I got it, and it's a singleton so always there :/15:16
Saviqtedg, ok, will have to dig on our side15:16
SaviqCimi, fixed15:17
CimiSaviq, better15:22
CimiSaviq, do we have a design approval on that separator?15:22
Cimiwhy is it 2 pixels wide?15:22
SaviqCimi, because separators are meant to be 2dp15:22
tedgSaviq, So, did it work?15:23
* tedg can't take this level of stress15:23
Saviqtedg, seems better, yes15:23
CimiSaviq, usually are 2dp because they were composed by a dark and a white line15:23
tedg:-)15:23
tedgWoot!15:23
Saviqtedg, didn't *work* work yet15:23
CimiSaviq, not solid 2px15:23
SaviqCimi, if only we had a separator in the sdk15:23
SaviqCimi, that can be used in situations like this15:23
SaviqCimi, and visual design for that matter15:24
CimiSaviq, try 1px on your machine and let me know how you like it15:24
CimiSaviq, dp(1) and opacity 0.2 imho15:27
Saviqtedg, zbenjamin \o/15:27
zbenjaminSaviq: got it working???15:27
Saviqzbenjamin, yeah, got a small fix for your branch15:30
Saviqtedg, how do I set an env var in an upstart job?15:30
Saviqexport APP_ID?15:31
Saviqno :/15:31
Saviqenv APP_ID=unity8-dash doesn't seem to cut it :|15:32
Saviqzbenjamin, http://paste.ubuntu.com/8150874/15:35
SaviqWellark, any reason why the network status thing isn't a singleton?15:41
tedgSaviq, You should just have to have env to define it and export to put it into the env.15:41
Saviqtedg, yeah, it works, no need for export even, not sure why list-env doesn't show it though15:42
zbenjaminSaviq: https://code.launchpad.net/~zeller-benjamin/unity8/scope-url/+merge/23174915:42
WellarkSaviq: no reason15:42
WellarkSaviq: I thought about it15:42
Wellarkbut then again normal apps would anyway create just one of them15:42
SaviqWellark, not a reason to not make it a singleton15:43
SaviqWellark, because they will create multiple of them if they can15:43
SaviqWellark, and trying to not do it is a pain because you need to pass it around15:43
SaviqWellark, it really should be a singleton15:43
zbenjaminSaviq: added your patch to my MR15:44
zbenjaminSaviq: i need to run now, anything else before i log out?15:44
Saviqzbenjamin, no, is good, thanks, might need to take it over from you to add testing15:45
Saviqzbenjamin, but other than that it's good, thanks15:45
zbenjaminSaviq: sure , go for it :)15:46
WellarkSaviq: it will be a singleton15:46
Wellarktsdgeos is working on it15:46
=== gatox is now known as gatox_lunch
SaviqWellark, yeah, I know, ;)15:47
CimiSaviq, Houston we have a bug15:48
* Wellark heils to our unity8 puppet master Saviq 15:48
CimiSaviq, the divider highlight/inset need to be disabled when activating (animating) the inner page header15:49
CimiSaviq, to reproduce, try a search - I recommend trying searching in The Weather Channel scope, you can clearly see the lines at the bottom of the second header15:49
Cimimight be fixable with a visible flag15:50
SaviqCimi, need to check15:50
SaviqCimi, comment on MP please, tomorrow15:50
Cimiok15:50
Cimitomorrow is http://nationalburgerday.co.uk btw15:51
Cimi:D15:51
tedgCimi, Are you taking the day off? "personal day" ;-)15:54
Cimitedg, hah15:54
Cimitedg, I might take the afternoon off if I decide to go double at lunch :D15:54
tedgHeh15:55
Cimitedg, last year I had a double hamburger at lunch and my afternoon was one of the most unproductive ever :D15:55
tedgHmm, clearly we need Saviq to approve all Cimi's lunch choices. Cimi, text him a photo and he can give a thumbs up/down.15:56
tsdgeosWellark: https://code.launchpad.net/~aacid/connectivity-api/networking_status_singleton/+merge/23224816:00
Wellarktsdgeos: cool16:08
Wellarktsdgeos: don't you have to parent the singleton the the engine?16:08
Wellarkin networkingStatusSingletonProvide16:08
Wellark()16:08
tsdgeosWellark: i think not16:10
tsdgeosi mean it works without doing it16:10
tsdgeoswhat would that give me?16:10
tsdgeosmaybe deletion on engine deletion16:10
Wellarktsdgeos: yep :)16:10
tsdgeoscan do that if you prefer16:10
Wellarktsdgeos: please check the Qt documentation about what it says about this matter16:11
tsdgeosWellark: done16:11
Wellarkis the singleton automatically parented to the QmlEngine or not16:11
tsdgeosi did, it's pretty ambiguous16:11
Wellarkok.16:11
Wellarkparenting it to the engine is not a bad thing anyway16:11
Wellarkas if I remember correctly the signletons are created once per QmlEngine instance16:12
tsdgeosyeah16:12
tsdgeos"NOTE: A QObject singleton type instance returned from a singleton type provider is owned by the QML engine. For this reason, the singleton type provider function should not be implemented as a singleton factory.16:12
tsdgeos"16:12
tsdgeosi mean it's not needed it seems16:12
tsdgeosbut it won't hurt either AFAICS16:12
Wellarktsdgeos: yep.16:12
Wellarktsdgeos: thanks!16:12
Wellarktsdgeos: Approved16:12
Wellarktsdgeos: now, get a silo :)16:12
tsdgeoshe he16:13
tsdgeosi'm not a lander16:13
Wellarkas this is an API break I would like to get it landed ASAP16:14
Wellarkthostr_: --^16:14
tsdgeos+116:14
Wellarkthostr_: https://code.launchpad.net/~aacid/connectivity-api/networking_status_singleton/+merge/23224816:14
tsdgeosWellark: have to go now, tty tomorrow16:14
Wellarkafter that lands we can send a public email to announce the API16:14
Saviq@unity guess what... strip tags please...16:22
=== Estilanda_ is now known as Estilanda
dandraderSaviq, do you know which merge brought it?16:23
Saviqdandrader, lemme check16:24
Saviqdandrader, last branch committed to trunk that has them was lp:~aacid/unity8/expandable_model_not_array16:26
dandraderSaviq, you mean the first16:27
dandradertop to bottom16:27
Saviqdandrader, that's still the last, timewise :)16:27
=== _salem is now known as salem_
mzanettiSaviq: we should do something like with the last one in the standup :D16:30
Saviq;)16:30
mzanetti5 pushups per wrong tag :D16:30
Saviqwhoever reintroduces tags gets to do notes for a week16:30
mzanettidoesn't work16:30
mzanetticauses all others to be late at the standup16:31
mzanettifor a week16:31
Saviq;)16:31
mzanetti(including me)16:31
Saviqmzanetti, https://code.launchpad.net/~saviq/unity8/passcode-not-pin/+merge/23225816:31
Saviqah grr16:31
Saviqneed to resubmit16:31
CimiSaviq, I tried adding a behaviour16:32
CimiSaviq, it does not work16:32
SaviqCimi, weren't you going to bed?16:32
mzanettiah ok...16:32
CimiENOCONTEXT16:32
CimiSaviq, behaviour on the setting list16:32
Saviqmzanetti, https://code.launchpad.net/~saviq/unity8/passcode-not-pin/+merge/23226116:32
SaviqCimi, yeah I know16:32
CimiSaviq, I was, took aspirin, feeling better16:32
Cimiand my homemade cold brewed coffee16:33
SaviqCimi, what was the problem with alt nav again?16:35
mzanettiSaviq: where did you find the PIN actually?16:35
mzanettiSaviq: IIRC you made me change this last minute :)16:36
Saviqmzanetti, *to* PIN16:36
mzanettiyes16:36
Saviqmzanetti, because that's what kemmko told me to16:36
mzanettiah ok16:36
Saviqmzanetti, I put the phone in her hands16:36
Saviqmzanetti, and got "this should say PIN"; "you sure?" "yes"16:36
Saviqpffrreet16:36
mzanettiack16:36
mzanettijust wanted to know if there's a document still specifying the old one16:37
SaviqCimi, ah you mean the line going through the screen? that's not from the divider actually, and totally not an alt nav bug16:38
SaviqCimi, that's separatorBottom16:40
Saviqaccording to my qml debugging foo16:40
Saviqfu rather16:40
Saviqeven though I set it to ""16:41
SaviqI wonder if it's still added to the height or something16:41
CimiSaviq, you saw the bright line 2gu under the search box?16:46
CimiSaviq, I meant that line16:46
SaviqCimi, yes, that's SDK's bottomBorder16:46
SaviqCimi, visible even though I reset separatorBottomSource16:47
CimiSaviq, ugly - ok16:47
CimiSaviq, one day we probably want to use a loader for the content here16:47
SaviqCimi, which content?16:49
SaviqCimi, bottomItem?16:49
SaviqCimi, probably, yeah16:49
CimiSaviq, no, the whole container16:52
SaviqCimi, which one16:52
CimiSaviq, to recap, the bottomBorder is inside PageHeadStyle?16:54
SaviqCimi, yes16:54
CimiSaviq, we can use a different height for those16:54
CimiSaviq, and clip :D16:54
SaviqCimi, OR16:54
Cimion movement16:54
SaviqCimi, force SDK to fix it16:54
Cimi:D16:55
Cimiok16:55
Saviqinstead of working around it16:55
CimiSaviq, I think the workaround is easier xD16:55
Cimiahah16:55
CimiSaviq, ok..16:55
SaviqCimi, but has short legs16:55
SaviqCimi, dude, are you reading what you're doing or not?16:56
Saviq(String())?16:56
CimiSaviq, I had fever before16:56
Cimimight have done a mistake16:56
Cimiwas feeling quite shite16:56
SaviqCimi, excuses excuses16:57
Saviq;P16:57
SaviqCimi, FTR, I dislike scopeSettingFresh a lot16:57
SaviqCimi, someone will try to use it in a different test for some reason later16:57
SaviqCimi, and it will break16:57
CimiSaviq, that's why we have reviews :)16:57
CimiSaviq, we can stop them16:58
SaviqCimi, we *really* don't need tryFoo to work for every value of Foo, it's better to have a bigger overview16:58
SaviqCimi, in any case16:58
=== gatox_lunch is now known as gatox
SaviqCimi, the fact that you want tryFoo work does *not* preclude you creating a fresh object in the test16:58
SaviqCimi, so please do that16:58
SaviqCimi, remember to destroy it at the end of it16:58
CimiSaviq, I think using a fresh component is better than messing with the model setting it to null and not16:58
SaviqCimi, wrong, because that assumes all your components will be fresh16:59
SaviqCimi, which in real life they don't have to be16:59
CimiSaviq, but initialValue is indeed supposed to work just in a particular situation16:59
SaviqCimi, so, in order of preference: make it work with the component you have already or create a fresh object for that test alone17:00
CimiSaviq, so forcing to delete the model at the end of every test feels wrong to me too17:00
SaviqCimi, well, that's a wrong feeling you have17:00
SaviqCimi, the particular situation is that when the model is reset17:00
SaviqCimi, and initialValue is set17:00
SaviqCimi, it should set selectedIndex to initialValue, nothing else17:00
SaviqCimi, never it should say that "it will only work when you first the model the first time ever"17:01
SaviqCimi, that's doomed17:01
CimiSaviq, well17:01
CimiSaviq, initialValue will always set the selectedIndex to 217:01
CimiSaviq, messing up with tests that want to check where the index is17:02
=== alan_g is now known as alan_g|EOD
CimiSaviq, do we also want qml warnings because of null model?17:03
SaviqCimi, if you have warnings like that, you'll have them on startup too17:04
SaviqCimi, so not sure what's the argument here17:04
CimiSaviq, not with the dual component17:04
Cimior maybe yes17:04
SaviqCimi, you will in real life17:04
SaviqCimi, you might not get them in the test just because they're bound and simple17:05
SaviqCimi, in real life the component will be loaded by the Loader, it will complain about the null, and only then will you set its model17:05
SaviqCimi, that's why we have the foo ? foo.bar : null or whatever17:06
SaviqI've an idea about getting rid of those but mzanetti didn't like it, still need to convince 'im ;P17:06
mzanetti:D17:06
mzanettiSaviq: IIRC we got a vote of 2:1 between albert, you and me, no?17:07
Saviqmzanetti, Albert didn't really care ;P17:07
Saviqwe ended up going "let's revisit this properly"17:07
mzanettioh well...17:07
mzanettiyeah17:07
* Cimi sales his vote...17:09
Saviqdoes wat?17:09
Saviqmzanetti, if you're away tomorrow, think you could still do the favorite review?17:10
mzanettiwhich is?17:10
mzanettiSaviq: ^17:10
Saviqlool17:10
Saviqhttps://code.launchpad.net/~saviq/unity8/scope-favoriting/+merge/23210917:10
Saviqlool, sorry, that was a long lol :D17:11
Saviqmzanetti, if not, don't worry, I'll find a soul tomorrow17:11
mzanettiSaviq: ah right... yeah, can do it17:12
dandraderman, writing test code with google mock is like writing in a different programming language17:30
mzanettiheh17:30
Saviq:)17:37
=== dandrader is now known as dandrader|afk
mzanettiSaviq: https://code.launchpad.net/~saviq/unity8/scope-favoriting/+merge/232109/comments/56578417:49
mzanettiSaviq: is there any trySomething I could use to test it?17:50
Saviqmzanetti, tryDash, but it won't actually remove from the favorites17:53
Saviqmzanetti, but new, working unity-scopes-shell almost migrated17:53
Saviqmzanetti, actually migrated, just upgrade17:53
mzanettiSaviq: make tryShell is segfaulting here with this branch :/17:53
mzanettilemme try trunk17:54
Saviqinteresting17:54
Saviqmzanetti, that'd be weird, btw, it doesn't even touch shell, everything happens in dash17:54
mzanettiSaviq: trunk works17:55
mzanettireally strange17:55
Saviqmaybe one of the prereqs17:55
Saviqthis does, after all, add settings and all kinds of stuff17:55
Saviqmzanetti, tryShell doesn't crash here btw17:55
mzanettimeh17:55
mzanettiSaviq: 100% repro17:56
SaviqCimi, looks like you'll have to rebase scope settings on alt nav17:57
CimiSaviq, why?17:57
SaviqCimi, guess17:58
CimiSaviq, because you postpone my reviews with semicolon requests? :D17:58
CimiSaviq, I'm going to needfix yours! :P17:58
SaviqCimi, do you want a slap next time I meet you?17:58
Cimiahah17:58
SaviqCimi, want me to show you all the non-semicolon review comments?17:58
* mzanetti grabs pop corn17:59
* Saviq tries to convince train to not conflict17:59
Saviqmzanetti, testShell passes, too, lemme look at the failed one18:00
mzanettiSaviq: why can't I drag up the dash overview when running dash app on desktop?18:00
Saviq-mousetouch18:00
mzanettignah18:00
mzanettiofc18:00
mzanettiSaviq: ./run.sh should do that ;)18:00
CimiSaviq, btw the fact that http://paste.ubuntu.com/8151986/ doesn't work is confusing18:01
Saviqmzanetti, lp:~saviq/unity8/tweak-runscript18:01
SaviqCimi, well, does settingData actually have at least three items?18:02
CimiSaviq, sure18:02
SaviqCimi, but in any case it's not "confusing", it shows a problem with the widget18:02
Cimiah I see now18:03
Saviqmzanetti, hah, the failure is interesting indeed, totally reversed behaviour somehow... must be something that merged before it...18:04
Saviqwell, no, CI wouldn't get that...18:04
mzanettiSaviq: got tryShell to work again after a rebuild18:04
CimiSaviq, onSelectedIndexChanged is already 0, so it doesn't change, I probably have to set to -1 after I put model to null18:04
CimiSelectedIndex is 0 I mean, so it doesn't get called18:05
SaviqCimi, thought ListView would do that, but maybe not indeed18:05
Saviqmzanetti, ah, that test run is old, there's one going on now18:06
Saviqmzanetti, with trunk merged18:06
mzanettiah ok18:06
Saviqmzanetti, just please see if it passes locally for you18:07
Saviqah got it to fail here after all18:07
Saviqok so that needs fixin'18:07
Saviqstoopid18:07
Cimiwtf18:08
Saviqmust be not ready yet, not registering the click18:08
mzanettino, passing here18:08
CimiSaviq, I set index to -1, change model, index is still -118:09
CimiSaviq, so I guess we need to do sth onModelChanged??18:09
Saviqmzanetti, yeah, mouseclick must not register18:09
Cimiit is easier to create this dynamic obj18:09
SaviqCimi, I'd go and talk to sdk now, this feels weird, I don't think a ListView behaves like this, should reset selectedIndex to -1 when model invalid18:10
CimiSaviq, I need to get this branch in before my friend's alt_nav branch gets merged18:11
Cimidon't tell anyone18:11
mhall119tvoss: ping18:12
tvossmhall119, pong18:12
mhall119tvoss: hi, you mentioned a while back that you were going to write a tutorial on net-cpp, I'd like to publish that on developer.u.c, do you have an eta on when you might be able to write it?18:13
tvossmhall119, beginning of next week is realistic18:13
tvossmhall119, doxygen is fine for you, correct?18:13
mhall119so Sept. 3 maybe?18:14
mhall119tvoss: I'll be copy/pasting into Wordpress, so it doesn't matter so much as long as it's not heavily dependent on CSS to layout/positioning18:14
mhall119whichI don't think doxygen is18:14
tvossmhall119, ack18:14
SaviqCimi, it's in the same silo, listed after it, so ya know18:15
CimiSaviq, http://paste.ubuntu.com/8152128/18:20
Cimiworks18:20
SaviqCimi, no need for the quick and components imports18:21
CimiSaviq, quick yes18:21
CimiSaviq, UC no18:21
CimiSaviq, why no quick?18:21
SaviqCimi, because you're not using anything from quick directly18:22
SaviqCimi, the component itself imports it, that's enough18:22
Cimiok18:22
Cimithanks18:22
SaviqCimi, actually no rebasing needed, I just needed to force order, and need to remerge yours into my favorites18:23
CimiSaviq, I pushed18:23
CimiSaviq, which silo to test everything btw?18:32
Saviq17, but it's not built yet18:32
Saviqnot the latest at least18:33
Saviqmzanetti, fwiw I think I fixed the test... apparently clicking on 0,0 wasn't reliable enough18:39
mzanettihmm, interesting18:40
mzanettiok18:40
SaviqCimi, strip tags in your branch18:41
CimiSaviq, 0.1.16 @_@18:42
Cimiwhen did that happened18:42
CimiSaviq, dont btw18:42
SaviqCimi, this one's constantly around18:42
Cimidone18:42
SaviqCimi, please rebase yours on alt nav, there's no conflicts there18:47
SaviqCimi, but mine has conflicts with the previous ones and we can't do more than one prereq18:47
CimiSaviq, ok doin19:57
mzanettiSaviq: hey, everything ok with this? https://code.launchpad.net/~saviq/unity8/scope-favoriting/+merge/23210919:59
mzanettithe diff seems larger than before19:59
CimiSaviq, I just noticed you did another one20:00
CimiSaviq, but I pushed already20:00
SaviqCimi, too lates20:10
Saviqmzanetti, superseded by https://code.launchpad.net/~saviq/unity8/scope-favoriting/+merge/23229820:10
=== dandrader|afk is now known as dandrader
=== salem_ is now known as _salem
CimiSaviq, 1dp size and 0.2 opacity for the separator :)21:10
SaviqCimi, done21:11
CimiSaviq, matthieu agrees should be smaller21:11
CimiSaviq, we're debugging here :)21:12
Saviqrofl21:12
CimiSaviq, also the asset of the overview21:12
* Saviq just run tryDash @ GRID_UNIT_PX=121:12
Saviqit worked!21:12
Cimirofl21:13
SaviqCimi, what asset?21:13
SaviqCimi, the hint you mean?21:13
CimiSaviq, the button21:13
CimiSaviq, yeah21:13
SaviqCimi, if you get a better one, file an MP, that's what I go21:13
Saviqt21:13
CimiSaviq, also personally I am not a fan of this grey in overview21:13
CimiSaviq, and the white button at the top to switch mode21:13
Cimibrrr21:14
SaviqCimi, can you not talk to me about this?21:14
SaviqCimi, anyway, overview just got the can21:14
SaviqCimi, after user testing, so don't you worry there21:14
Cimiahaha21:14
cwayne1 srsly21:14
Saviqit's only took like 2 weeks of Albert's work21:14
Saviqobviously it's a good use of his time21:14
CimiSaviq, well I like it, just it needs refinements21:15
cwayne1wtf are we gonna have instead21:15
CimiSaviq, I am not blaming his work!21:15
Saviqcwayne1, the next best thing21:15
SaviqCimi, no, I mean that we could've *gasp* prototyped and tested it before handing off to implementation21:15
CimiSaviq, you have an hint why scrolling vertically in overview skips frames?21:16
Cimi+221:16
Cimiwe will have new prototypers I hope21:16
SaviqCimi, same as everywhere else in the dash? image loading / unloading?21:16
CimiSaviq, really?21:17
Saviqalthough granted, it does look slower than everywhere else21:17
CimiSaviq, it looks like it displays all images21:17
Cimiwe need to benchmark that21:17
SaviqCimi, yeah it's not as everywhere else in the dash, then no21:17
SaviqCimi, no we don't, it's going away, we're not spending any significant time on it21:17
CimiSaviq, away as seriously away?#21:18
SaviqCimi, yes, it got the can21:18
CimiSaviq, as going back to scopes scope?21:18
SaviqCimi, no, going towards the next best thing21:18
CimiSaviq, isn't RTM like in 2 days?21:18
SaviqCimi, details21:18
Cimihah21:18
CimiSaviq, of course we won't prototype it21:20
Cimithe next big thing21:20
CimiSaviq, can you make the alt nav separator 1dp and 0.2 opaque?21:23
SaviqCimi, [23:11] <Saviq> Cimi, done21:23
CimiSaviq, col thx21:24
* Cimi -> bed21:26
Cimio/21:26
=== dandrader is now known as dandrader|afk
=== rsalveti_ is now known as rsalveti
=== dandrader|afk is now known as dandrader

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