/srv/irclogs.ubuntu.com/2013/08/21/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest79256
=== jono is now known as Guest36288
mzanettiveebers: hey07:24
mzanettiSaviq: when you have some time, please check the last comment here to see if you agree: https://code.launchpad.net/~kaijanmaki/unity8/launcher-backend/+merge/17966307:30
MacSlowDo we have working .cmake files for Gio in some branch?07:33
Saviqmzanetti, done07:36
SaviqMacSlow, unity-notifications maybe?07:36
SaviqMacSlow, or not, as you want it in there, right?07:37
MacSlowSaviq, that's what I'm writing it for currently07:37
MacSlowSaviq, correct07:37
MacSlowSaviq, I'm writing one atm... but have trouble getting it to work07:37
mzanettithanks07:38
tsdgeoshmmmm07:50
tsdgeosi'm beginning to think something is broken in dee or dee-qt07:51
tsdgeosi have a QLimitFilterModel whose first element is "Fitxers i carpetes" get a sourceRowsAboutToBeRemoved 11 11 and then the first element is not "Fitxers i carpetes" but "Google Drive" :S07:52
* tsdgeos adds some debugging to dee-qt07:53
* tsdgeos isn't happy with dee-qt debugs08:07
tsdgeoshttp://paste.ubuntu.com/6009437/08:07
tsdgeoswhy you say you remove 11 but remove 0?08:07
MacSlowSaviq, made compiling and linking against gio work now08:17
SaviqMacSlow, k thanks08:17
Saviqtsdgeos, uh oh08:18
tsdgeosSaviq: ok, i think i know what's causing that08:18
tsdgeosnot sure that's our root problem though08:18
tsdgeosthat's being caused because when dee says "removed" it's actually "aboutToRemove"08:19
tsdgeosand there's no "reallyRemoved"08:19
tsdgeosso we're always one step behind08:19
Saviqah08:19
tsdgeosthat upsets my debugging08:19
tsdgeosnot sure if it upset consumers too08:19
Saviqtsdgeos, when you decide to do it, you might want to salvage some tests from https://code.launchpad.net/~unity-team/dee-qt/deevarianttext-and-tests/+merge/15353008:20
tsdgeossince you say "remove row 0" so the consumer probably expects that the row is gone but is still not gone08:20
* tsdgeos wonders how hard would be for dee to provide a reallyRemovedSignal08:21
veebersmzanetti: hey, what's the haps?08:21
Saviqtsdgeos, probably an mhr3 question08:22
Saviqpstolowski, or maybe you can point tsdgeos somewhere ↑↑?08:23
pstolowskiSaviq, tsdgeos: I'm not familar with dee internals, check with mhr3 pls08:27
Saviqpstolowski, thanks08:27
tsdgeoswell adding the signal should not be hard08:28
tsdgeosi've the code here08:28
tsdgeosthe thing is if makes sense :D08:28
tsdgeosbecause you do a row-removed (iter), then you'd need a row-really-removed(void)  since passing the iter there obviously makes no sense, that's what qmodel does, but not sure assuming there will be no more than one begin before the next end is a dee thing08:30
tsdgeosprobably it is08:30
tsdgeosthat'd actually help me a lot debugging this thing08:30
tsdgeoslet's invoke a mhr308:30
tsdgeoslol08:31
tsdgeosit worked :D08:31
Saviqrotfl08:31
mhr3your wish is my command08:31
tsdgeosmhr3: how  hard would it be to add a row-really-removed signal to dee?08:31
tsdgeosi'm finding my debugging (and probably the qt models) get08:32
tsdgeosconfused because removed is "going to remove"08:32
tsdgeosbut we translate that in dee-qt to "has been removed"08:32
MacSlowSaviq, hm... the symbol resolving of the gio-calls fails at runtime... not sure why.. so I'm back to cmake-trouble-solving08:32
mhr3tsdgeos, a sec, got a standup now08:32
tsdgeosand from then on all sort of weird things happen when i try to make sure tthe models are in sync08:32
pstolowskiSaviq: do you know when winstack dbus api is going to land on the phone?08:46
=== Emmy is now known as EMMY
dednickSaviq: ping08:50
dednicklarsu: ping08:57
=== EMMY is now known as Emmy
tsdgeosmhr3_: ping-when-you-have-time09:14
mzanettiCimi: lol... I wanted to build a package of unity8 and the testClock failed because it was 11:1309:18
mzanettiCimi: there must be something wrong in the check09:18
mzanettiCimi: right... because the test checks for "11:13" but the greeter says "11:13 AM"09:19
mzanettilol... what are the odds09:19
mhr3_tsdgeos, ready09:20
tsdgeosmhr3: how hard would it be to add a row-really-removed signal to dee?09:21
tsdgeosthat signals when the removal frmo the model has happened?09:21
mhr3_tsdgeos, i'd rather change qtdee to properly translate the events to the qt world09:22
tsdgeosmhr3_: well, but it can't09:22
tsdgeosthat's why i need the new signal :D09:22
mhr3_everything is possible09:23
mhr3_tsdgeos, so why is it failing09:23
mhr3_do you try to read the actual data inside the callback?09:23
tsdgeosmhr3_: adidas?09:23
tsdgeosmhr3_: well qt has a signal that needs to be emitted before the data is removed and one after the data is removed09:24
tsdgeosif you tell me how to do that with the signals dee has09:24
tsdgeosi'm happy to09:24
MacSlowSaviq, linking issue solved... if you check your latest email you'll see some progress on the extended snap-decision front09:24
tsdgeossame for insertion btw09:25
tsdgeosbut i think insertion is less problematic09:25
mhr3_tsdgeos, ultimately it has to be a problem that when the end signal is emitted you call something and gives you inconsistent state of the model, right?09:25
mhr3_my question is what is that something09:25
tsdgeosi don't call anything09:26
mzanettidata(), no?09:26
tsdgeosstuff is connected to my signals09:26
tsdgeosand that stuff is reacting to those signals09:26
tsdgeosand if we lie in the signals09:26
tsdgeosthey get unhappy09:26
mhr3_but the signals themselves don't lie09:28
mhr3_but there's difference in call semantics between dee and qt09:28
Cimimzanetti, you want to fix it or let me do?09:29
mzanettiCimi: already fixed it.09:29
mhr3_tsdgeos, can you provide an example of where do the signals lie09:29
tsdgeosnot the dee ones09:30
tsdgeosthe dee-qt ones09:30
tsdgeosbecause i can't do what i need to do with what dee gives me (or at least i don't see how to do it)09:30
mzanettiCimi: https://code.launchpad.net/~mzanetti/unity8/allow-testing-at-11.13/+merge/18123109:30
mhr3_tsdgeos, can you be specific, what's actually wrong that makes the code fall over09:31
tsdgeoswell i told you09:31
tsdgeosi need to emit a signal before remove starts09:31
tsdgeosand one after removal ends09:31
tsdgeosi don't know how to do the one after removal ends09:32
tsdgeosso right now the code is just emitting while removal has not finished09:32
tsdgeosunless we decide dee-qt should mirror all the data instead of calling dee_model_get_value09:33
tsdgeosthen i can do that just fine09:33
tsdgeosbut i don't think it's a good idea to copy all the data over09:33
mhr3_ultimately it's a problem of a single signal vs two, it's not exactly trivial to go from one to two09:34
Saviqdednick, pong09:37
SaviqMacSlow, cool, thanks09:37
tsdgeosmhr3_: ok, i guess that's a no to adding the "really-removed-signal" from your side09:38
tsdgeosi'll see what i can do in dee-qt then09:38
mhr3_tsdgeos, no, i'd like a cleaner solution09:39
mhr3_tsdgeos, wondering what that is now09:39
tsdgeosthere's nothing cleaner than emmiting a signal in your side09:39
tsdgeoswhich from looking at the code09:39
dednickSaviq: howdy. have another indicator switchover branch. Network this time. https://code.launchpad.net/~nick-dedekind/unity8/unitymenumodel.network/+merge/18114709:39
tsdgeoslooks like 10 lines09:39
tsdgeosat most09:39
dednickSaviq: think i got the diff right this time.09:39
Saviqdednick, so that's temporary while we don't have the extended snap decisions, right? you just brought the Network plugin back?09:41
dednickSaviq: well, some of the qml will stay (the accesspoint menu items for example), but yes, the agent stuff will be removed later.09:41
=== tvoss_ is now known as tvoss|lunch
Saviqdednick, yup, thanks09:44
mhr3_tsdgeos, but it's doubling the number of signals, and those are not cheap in gworld09:47
nic-doffaySaviq, back to the models if you have a second? https://pastebin.canonical.com/96140/09:54
nic-doffayThat's not displaying anything, although the model prints out fine.09:55
nic-doffay(The model of the ListView that is)09:55
nic-doffaySaviq, btw even when I use a rectangle there aren't any rows being made.09:59
mhr3_nic-doffay, the OptionSelector delagate looks wrong, shouldn't you set its model first?09:59
nic-doffaymhr3_, I was setting it internally for now just to test.10:00
mhr3_nic-doffay, and shouldn't the items be "modelData.name"?10:00
Saviqnic-doffay, OptionSelector needs *something* to display10:00
=== rachelliu_ is now known as rachelliu
Saviqmhr3_, no, modelData is only used for simple models10:01
nic-doffaySaviq, the optionSelector isn't created. Even a simple rectangle isn't made.10:01
Saviqmhr3_, for models with roles, straight roles can be used10:01
nic-doffaySaviq, once I get past that issue the rest should be easy.10:01
mhr3_ah, thx10:01
Saviqnic-doffay, your ListView needs a height10:01
Saviqmhr3_, or model.roleName10:01
Saviqnic-doffay, that's first10:01
Saviqnic-doffay, dimensions in general10:02
nic-doffaySaviq, it does, I just omitted the code.10:02
Saviqnic-doffay, again, ListViews don't have any implicit height10:02
nic-doffaySaviq, I'm setting the anchors.10:02
Saviqnic-doffay, you should not omit code if we are to see something10:02
Saviqnic-doffay, does onCountChanged: console.log(count) print anything?10:02
nic-doffaySaviq, here's the unomitted code: https://pastebin.canonical.com/96141/10:03
nic-doffayI'll check that now.10:03
Saviqnic-doffay, if you replace model: scope.filters with model: 10, does it create 10 delegates?10:03
nic-doffaySaviq, yeah.10:03
nic-doffayCount is 0 btw.10:03
nic-doffayif using scope.filters10:03
tsdgeosmhr3_: Saviq: so http://paste.ubuntu.com/6009700/ fixes the problems for me, but to be honest that code (even removing the debugs) gives me an ultra cringe, and of course abuses the fact that almost noone uses beginInsertRows to access the "old" model data10:04
Saviqnic-doffay, sounds like scope.filters is empty10:04
Saviqnic-doffay, you could check by adding some debugging in filters.cpp in rowCount()10:04
mhr3_tsdgeos, yea, that's pretty horrible :/10:06
nic-doffaySaviq, I'll take a look, ta10:07
Saviqnic-doffay, but if onCountChanged only prints 0, too, that's basically the same thing - the model is empty10:07
nic-doffaySaviq, cool I'm doing more digging.10:08
mhr3_tsdgeos, so things are actually calling the data() method when removeEnd is emitted?10:08
mhr3_and that's what's causing the problem ultimately?10:08
tsdgeosyes10:10
tsdgeosdata() and count() and stuff10:10
tsdgeosmodel is supposed to be consistent at all times10:11
tsdgeoshmm i think i can cheat in data() probably and make as if that row had been already deleted10:17
* tsdgeos tries a different ugly solution to see if that one works10:18
mhr3_tsdgeos, exactly what i was trying right now10:20
mhr3_tsdgeos, http://paste.ubuntu.com/6009762/10:21
=== hikiko is now known as hikiko|lunch
Saviqmzanetti, Cimi re: "testing @ 11:13"... UGH!10:21
CimiSaviq, :D10:21
mzanettiSaviq: hehe... we actually knew about this issue and had a check against it.10:22
mzanettiSaviq: but that check had an issue :D10:22
Saviqmzanetti, Y2K, I tell you :P10:22
mhr3_tsdgeos, can you try that patch?10:23
tsdgeosyes10:23
mhr3_tsdgeos, it's still horrible, but there's less of the horrible code10:23
mhr3_:)10:23
Saviqdednick, so, to test the network switchover, chewie goes away, I install indicator-network and it should all be fine?10:34
Saviqdednick, do we not remove the .indicator file from unity8?10:35
dednickSaviq: you'll probably still have a duplicate10:35
dednickSaviq: because if we release this first, we will have no network indicator.10:35
Saviqdednick, but if we merge that and fix the seed, we can remove the .indicator?10:36
dednickSaviq: i thought it better to just do the small removal of the file later.10:36
Saviqdednick, nah, let's do a proper switchover - we have time until late afternoon10:36
dednickSaviq: ok then. i'll remove the chewie code10:37
mhr3_pstolowski, isn't there a missing qmlRegisterType<Filters>?10:38
mhr3_in the unity plugin?10:39
Saviqmhr3_, yes there is10:39
tsdgeosmhr3_: that also "works" (well actually not your patch but the one I wrote that stores the position as int instead of as iter)10:39
mhr3_tsdgeos, hm, i was about to do that as an optimization, odd that it doesn't work10:39
pstolowskimhr3_: hmm, checking10:40
mhr3_pstolowski, see what saviq said ^10:40
tsdgeosmhr3_: i mean i know my patch works, yours i don't know, i assume yours probably works too10:40
Saviqpstolowski, mhr3_, we saw that yesterday with nic-doffay10:40
mhr3_tsdgeos, ah, ok10:40
tsdgeosthat's what i meant with "not your patch", not that it didn't work, but that i wasn't trying it10:40
Saviqpstolowski, mhr3_, he'll add it in the enable-filters-ui branch10:41
mhr3_ok, thx10:41
mhr3_saviq, we need dee-2.0 that maps nicer to qt :)10:43
Saviqmhr3_, go for it!10:43
mhr3_still got a week before feature freeze, right? :P10:43
mhr3_otoh that's how long ci takes to setup10:43
pstolowskiSaviq: he'll add what? qmlRegisterType<Filters> ?10:45
Saviqpstolowski, yes10:45
pstolowskiSaviq: ok, thanks10:45
Saviqpstolowski, there were some CMake leftovers after removing combined options, too10:46
Saviqpstolowski, no idea how it went through with CMake if the files were not there...10:46
pstolowskiSaviq: hmm10:46
mhr3_cmake doesn't need the sources, it's magic10:46
Saviqmhr3_, exactly!10:47
Saviqdednick, ok, seems to work! can we prepare ogra for the switch? -chewie +indicator-network, right?10:47
dednickSaviq: yep10:48
Saviqdednick, only regression is the signal strength icons10:48
dednickSaviq: yeah, i'm working on the fix, but thostr_ said it is ok for now.10:48
Saviqdednick, ok, .indicator file gone?10:49
dednickSaviq: yes, it's gone.10:50
=== tvoss|lunch is now known as tvoss_
Saviqmzanetti, https://code.launchpad.net/~mzanetti/unity8/launcher-folding-tweaks/+merge/181208/comments/41024111:00
=== MacSlow is now known as MacSlow|lunch
tsdgeosmhr3_: so can you review/approve https://code.launchpad.net/~aacid/dee-qt/behave_better/+merge/181258 ?11:04
mzanettiSaviq: seems like the SDK guys are fine with exposing all that popover theming stuff.11:06
Saviqmzanetti, see! ;)11:06
mzanettiSaviq: timp will try to find the time to review/merge it today11:06
Saviqmzanetti, cool11:06
tsdgeosmhr3_: so now when using https://code.launchpad.net/~aacid/unity8/fix_qlimitproxymodel/+merge/181071 the problems you had with dash plugins filtering should be gone11:16
tsdgeosmhr3_: can you confirm? (you need https://code.launchpad.net/~aacid/dee-qt/behave_better/+merge/181258 too)11:16
mhr3_tsdgeos, at least it explains why i couldn't see anything wrong with that branch :)11:17
tsdgeoswho's going to review https://code.launchpad.net/~aacid/unity8/fix_qlimitproxymodel/+merge/181071 ? Saviq? mzanetti? mhr3_?11:17
Saviqmhr3_, care to do ↑?11:17
mhr3_saviqsure11:17
mhr3_eh11:17
Saviq;)11:18
mhr3_saviq you're breaking my irc client11:18
mhr3_it thinks there's two of you11:18
mhr3_with the same nick11:18
mhr3_and we thought writing shells is hard... irc clients that's the really tough piece of software11:19
Saviqmhr3_, oh noes, you found out about my secret spy-on-people IRC account...11:23
=== alan_g is now known as alan_g|afk
=== hikiko|lunch is now known as hikiko
Saviqtsdgeos, "qlimitproxymodelqml.cpp: bad whitespace in line 154"11:39
=== cyphermox_ is now known as cyphermox
mhr3_hmm, wondering if these fixes could fix the weirdness with the renderers visibility11:43
=== alan_g|afk is now known as alan_g|lunch
tsdgeosSaviq: damn12:26
om26eris there a way to launch an app from commandline that is not behind the shell? (without the desktop file)12:31
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
greybackom26er: no, the desktop file is a must12:41
om26ergreyback, is that going to change in the future ?12:42
om26erthe UbuntuUIToolkit have autopilot tests which rely on bla.qml files but they don't have a desktop file for them so they end up not showing on screen when there tests are run, hence failure12:42
greybackom26er: eventually yes. We'll always enforce a connection between an app and its desktop file, but hopefully it'll be quite transparent12:43
greybackom26er: maybe use an existing desktop file, as a workaround12:43
om26ergreyback, ok, we can try that12:44
tsdgeosmzanetti: whitespace fixed12:45
tsdgeosmzanetti: wops12:45
tsdgeosmhr3_: whitespace fixed12:46
greybackthere is way to keep nexus10 from timing out and kicking me out of my ssh session. Anyone know the command?12:47
=== alan_g|lunch is now known as alan_g
nic-doffaySaviq, pstolowski ran my branch with the same code and the model is being displayed properly. I still see nothing. Any idea why this would differ on two different machines?12:54
Saviqtsdgeos, "damn" whitespace?12:56
tsdgeosi'm not here :D12:56
* tsdgeos runs12:56
Saviqtsdgeos, no, was just asking if that's what you were referring to ;)12:56
Saviqtsdgeos, I'm getting caught by it from time to time, but it's "damn" me then, not "damn" whitespace ;)12:56
tsdgeosSaviq: damn whitespace yes12:57
tsdgeosand me for not running the tests12:58
Saviqnic-doffay, not really, other than different scope backend on the two machines?12:58
tsdgeosobviously12:58
nic-doffaySaviq, there is something that might be related on the line when I bind the scope.filters to the model I get this expression: TypeError: Result of expression is not an object13:00
Saviqnic-doffay, if that's really related, that would suggest "scope" isn't an object, but it is most probably13:01
nic-doffaySaviq, any way to get rid of the message? There's enough spam on output for the dash as it is.13:02
Saviqnic-doffay, well... you need to fix whatever is causing the warning ;)13:02
Saviqnic-doffay, and see what actually *is*13:02
Saviqnic-doffay, it might be a simple "model: scope ? scope.filters : null" away13:03
nic-doffaySaviq, I've tried that.13:03
Saviqnic-doffay, then you need to verify that both "scope" and "scope.filters" are really what you want them to be13:03
Saviqnic-doffay, but I actually expect the warning coming from somewhere else13:03
nic-doffaySaviq, I'll try verify both. However there's still the issue about the varying scope backends.13:04
nic-doffayAny idea how to get around that?13:04
Saviqnic-doffay, first of all you need to verify that is actually the case, other than that - see if you have the same versions of libunity and libunity-core on both machines13:04
Saviqnic-doffay, just dig, dig, dig13:04
Saviqnic-doffay, sorry, I don't have all the answers at hand13:04
tsdgeoswoooooooooooooooooooooooooooooooooooo13:06
tsdgeosi have stuff in my nexus4 screen13:06
tsdgeostook 12 days but at least :D13:06
tsdgeosgreyback: ↑↑↑13:06
greybacktsdgeos: yay!!13:07
pstolowskinic-doffay: sorry, I had a metting13:09
nic-doffaypstolowski, no prob.13:10
nic-doffaySo, yeah I'm stumped about the filters.13:10
nic-doffayCan you think of anything which would mean the same model isn't loaded on my PC?13:11
mzanettitsdgeos: \o/13:12
tedgdednick, I noticed the indicator-network branch landed!  Are you adjusting the seeds or do you want me to?13:13
sil2100hm13:16
sil2100bregma, andyrock: regarding the compiz/0.9.10 branch13:17
pstolowskinic-doffay: perhaps there is some kind of timing issue and thus a random behavior... but since filters model handles additions and signals row insertion, this shouldn't matter...13:17
andyrocksil2100, yes?13:18
sil2100bregma, andyrock: I was browsing through history of that branch, and my question:13:18
nic-doffaypstolowski, where is the filter count gotten from?13:18
nic-doffayWhat sets it initially?13:18
sil2100andyrock: the current compiz released to saucy has a lot of 'bugs' fixed, which can be seen from the changelog - but the compiz/0.9.10 branch doesn't seem to have the commits from those fixes in it13:19
bregmasil2100, we avoided a lot of those 'bug fixes' for reasons of stability, but now it's time to move on13:19
sil2100andyrock: since it looks as if we were daily releasing further from the 0.9.9 branch and not all of the patches were ported back to 0.9.1013:19
andyrocksil2100, do you have a list?13:20
andyrockmaybe compiz trunk was not affected13:20
sil2100Or forward-ported fits better13:20
andyrockby those bugs13:20
pstolowskinic-doffay: the Filters model class that you're facing in QML wraps UnityCore filters model; it's the number of rows of underlying dee model13:20
bregmaall changes were supposed to go into wither both branches or just 0.9.1013:21
bregmaeither*13:21
sil2100hm, ok hm13:22
mhr3_tsdgeos, top approved the branch... will you be working on the platform thing to properly handle uri activation?13:22
tsdgeosmhr3_: Saviq was asssigned/doing that, i have a review to do for greyback and then i'll ask Saviq what he wants me to do :D13:23
andyrocksil2100, if you have a list I can check one by one13:23
Saviqtsdgeos, and didn't really get to it yet, either!13:24
sil2100andyrock: it's hard to get the list, but I guess I see it's more or less ok here13:24
bregmait's always possible we missed enforcing that policy for some bugs13:24
mhr3_tsdgeos, so now you know what he'll ask :)13:24
dednicktedg: i believe it's being taken care of13:25
dednicktedg: or rather has been already13:26
tedgdednick, Great!13:27
kgunntsdgeos: greyback ....can one of you test the "pending" touch image for mir asap...and then provide feedback to ricmm & rsalveti13:27
kgunnhttp://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/13:27
kgunnjust need to see if that fixes the "blank" screen at boot from mir13:28
rsalvetiI'm also checking that as we speak to make sure it has the right bits13:28
tsdgeoskgunn: you're late ;-)13:28
tsdgeos[15:06:21] <tsdgeos> woooooooooooooooooooooooooooooooooooo13:28
tsdgeos[15:06:27] <tsdgeos> i have stuff in my nexus4 screen13:28
tsdgeos[15:06:45] <tsdgeos> took 12 days but at least :D13:28
tsdgeos[15:06:47] <tsdgeos> greyback: ↑↑↑13:28
greybackkgunn: that nexus4? If so, tsdgeos confirms it works13:28
kgunntsdgeos: i love being late :)13:28
=== pstolowski is now known as pstolowski|lunch
rsalvetiawesome13:28
rsalveti:-)13:29
Saviqtsdgeos, rsalveti kgunn \o/13:29
kgunnyep...thanks rsalveti13:29
greybackrsalveti: nice one13:29
kgunn....so now how to pull in mir ?....or do we need to sync with ricmm on that ?13:29
rsalvetikgunn: ricmm should be your guy for that indeed13:30
sil2100andyrock, bregma, didrocks: ah, let's try the new compiz then13:32
sil2100Doing the switch13:32
didrockssil2100: ok, but you are not rerunning the stack, right?13:32
andyrock:D13:32
didrocksotherwise, we will miss next tick13:32
sil2100No no no no ;)13:32
didrocksok ;)13:32
sil2100Just preparing for the next tick - be advised that unity stack might fail miserably!13:33
* bregma does a cautious little dance13:33
sil2100didrocks: it's hard to find the right rev-id to give in lp:compiz/0.9.10 for daily-release to start generating the changelog from13:36
didrockssil2100: maybe just ignore it?13:36
didrockssil2100: and put the last commit + a manual content?13:36
sil2100didrocks: we could, but then there would be a lot of manual adding, as there are many bug-fixing commits that need mentioning so that the bugs get closed13:38
sil2100didrocks: we decided with Mirv on a *probably* safe revision to start from13:38
didrocksok13:38
sil2100;)13:38
sil2100We can always revert things if it's wrong!13:39
* sil2100 likes to think that way to feel better13:39
sil2100didrocks: https://code.launchpad.net/~sil2100/cupstream2distro-config/enable_compiz/+merge/181306 <- can you do the honors?13:42
sil2100Remember, we can *always* revert!13:42
didrocksdone13:42
sil2100And manual publishing acts as the barier for releasing something that's bad or wrong13:42
sil2100Thanks, redeploying and pushing unity changes13:42
didrocksyeah, I hope that we won't have any other firedrilling today :p13:43
sil2100What doesn't kill us makes us stronger, that's what they say at least13:43
sil2100;p13:43
=== Guest79256 is now known as mfisch
=== pstolowski|lunch is now known as pstolowski
mterry_Saviq, you don't see onDisplayPowerStateChange being called?  Odd...  I'm sure I tested and it worked fine.  I also didn't see the input issue...  The only way I could think we'd do that is if we defocus apps due to a displaypower signal, but then you'd be seeing the greeter too14:21
Saviqmterry_, yeah, it is weird, can you please verify that you do see it on your device? I'll try again14:22
mterry_Saviq, sure.  I also left a comment in the demo branch14:27
Saviqmterry_, https://code.launchpad.net/~mterry/unity8/demo/+merge/177923/comments/410372 btw14:30
mterry_Saviq, and that is with the deb installed?14:31
mterry_Maybe something broke after the latest merge from trunk14:32
mterry_Am building myself14:32
Saviqmterry_, the unity8 deb? is that providing the address?14:33
mterry_Saviq, you'll mostly need unity8-private14:33
Saviqmterry_, ok, let me try again, I assume unity8 needs to be running for that?14:33
mterry_Saviq, not for the dbus-send line, but you will want to killall accounts-daemon after installing, so it picks up new field14:34
Saviqmterry_, ah, so it's tricky like that, didn't know how AccountsService works, brb with the result14:34
mterry_Saviq, also, about the proximity branch, it seems to work fine for me.  I put a printf in the onDisplayPowerStateChanged func, and I see the print plus the greeter14:35
Saviqmterry_, ok, will try again14:35
mterry_phone app seems to take input too14:36
mterry_Saviq, the first time after killing accounts-daemon, the first dbus-send won't work (it doesn't wait long enough), so just retry14:37
Saviqmterry_, ok14:37
vesarSaviq, hey man do you have any idea what this Hud work item means? [cimi] Streamline HUD invocation transitions: TODO14:45
tsdgeosvesar: afair Oren wanted to improve how the HUD was invoked, the idea of the hud button staying around for more time even if you did release your finger, etc.14:48
tsdgeosmaybe is that?14:48
Saviqvesar, tsdgeos it's Oren's indeed, so talking to him would be best :)14:48
vesarSaviq, tsdgeos: ok thanks. I'll have a chat with him then.14:49
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
Saviqmterry_, https://code.launchpad.net/~mterry/unity8/demo/+merge/177923/comments/41039715:04
mterry_Saviq, :-/  Oh, I hadn't noticed that my demo .deb finished, will look myself15:06
mterry_Saviq, I'm seeing the no-edge-demo problem, but not your dbus-send problem.  Will look into why...   Hopefully just a dumb typo when merging from trunk15:12
tsdgeostedg: you there?15:13
tedgtsdgeos, Yup15:13
tsdgeostedg: what's your expectaction of use of url-dispatcher, that people use url_dispatch_send from url-dispatcher.h? Does that spawn the daemon if needed?15:14
tedgtsdgeos, It would, but I put in an upstart job, so upstart should be guaranteeing it running.15:17
tsdgeosok15:17
greybackSaviq: couple of days later, can undo this change: https://code.launchpad.net/~gerboland/unity-mir/revert34/+merge/18033815:19
Saviqgreyback, happroved15:19
greybackSaviq: thanks15:20
tsdgeosSaviq: who do i speak with about lp:platform-api and where to put the code that calls url-dispatcher?15:22
Saviqtsdgeos, ricmm15:22
Saviqtsdgeos, I started this talk with him on Monday, but didn't really get anywhere / got distracted15:23
didrockstsdgeos: Saviq: do you know about QtDbus and how I can fake sending some signals to a running process?15:24
tsdgeosdidrocks: with the qdbus command line? or?15:24
Saviqdidrocks, for testing probably best to write a test helper and run under dbus-test-runner15:24
didrocksI tried to send with gdbus, but I think it's similaire15:24
didrocksSaviq: I'm just trying to do some manual tests right now15:24
didrocksbasically, I have a service with an old API15:25
didrocksI wrote the client against the new dbus API15:25
didrocksso starting the client starts the old service15:25
didrocksI kill the service15:25
didrocksand want to send the new signals by hand15:25
tsdgeosdidrocks: you should be able to use gdbus too15:25
didrocksI can see my signals being delivered exactly the same way than the old service15:25
didrocksbut the client doesn't pick that up15:25
didrocksI fear that QtDbus stays on the old well-known name15:26
didrocksbasically:15:26
didrockssignal sender=:1.244 -> dest=(null destination) serial=5 path=/Service; interface=com.canonical.SystemImage; member=UpdateAvailableStatus15:26
didrocks   boolean false15:26
didrocks^ send by the service15:26
didrockssignal sender=:1.245 -> dest=(null destination) serial=2 path=/Service; interface=com.canonical.SystemImage; member=UpdateAvailableStatus15:26
didrocks   boolean true15:26
didrocks^ send by me15:27
didrocks(and yes, false/true doesn't change anything)15:27
tsdgeosyou may need to use qdbuswatcher to reconnect?15:27
tsdgeosqdbusservicewatcher15:27
didrockstsdgeos: ah, qtdbus doesn't do it automatically?15:27
tsdgeosi guess not15:29
tsdgeosdon't recall if it should work tbh15:29
tsdgeosdidrocks: basically you are connecting to a service, then the service is going down and up in a different process and you're not getting it's signals, right?15:30
didrockstsdgeos: I can try simulate that, to see if it's really the case (or just due to me sending the signal manually)15:31
didrocksone sec15:32
didrockstsdgeos: no, that case work15:33
didrockslike sendMethod -> signal received; kill daemon, sendMethod -> signal received from new daemon15:33
didrocksbut in those cases, contrary to always doing it by hand, there is sendMethod done15:35
didrocksso maybe qtdbus reconnects to any new well-known name15:35
* tsdgeos is not following15:38
didrockstsdgeos: basically this works:15:39
didrocksclient sendMethod() -> daemon wake up and send back a signal -> client receive the signal ; I kill the daemon; client resend sendMethod() -> a new daemon woke up and send back a signal -> the client receives the signal15:39
didrocksthis doesn't work:15:40
didrocksclient sendMethod() -> daemon wake up and send back a signal -> client receive the signal ; I kill the daemon; I send via gdbus the same signal with the same parameters -> client doesn't receive the signal15:40
didrockstsdgeos: makes more sense? ^15:40
tsdgeosah ok15:41
tsdgeosis that expected to work?15:41
didrocksnot sure TBH ;)15:41
didrockswas trying to mock the new signal APIs that way15:41
didrocks(just for some manual tests)15:41
Saviqdidrocks, so you want to fake the client doing sendMethod()?15:42
Saviqdidrocks, it probably depends on whether signals are unicast or broad/multicast?15:42
Saviqdidrocks, I think the problem is that the signal might be sent before the client reconnects15:43
Saviqs/is/might be/15:43
Saviqdidrocks, so the client misses the signal15:43
didrocksSaviq: I want to fake the daemon sending the signal15:43
didrocksbut yeah, I think the client doesn't reconnect to the new name15:44
tsdgeosdidrocks: probably you need to send the "hi world this name belongs to me now"15:44
tsdgeosthat gdbus is not doing while the real daemon does it15:44
didrockstsdgeos: I think you're right15:44
didrocksnot sure how to force gdbus to do it though ;)15:45
=== dednick is now known as dednick|lunch
tsdgeosdidrocks: my suggestion, use a dbus monitor and see what the daemon does when spawning itself15:46
tsdgeosthen replicate that15:46
seb128didrocks, seems like it would be easier to just write a small python script service15:46
mterry_Saviq, OK, I think I fixed the demo issue.  Seemed like startup of AccountsService was racy (first time usually wouldn't work, other times would always work).  So I needed to add an explicit startService() call.  Try again15:47
didrocksseb128: yeah, seems so15:47
mterry_Saviq, though...  you were seeing a dbus-send error that I wasn't15:47
didrocksseb128: or having the backend guys providing the mock as we were supposed :p15:47
didrocksanyway, thanks tsdgeos, Saviq ;)15:47
Saviqmterry_, will do15:47
seb128didrocks, try asking slangasek if he can gets barry out of his morning meetings so he can do the mock work done :p15:48
slangasek?15:48
seb128slangasek, we need to get system-settings's update panel done, didrocks is on holidays in 2 days, but work is (still) blocked on barry to provide service side changes15:56
seb128slangasek, barry said he can't do them this morning because he has meetings, e.g we keep being delayed15:56
seb128slangasek, is there anything you can do so barry can focus on getting his part done so didrocks has a chance to get the settings side done before his holidays?15:57
slangasekseb128: the meeting is over now15:59
seb128slangasek, from what he said he sounded like all morning would be meetings15:59
slangasekcertainly not anything to do with me, if so15:59
seb128but if meeting time is over, great15:59
slangasek1.5h total15:59
seb128slangasek, thanks ;-)16:00
mzanettiSaviq: this seems to still happen every now and then: https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-saucy/1213/testReport/junit/%28root%29/qmltestrunner/Drag_and_Drop__test_dragndrop/16:07
* tsdgeos waves for the day16:10
Saviqmzanetti, I didn't see that before16:12
Saviqmzanetti, I mean after SDK reverted the easing16:12
mzanettiSaviq: hmm... locally I can reproduce this failing test like once every 20 runs16:12
Saviqmzanetti, yeah, but the easing shouldn't be a problem any more?16:13
=== jasoncwarner__ is now known as jasoncwarner
mzanettiSaviq: ok... friends arrived... will check tomorrow16:16
mzanettio/16:16
Saviqmzanetti, o./16:16
=== dednick|lunch is now known as dednick
Saviqmterry_, if demo-edges is "true", means I won't get it, does it? can I reset?16:54
mterry_Saviq, that means you should see it17:05
Saviqmterry_, yeah, not there on the desktop somehow...17:05
Saviqmterry_, got it on phone now17:05
mterry_Saviq, you can reset it to true (or false) with the dbus-send line in the MR description17:05
mterry_Saviq, oh good17:05
=== alan_g is now known as alan_g|EOD
mterry_Saviq, you killall'd accounts-daemon?17:05
mterry_Saviq, are you using -f?17:06
Saviqmterry_, no, no -f, just ./run17:06
Saviqmterry_, but maybe it does pick up the fake service?17:06
mterry_Saviq, shouldn't...  without the -f17:07
Saviqmterry_, k, otp, will try again after17:08
mterry_good that it works on the phone anyway17:08
mterry_OK, walking to starbucks, will be back online in a bit17:08
* greyback eod17:16
mterrySaviq, did you ever get my onDisplayPowerChanged branch to work for you?19:37
mterrySaviq, demo branch updated too, check my recent comment19:42
Saviqmterry, didn't try the power one yet19:47
mterrySaviq, I only mention it because it has pieces I would want to solve the CPU-eating-during-screen-blank for the demo branch.  I talk about it a bit in my comment19:50
Saviqmterry, yeah, I thought as much19:51
Saviqmterry, yeah, got the events now19:53
mterrySaviq, weird19:53
Saviqmterry, not sure what was happening before19:53
Saviqmterry, ah, found one thing that we might want to think about taking care of later19:54
Saviqmterry, if you press the power button, it should still lock over the phone app19:54
Saviqmterry, powerd probably needs some tweaking for that19:54
Saviqmterry, or well, shell will be listening to the button anyway19:54
mterrySaviq, I don't believe that's a problem.  You'd have to press the power button while proximity is in effect, and talking to sforshee, that won't do anything19:56
mterry(i.e. if the machine didn't auto-suspend because someone had an active-lock, the power button won't override that)19:56
mterrySaviq, oh you mean if the phone app is simply up?19:56
Saviqmterry, yeah19:56
Saviqmterry, if you just leave it be on a call, but don't cover the proximity sensor19:57
Saviqmterry, and press power button19:57
mterrySaviq, right, we should look at actual proximity data then.  i.e. our current check should be "proximity turned on *AND* proximate" instead of just "proximity turned on"19:57
Saviqmterry, it doesn't lock19:57
Saviqmterry, uup19:57
Saviqmterry, but that's fine, for later19:57
mterrySaviq, I wonder how to get proximate datat19:58
mterryplatform-api I believe has that stuff....19:58
Saviqmterry, we'll come up with something ;)19:58
Saviqkgunn, re: edge gesture over SEARCH19:59
Saviqkgunn, we have a WI in https://blueprints.launchpad.net/ubuntu/+spec/client-1303-unity-ui-panel for that19:59
Saviqkgunn, might need to put it to a milestone, though20:00
kgunnSaviq: ta20:00
Saviqmterry, nitpick: indentation is wrong for enum Status20:03
mterryhuh, wonder how that happend.  will fix20:03
Saviqmterry, in both real and mock, too20:03
mterryFixed20:04
Saviqmterry, I think the input issue was because I wasn't killing the phone app between restarting unity820:08
mterrySaviq, oh does it get stuck in a weird focus state?20:08
Saviqmterry, so window / input management gets annoyed20:08
Saviqmterry, yeah, looks like it, can't reproduce otherwise20:09
Saviqmterry, I'll file a bug about the "lock during a call" thing20:09
mterrySaviq, thanks, yeah.  Assign to me I'll get to it post FF20:10
Saviqmterry, we don't have FF ;)20:10
mterryWell...  I thought we were still trying, right?20:10
mterrySaviq, plus pre-FF is busier for other distro business20:11
Saviqmterry, I know20:11
Saviqj/k20:11
mterry:)20:11
mterrySaviq, I miss the idea of rolling releases, with nary an FF in sight20:11
Saviqmterry, bug #121512020:12
ubot5bug 1215120 in Unity 8 "It should be possible to lock the phone during a call" [Undecided,Triaged] https://launchpad.net/bugs/121512020:12
Saviqmterry, proximity happroved20:13
mterrySaviq, awesome20:13
Saviqmterry, so let's wait for that to land for the demo one20:13
Saviqmterry, I still need a proper code review of it anyway20:14
mterrySaviq, I can start now, by merging20:14
Saviqmterry, yeah, or thta20:14
mterrySaviq, why doesn't the CPU go into suspend in your case?  Does the animation block suspend?20:15
mterry(in the demo case)20:15
mterryActually, maybe your ssh session was blocking suspend...  Let me test by looking at logs20:16
Saviqmterry, it's not that kind of suspend20:17
Saviqmterry, the phone just goes into low power mode, calling it "suspend" is probably wrong20:17
mterrySaviq, so this low power mode would be blocked by the animation running and consuming all the CPU?20:18
Saviqmterry, we are SIGSTOPping apps20:18
mterryI see.   But we dont' SIGSTOP the shell and its animations20:18
Saviqmterry, but not the shell20:18
mterrypfft, k20:18
Saviqmterry, yeah, so shell needs to behave and stop redrawing20:18
Saviqmterry, well, we could actually think about SIGSTOPping shell as well, I don't know whether someone considered it yet20:19
mterrySaviq, for me, the animation goes super-sped up on my desktop (with ./run -f).  Is there an oddity with the timing when using the mock plugins?20:19
mterrySaviq, shell sigstops the others, eh?   So we'd have to move the SIGSTOP logic elsewhere.  But not a bad idea.  Keeps us from having to add logic like this all over the shell in future (though hopefully we don't have many constant animations20:20
Saviqmterry, yeah, shell has the app manager - we could think about powerd stopping shell when in low power mode20:20
Saviqmterry, if only I got the edge demo on desktop somehow :/20:21
Saviqmterry, dbus-send works fine20:21
Saviqmterry, I mean it returns true fine20:22
mterrySaviq, oh, did you change the demo user?20:22
mterrySaviq, I bet that's why20:22
Saviqmterry, hum?20:22
mterrySaviq, you should change tests/plugins/LightDM/demo/* to change "phablet" to "saviq" or some such20:22
mterrySaviq, so we look up the right user in your desktop AccountsService20:22
Saviqmterry, in tests?20:22
Saviqmterry, shouldn't it work with real AccountsService?20:22
Saviqmterry, i.e.20:23
mterrySaviq, yeah.  The demo LightDM plugin is used by the greeter right now (until we separate)20:23
Saviq❭ dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.DBus.Properties.Get string:com.canonical.unity.Accoun20:23
SaviqtsService string:demo-edges20:23
Saviqmethod return sender=:1.383 -> dest=:1.489 reply_serial=220:23
Saviq   variant       boolean true20:23
Saviqmterry, aah of course20:23
mterrySaviq, the greeter tells AccountsService which user to look up20:23
mterryAnd it thinks you are phablet right now20:23
mterrySaviq, alternatively, you could change your system username to phablet  ;)20:23
mterryOr add a user for phablet...20:24
mterryBut then 'saviq' couldn't change 'phablet's data20:24
Saviqmterry, +120:25
Saviqmterry, can't get it with -f now...20:27
mterrySaviq, you won't, I added a mock AccountsService plugin that always returns false for it.  So as not to mess with the tests20:27
Saviqmterry, ok, so can't tell you why it goes to warp speed20:27
Saviqmterry, shouldn't, that's what I know :)20:28
mterrySaviq, when I test with -f, I usually just comment out the bit in Shell.qml that looks up in AccountsService and set it to true20:28
mterrySaviq, when I do that, it does warp speed20:28
mterrySaviq, do you see it when you run just normal ./run?20:28
Saviqmterry, no, seems to behave fine20:28
mterryI use 'duration' values...20:29
mterrySaviq, OK, good.  So it must just be some weird mock thing20:29
Saviqmterry, yeah, duration should be fine20:29
Saviqmterry, -f looks fine, too20:30
Saviqoups20:30
mterryback...  I don't get my IRC problems.  I thought it was my Internet provider, but now I'm having same problems in a cafe20:33
mterrySaviq, OK, uploaded a change that should turn off demo animation when screen is off20:49
Saviqmterry, cool20:49
mterrySaviq, it involves the merged branch, so until that lands, the diff will be more complicated than it is in reality20:49
Saviqmterry, yup20:50
mterrySaviq, hrm, the jenkins qmltest failure seems real for the demo branch.  Will look into it20:51
Saviqmterry, indeed20:52
mterrythis branch has been very stumbly so far20:52
Saviqmterry, I wonder, too, if that won't bite us in autopilot tests20:52
Saviqmterry, at some point at least20:52
mterrySaviq, if the demo won't?   That's why I had the mock plugin that disabled the demo20:53
Saviqgreyback, made the Mir items into bugs, btw https://bugs.launchpad.net/touch-preview-images/+bugs?field.tag=mir-landing-blockers20:53
greybackSaviq: thanks20:53
Saviqmterry, right, we always use a custom lightdm backend in autopilot20:53
greybackSaviq: always nice to get a big list of bugs before bed time20:54
Saviqmterry, so yeah, we'll know when it bites us (when we split greeter for real)20:54
Saviqgreyback, only two/three of them are yours, and it's not like you didn't know! ;)20:54
greyback:)20:54
Saviqgreyback, shouldn't have shown up, either! :P20:54
mterrySaviq, well, this branch also has a mock AccountsService that always returns false for the demo-edges value20:55
Saviqgreyback, you know I'm just lurking around here just to get the pleasure ;)20:55
greybackSaviq: yeah well, need to fix the issue with unity on mir, and got an idea20:55
Saviqmterry, yup, will look at it tomorrow for sure20:55
Saviqgreyback, :)20:55
greybackSaviq: part of me suspects that's true20:55
Saviqgreyback, at some point I started to note down stuff I thought about before being able to sleep ;)20:56
Saviqgreyback, but it seems my conscience is better now - no more writing down for some time now ;D20:56
greyback:D20:56
dednickzzzz21:20
=== salem_ is now known as _salem
=== mhall119_ is now known as mhall119

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