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

mzanettio/07:07
mzanettiMacSlow: did you solve your issue yesterday?07:07
MacSlowmzanetti, yes07:08
mzanettiok. good07:08
MacSlowmzanetti, got it sorted out07:08
veebersmzanetti,  MacSlow: morning :-) Hey I'm running those Notification autopilot tests on the VM (20 times in a row) and I'm not getting any failures :-\07:14
veebers(although on the latest CI job I fired off today I see that all the tests failed on the devices, I've emailed Omer re: that)07:14
MacSlowveebers, ok07:14
mzanettihi veebers. ok. thanks for the updates07:15
mzanettiMacSlow: does it work on the device for you?07:15
veebersmzanetti, mzanetti: just a fyi07:15
mzanettiveebers: veebers: thanks07:15
mzanetti:P07:15
MacSlowmzanetti, no it did not07:16
veebersmzanetti: it works for me (although I haven't tried with the latest flash)07:16
mzanettitsdgeos: https://code.launchpad.net/~mzanetti/unity8/launcher-fix-displacement/+merge/18143307:29
mzanettitsdgeos: I got around one of the issues07:29
tsdgeosnice07:41
mzanettitsdgeos: is Saviq already gone from today?07:41
Saviqmzanetti, am here07:42
mzanettiah ok :)07:42
tsdgeosmzanetti: i guess a test of this is impossible07:46
mzanettitsdgeos: hmm... nothing is impossible...07:46
mzanettitsdgeos: not sure how to do it in a way it actually makes sense tho07:46
mzanettiwell, actually...07:46
mzanettitsdgeos: I'll give it a shot07:46
mzanettiI'll come back to you in a bit07:47
tsdgeosi hate that sentence :D Solving the Traveliing Salesman problem in linear time is impossible07:47
mzanetti:D07:47
* didrocks is desperatly trying to find in what type aa{ss} is translated to by Qtdbus…07:55
didrockstried: QArray<QHash<QString, QString>>, QArray<QMap<QString, QString>>, QList<QHash<QString, QString>>, QList<QMap<QString, QString>>07:55
tvoss_didrocks, QVector<QMap<QString,QString>> might be the right one07:58
tsdgeosmzanetti: i'm not sure how to repro/what to see in the bug fixed by https://code.launchpad.net/~mzanetti/unity8/launcher-fix-displacement/+merge/18143307:59
didrockstvoss_: doesn't seem so :/ QObject::connect: No such signal com::canonical::SystemImage::UpdateAvailableStatus(bool, bool, int, int, QString, QVector<QMap<QString, QString>>, QString)07:59
mzanettitsdgeos: take trunk and start dragging an item slowly downwards08:00
didrocks(whole signature is 'bbiisaa{ss}s')08:00
Saviqveebers, hey, I'll try the notifications ap tests here08:00
Saviqveebers, anything I should be aware of?08:01
tsdgeosmzanetti: yes? don't see anything obviously wrong08:01
mzanettitsdgeos: really?08:01
tsdgeosdidrocks: what does qdbus say?08:01
tsdgeosmzanetti: maybe i need to drag more slowly or more distance?08:01
mzanettitsdgeos: what happens is this:08:02
tsdgeosok08:02
tsdgeosso is the thing that two icons get one under the other?08:02
mzanettiright08:02
didrockstsdgeos: the "No such signal" I pasted above08:02
mzanettididrocks: qdbus is a command line tool08:03
tsdgeosdidrocks: i mean qdbus command line08:03
tsdgeosqdbus /something/foo/bar08:03
tsdgeoswill list the methods08:03
didrocksusing the Object path?08:03
tsdgeosdidrocks: first service and them method08:03
tsdgeosjust start from the beginniing08:03
tsdgeosi.e.08:03
tsdgeosqdbus08:03
tsdgeosthen find in the output what you want08:04
mzanetti(or qdbus --system if on the system bus)08:04
tsdgeosqdbus whatIWant and continue from there08:04
didrocksok, let's see…08:04
tsdgeosit's not unlike the almost impossible to use gdbus command line :D08:04
didrocksneed first to figure in which package is /usr/lib/x86_64-linux-gnu/qt5/bin/qdbus08:04
didrockstsdgeos: ahah ;)08:04
tsdgeosbut easier08:04
tsdgeosqdbus-qt5: /usr/lib/x86_64-linux-gnu/qt5/bin/qdbus08:04
didrocksthanks tsdgeos08:05
didrocks(ok, bash completion is impressive, I must say)08:06
didrocksbut08:06
didrocks$ qdbus --system com.canonical.SystemImage /Service08:06
didrocksmethod QString org.freedesktop.DBus.Introspectable.Introspect()08:06
didrockssignal void com.canonical.SystemImage.Canceled()08:06
didrocksErreur de segmentation (core dumped)08:06
didrocksnot that nice :p08:06
mzanettihmpf... I get that quite a lot too, lately08:06
tsdgeosah08:07
tsdgeosi fixed that08:07
mzanettididrocks: try --literal08:07
tsdgeossorry08:07
tsdgeosalso08:07
tsdgeosinstall qt4-qdbus08:07
tsdgeosand run08:07
tsdgeosQT_SELECT=qt4  qdbus --system com.canonical.SystemImage /Service08:07
tsdgeosbut if that's happening08:07
didrocksok08:07
tsdgeosit'll probably spit the "raw" dbus thing08:07
didrocksthe package isn't qt4-qdbus, looking for it, one sec08:07
tsdgeosand not a QVector<things>08:07
tsdgeosdidrocks: qdbus: /usr/lib/x86_64-linux-gnu/qt4/bin/qdbus08:08
didrocksperfect!08:08
didrocksindeed, no segfault with the qt4 version08:08
didrockssignal void com.canonical.SystemImage.UpdateAvailableStatus(bool is_available, bool downloading, int available_version, int update_size, QString last_update_date, QDBusRawType::aa{ss} descriptions, QString error_reason)08:08
didrocksso, you're right, it's a "Raw" type08:08
didrocksI think then I can't pass it directly to the QML side, I need to unmangle it first?08:09
tsdgeosprobably, what's aa{ss}? an array of arrays of maps?08:10
tsdgeosmzanetti: i'm getting lots of08:11
tsdgeosfile:///home/tsdgeos_work/phablet/unity8/Launcher/LauncherPanel.qml:142: Unable to assign [undefined] to int08:11
tsdgeosfile:///home/tsdgeos_work/phablet/unity8/Launcher/LauncherPanel.qml:143: Unable to assign [undefined] to int08:11
didrockstsdgeos: that's what is weird, d-feet shows it as just an array of dict (and that's what barry sends apparently).08:12
tsdgeosmzanetti: i guess unrelated to the patch, maybe you can do a count: model ? model.count : count or something?08:12
didrockstsdgeos: I'll see if he's sending the right thing, but for me, it should just be an a{ss} for an array of dict { string: string }08:12
didrockstsdgeos: thanks for the qdbus command line trick! really helpful! :)08:13
tsdgeosno worries08:13
tsdgeosyeah that extra a looks weird08:13
mzanettitsdgeos: hmm... this will go away soon... It tries to read the count and progress emblem's values which so far are only implemented in the mock backend08:13
mzanettitsdgeos: I'll create a branch soon that adds them to the real model08:13
tsdgeosok08:13
tsdgeosdidrocks: if you need help unboxing stuff have a look at this http://bazaar.launchpad.net/~mir-team/unity-mir/trunk/revision/17 specially the operator<< and operator>> for dbus and qDBusRegisterMetaType08:15
tsdgeosguess should help08:15
didrockstsdgeos: thanks for the example! will definitively have a look after this meeting08:15
SaviqMacSlow, veebers the notifications tests passed for me locally on maguro08:24
Saviqmzanetti, have some minutes to test on mako ↑?08:25
mzanettican do, yes. Just finishing that test first. shouldn't take long08:25
Saviqmzanetti, ok, actually I think I found the issue already08:26
SaviqMacSlow, veebers "Service name already taken."08:26
Saviqreal shell isn't stopped before starting the tests probably08:26
Saviqneed to talk to Omer08:27
Saviqyup08:28
=== mpt_ is now known as mpt
MacSlowSaviq, veebers: notify-osd there still running?!08:36
SaviqMacSlow, no, unity8 is08:36
MacSlowah ok08:37
SaviqMacSlow, "real" shell is restarted for app tests08:37
SaviqMacSlow, but should be stopped for unity8 ones08:37
MacSlowmakes sense :)08:37
SaviqMacSlow, switching to Needs Review, then, it feels solid here08:40
SaviqMacSlow, just started 20 runs in a row, let's see if I get any failures08:41
MacSlowSaviq, ok *fingers.crossed*08:44
veebersSaviq: ah nice catch with that. I' emailed Omer earlier, i'll follow that up with what you found08:45
Saviqveebers, first thing I'm looking for now ;)08:45
Saviqveebers, have been fighting for a few days in IoM with that08:45
Saviqveebers, just to notice that the real shell isn't stopped ;)08:45
sil2100jamesh: hi! Any luck with integration tests for the mediascanner scope?08:46
veebersSaviq: oh how annoying :-)08:46
Saviqveebers, yeah, had exactly the same with UTAH08:47
veebersSaviq, MacSlow: ugh I think I've done it again. Running the tests on the VM 20x in a row with no issues. I forgot to enabled recording (and thus potentially trigger  swapping etc.)08:48
* veebers starts tests again08:48
nic-doffaySaviq, with a Flickable/ListView is there any QML means to clip the contents if it goes below the height of the view? I can provide a screenshot to illustrate the issue if I'm not being clear.08:59
nic-doffaymzanetti, ^08:59
nic-doffaygood chance you'll have an idea too09:00
Saviqclip: true09:00
Saviqnic-doffay, ↑09:00
nic-doffaySaviq, what component is that a member of out of interest?09:00
Saviqnic-doffay, http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html#layer.clip-prop09:00
nic-doffaySaviq, ta09:00
Saviqhttp://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html#clip-prop09:00
Saviqprevious url wrong09:00
Cimitsdgeos, quick question09:03
Cimitsdgeos, adding time-out etc etc to hud reveal, which file/place?09:03
Cimi(I can check but save me time)09:03
mzanettitsdgeos: added a test09:05
tsdgeosCimi: so you want to delay the hud "big button" appearing?09:05
tsdgeosor the hud itslef opening?09:05
Cimitsdgeos, no let is stay on screen for longer09:05
tsdgeosCimi: BottomBar/*qml09:06
Cimitsdgeos, thanks boss09:06
tsdgeosmzanetti: oka09:06
tsdgeosCimi: yw09:06
Cimitsdgeos, you also know why we have the ubuntushape outside the hud button? is there a bug opened for that?09:07
tsdgeosmzanetti: you have a wait!09:07
mzanettitsdgeos: oops... that was for me being able to see what happens09:07
mzanettiI'll remove it09:07
jameshsil2100: sorry, was at my team's standup.  I've put together this test for the media scanner scopes: https://code.launchpad.net/~jamesh/unity-scope-mediascanner/test-against-mediascanner/+merge/18148209:07
tsdgeosCimi: no idea, something broke at some stage but didn't have time to have a look09:07
tsdgeosCimi: and no i think there's no bug open09:07
Cimitsdgeos, ok09:07
Cimitsdgeos, somewhere in the sdk?09:07
tsdgeosCimi: if you fix it while you're there it'd be awesome :-)09:07
Cimitsdgeos, I hate it so I'll fix it09:08
tsdgeosCimi: i guess, that code has been left unchanged for a while09:08
jameshsil2100: it starts up a private copy of the media scanner, and loads up the scopes via the UnityScopeLoader API and makes sure it can provide results from the scanned media directory09:08
tsdgeosCimi: otoh we may have been abusing stuff :D09:08
Cimirule is: let cimi hate something visually he will fix it09:08
CimiSaviq, learn that ^09:08
Saviq:D09:08
mzanettitsdgeos: cleaned up09:08
CimiSaviq, btw we should all work on maguro09:09
CimiSaviq, performance is so bad compared to mako09:09
SaviqCimi, wait for Mir ;)09:09
CimiSaviq, hah09:09
tsdgeosbrr09:10
tsdgeosmzanetti: how did this work?09:10
tsdgeos135- compare(LauncherModel.get(5).iconName, item4Name)09:10
tsdgeos136- compare(LauncherModel.get(5).iconName, item5Name)09:10
SaviqCimi, bug #121504709:10
ubot5bug 1215047 in Mir "[mir] Galaxy Nexus rendering performance is too low" [High,Triaged] https://launchpad.net/bugs/121504709:10
CimiSaviq, I think it's due to screenshots09:10
mzanettitsdgeos: it didn't :D09:10
CimiSaviq, too09:10
SaviqCimi, there is something happening indeed09:10
tsdgeosmzanetti: oh, so test failed?¿?¿?09:10
SaviqCimi, it was better before - we'll get to it09:10
CimiSaviq, sometimes I get black screenshots and performance sucks09:10
didrockstsdgeos: so, from the spec, it's an array of dict of string: string09:10
mzanettitsdgeos: no... well undefined == undefined :D09:10
SaviqCimi, bug #121303809:10
ubot5bug 1193099 in Unity 8 "duplicate for #1213038 Unity: thumbnails for running apps are not cached" [Medium,Triaged] https://launchpad.net/bugs/119309909:11
didrockstsdgeos: now, I have to find how to unmarshall the QDBusRawType09:11
mzanettitsdgeos: seems two wrongs make it right in QML09:11
tsdgeosmzanetti: lol09:11
CimiSaviq, saw on mako it's still fast09:11
CimiSaviq, so we definitely need to work on nexus to realise we have bugs :)09:11
SaviqCimi, but still there is some regression09:11
SaviqCimi, they're all nexus ;)09:11
CimiSaviq, yes that's what I am saying09:11
SaviqCimi, and I only have maguro ;)09:11
Cimilol09:11
Cimigalaxy09:11
Cimimaguro09:11
SaviqCimi, so I *know*09:11
Cimiok09:11
tsdgeosdidrocks: that thing i point you has to unbox a "string string" pair, you "just" do something similar and hope it works :D09:12
didrockstsdgeos: I'll hope then ;)09:12
sil2100jamesh: thanks! The test looks ok and I think it's enough to enable the scope for daily-releasing - later we'll have to ask the unity guys to write a quick AP test that would check in unity if the mediascanner scope works, but due to FF we'll do that after releasing09:14
sil2100jamesh: btw. I think you'll need a dbus build-depends09:14
sil2100jamesh: (see jenkins CI on your merge)09:14
jameshsil2100: yeah.  I haven't updated the build-depends yet09:14
Mirvfor anyone concerned, 4 months newer compiz just got uploaded to saucy :) https://launchpad.net/ubuntu/saucy/+source/compiz/1:0.9.10+13.10.20130822-0ubuntu109:21
SaviqMirv, oh!09:22
Mirvthanks to the developers and sil2100 wrapping it up09:22
SaviqMirv, nice buglist...09:22
sil2100...;)09:23
jameshthat is some changelog09:23
sil2100bregma, andyrock: ^09:24
SaviqMirv, https://bugs.launchpad.net/unity8/+bug/1207269/comments/209:25
ubot5Launchpad bug 1207269 in Unity 8 "Indicator animation slow with Qt 5.1" [Medium,Invalid]09:25
andyrocksil2100, Mirv Thanks! :D09:27
andyrocksmspillaz, ^09:27
MirvSaviq: great news! and I can actually confirm it being fixed, since I've just upgraded.09:28
SaviqMirv, cool09:30
larsuWellark: what are the reasons for commit 683 and 684 in the unity-theme-icon-provider merge?09:45
Wellarklarsu: trying to accommodate the gicon provider MR, but we have to drop them as QIcon::fromTheme() can't handle them at the moment09:48
Wellarklarsu: and the /usr/share/pixmaps is going away from that MR09:48
Wellarkit has to be handled directly in QIconLoader09:48
larsuWellark: this is supposed to be a provider for icon themes. I don't recommend putting paths in there that are not mentioned in the spec09:50
Wellarklarsu: the spec says the themes can be extended and notify-osd icons do follow the spec. It's just that QIconLoader does not support themes extending to multiple base dirs even though the spec mandates it must be supported.09:53
Wellarkbut that said. it's not even technically possible ATM to use QIcon::fromTheme() to load the notify-osd icons09:54
Wellarklarsu: I will update the MR09:55
larsuWellark: I don't understand. I thought the spec only allows extension through XDG_DATA_DIRS...09:56
* larsu reads the spec09:56
Wellarklarsu: "or by other means depending on the library/tool"09:57
jameshsil2100: build-depends updated, and passed in Jenkins: https://code.launchpad.net/~jamesh/unity-scope-mediascanner/test-against-mediascanner/+merge/18148209:57
larsuWellark: depending on the library? I can find "depending on the application" (which is totally different)09:58
Wellarklarsu: well, ok. the library may/must offer means for applications to extend list of directories.09:59
Wellarkwhich both GIcon and QIcon does provide10:00
larsuWellark: right. But to get to the crux: why aren't the notify-osd icons in ubuntu-mono-*?10:00
larsuor alternatively, why doesn't it install icons into hicolor?10:00
Wellarklarsu: well, I don't know. but what I do know is that QIcon does not handle the base dirs properly10:01
seb128larsu, Wellark: what notify-osd is doing (e.g /usr/share/notify-osd/icons/hicolor) is common10:01
seb128larsu, Wellark: is that what you are discussing?10:02
seb128$ find /usr/share/ -name hicolor10:02
seb128/usr/share/file-roller/icons/hicolor10:02
seb128/usr/share/yelp-xsl/icons/hicolor10:02
seb128/usr/share/banshee/icons/hicolor10:02
seb128/usr/share/seahorse/icons/hicolor10:02
seb128etc etc etc10:02
larsuseb128: ah, and notify-osd then adds that path to the icon search path?10:02
seb128larsu, yes10:02
larsuseb128: thanks, that makes my initial suggestions moot. Better would be: instead of hard-coding the notify-osd path, we should provide a way for applications to add a path there10:03
seb128larsu, main.c in notify-osd does10:04
seb128/* Init some theme/icon stuff */10:04
seb128gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(),10:04
seb128                                  ICONS_DIR);10:04
seb128with10:04
seb128#define ICONS_DIR  (DATADIR G_DIR_SEPARATOR_S "notify-osd" G_DIR_SEPARATOR_S "icons")10:04
seb128 10:04
larsuWellark: why can't the "new" notify-osd not do this? ^^10:04
seb128larsu, that's basically what most softwares do when they install custom icons ... no need to clutter the system theme for icons specifics to your app10:04
larsuseb128: understood, that makes sense10:04
larsuWellark: except it should use the QIcon:: function, of course10:05
* seb128 steps out, glad I could help :-)10:05
larsuseb128: thank you!10:05
seb128yw ;-)10:06
Wellarkseb128, larsu: could you guys trigger a rebuild? http://s-jenkins:8080/job/hud-ci/114/rebuild10:06
Wellarkthere was some random glitch on i38610:06
Wellarklarsu: isn't it inside the shell?10:07
Wellarkor is it it's own process?10:07
seb128well, change notify-osd to install the icons into an unity8 subdir then10:08
larsuWellark: can't trigger a rebuild. No account.10:08
larsuWellark: and what seb128 said ;)10:08
seb128larsu, Wellark: I did trigger a retry on CI10:09
Wellarkseb128: thanks!10:09
seb128yw10:09
Wellarklarsu, seb128: well, as I said, the QIcon::fromTheme can't load the notify-osd icons anyway ATM. so notify-osd (QML) has to use it's own loader for now anyway and it can do whatever it wants10:10
Wellarkbut the thing to remember is that inside the shell QIcon::fromTheme() and related functions are static10:10
Wellarkso if any of the shell components mess with the paths then that can break the rest of the shell10:11
seb128well, if it's too difficult, seems like we should just move those icons to the theme10:12
seb128and be done with it10:12
Wellarkso therefore inside the shell I would use just single icon provider with all the paths set in single location so nobody can mess them up by accident10:12
larsuWellark: adding the path to the loader messes with all applications, including the shell10:12
Wellarklarsu: only inside a single process10:12
Wellarklarsu: oh, I misunderstood what you mena10:12
Wellark*meant10:12
Wellarkyes, as I said what ever paths we add to the unity-theme-icon-provider will be set for all the apps using that loader10:13
Wellarkand therefore we have to be careful what we put there10:13
Wellarkadding notify-osd path would not do any harm (if qicon could actually load them..)10:14
larsuWellark: no, we should not put anything there. If the shell needs the notify-osd icons, it should add the path itself10:14
Wellarkwell, then we need API for that.10:15
larsuwe have API for that10:15
Wellarkand it's beyound just a "simple" loader10:15
Wellarkfrom QML side that is10:15
larsuwhy do we need api from the qml side?10:16
Wellarklarsu: but as I said, I will remove all that notify-osd stuff now anyway10:16
smspillazMirv: andyrock: oh awesome, cheers10:16
larsuWellark: /usr/share/pixmaps as well?10:16
Wellarklarsu: yep. it will be moved to QIcon10:17
larsuWellark: okay that's good. We disagree but I get my way in practice :)10:17
Wellarkhopefully10:17
Wellarklarsu: https://codereview.qt-project.org/#dashboard,100177410:17
Wellarklarsu: I don't feel we have disagreed. sorry if you feel that way10:18
WellarkO10:18
larsuWellark: I'm fine to leave pixmaps in until the qt patch trickles into distro10:18
WellarkI'm simply trying to have a productive discussion10:18
Wellarklarsu: well, on the current form the pixmaps does not work10:18
larsuWellark: oh yeah of course it was productive :)10:19
larsuWellark: why? Doesn't it load the icon formats from there?10:19
Wellarklarsu: getting icons from pixmaps needs "QIconLoader::loadIcon: search icons directly from base dirs"10:19
larsuintereseting10:20
larsu*interesting10:20
* greyback moving to office, back in 3010:25
Saviqmzanetti, you can see "Pin to launcher" changing into "Remove from launcher" when you click on the action10:28
larsuhow can I make a qml module depend on another one?10:29
larsua module writtin in c++, that is10:29
larsu*written10:29
mzanettiSaviq: hmpf... nasty10:30
Saviqmzanetti, yeah, in this instance I think it'd be better to have just a static list instead of a model10:31
Saviqmzanetti, that would be assigned to the popover on open10:31
Saviqmzanetti, so that we get atomic changes10:32
Saviqmzanetti, also, something fun: http://ubuntuone.com/5XA549ihXvixoIiDHe9vCU10:32
Saviqmzanetti, mouse cursor is drawn wrong (positioned some GUs down from where it actually is)10:32
mzanettiSaviq: hmm... it shouldn't be that much :/10:34
Saviqmzanetti, IIUC it shouldn't move at all until you cross the threshold, right?10:35
mzanettino...10:35
Saviqmzanetti, so something's weird - as I'm able to drag it out of its place without the quicklist disappearing10:35
mzanettithat's ok10:35
mzanettithe quicklist only disappears once you drag it more than 1.5 gu's10:35
Saviqmzanetti, why wouldn't it let me drag the item initially then?10:36
Saviqmzanetti, some threshold before which no dragging happens?10:36
mzanetti?10:36
Saviqmzanetti, see the video, I started moving the mouse around and the icon didn't move10:37
Saviqmzanetti, at some point it starts to follow the mouse10:37
Saviqmzanetti, again, I was doing it *on* the icon - the cursor is recorded wrong for some reason10:38
mzanettiI don't know why it is off in your video10:38
mzanettican't reproduce here10:38
mzanettiah ok10:38
mzanettiwell, the mousearea itself has some threshold before it recognizes a drag10:39
mzanettiseems a big much in your video tho10:39
Saviqmzanetti, right, might be that10:40
Saviqmzanetti, anyway, theming approved10:40
Saviqmzanetti, looking nice :)10:40
mzanetticool, thanks. I have a fix for the quicklist changing its text already10:40
mzanettiSaviq: will just unsed the model before destroying it10:40
Saviqmzanetti, ah cool10:40
mzanettiand I think in the end we want a model here. once we have radio buttons and all that stuff in there10:41
Saviqmzanetti, maybe10:41
mzanettibut yeah, once clicked it shouldn't change the entries in the fading out animation10:41
tsdgeoswot?10:41
Saviqmzanetti, btw, am I crazy to notice such things? :D10:41
tsdgeos$ ls /hope-you-dont-have-this-file-around-marked-as-write-for-all-system-admin-client10:41
tsdgeos /hope-you-dont-have-this-file-around-marked-as-write-for-all-system-admin-client10:41
mzanettino10:41
tsdgeos?¿10:41
Saviqtsdgeos, :F10:42
mzanettitsdgeos: I'd burn the machine10:42
Saviqtsdgeos, yeah, call in the exorcist10:42
tsdgeosah that was me :D10:42
tsdgeoshttps://code.launchpad.net/~aacid/system-image-client/imagewriter_test/+merge/11486910:42
mzanettilol10:42
Saviqhehe10:42
tsdgeosgood guy google10:43
* larsu is afraid nobody read his question10:43
tsdgeoslarsu: what do you mean with depend?10:43
vesarSaviq, are these instructions still valid: https://unity.ubuntu.com/getinvolved/development/unity8/ ?  if I branch lp:unity/8.0 and look with qlog the latest commit is from early July? So something is wrong here.10:44
Saviqvesar, no10:44
Saviqvesar, lp:unity810:44
Saviqkgunn, could you update ↑?10:44
larsutsdgeos: depend on another qml module. Importing my module should always automatically import the other one10:44
vesarSaviq, ok cool. thanks.10:45
larsutsdgeos: my specific problem is that ubuntu-ui-toolkit provides an image provider that qmenumodel needs10:45
tsdgeoslarsu: i guess you need to do some stuff in your plugin loading code?10:45
kgunnSaviq: sure...man, how'd we miss that one10:46
larsutsdgeos: yeah, that's what I was thinking. But I can't figure out what this stuff is from the documentation...10:46
Saviqkgunn, yeah, it should be autogenerated :/10:46
tsdgeoslarsu: let me see if i can find something quick10:47
tsdgeoslarsu: bool QQmlEngine::importPlugin(const QString & filePath, const QString & uri, QList<QQmlError> * errors)10:47
tsdgeos?10:47
CimiSaviq, is it ok to have the launcher shadow always on screen?10:47
CimiSaviq, I don't think it's so nice10:47
Cimiand slows down rendering too10:48
SaviqCimi, ok, so you *are* crazy for noticing such things10:48
larsutsdgeos: call import in initializeEngine? Sounds easy enough :)  (I was looking for something more declarative)10:48
larsutsdgeos: I'll try that, thanks10:48
tsdgeoslarsu: yeah give it a go10:48
CimiSaviq, hah, it was annoying me for a bit so far :D10:48
=== 31NAAIEV5 is now known as tvoss
om26erSaviq, re: https://code.launchpad.net/~macslow/unity8/notification-autopilot-tests-dbus/+merge/177780 I could something to my jenkins jobs, so they will detect if the test_suite is unity8 then stop unity8 first before starting its tests, does that sound reasonable ?10:55
mzanettiSaviq: https://code.launchpad.net/~mzanetti/unity8/quicklist-unset-model-before-closing/+merge/18151710:55
Saviqom26er, yeah, exactly10:55
Saviqmzanetti, well, that will mean the text disappears10:55
mzanettiSaviq: yeah, but you can't see it10:56
Saviqmzanetti, care to layer.enable: opacityBehavior.running10:56
Saviqmzanetti, *I* can :D10:56
Saviqmzanetti, I wonder if it'd be soon enough10:56
larsutsdgeos: calling it with `engine->importPlugin("Ubuntu.Components", uri, &errors)` gives `(<Unknown File>: The shared library was not found.)`10:57
larsuimporting it from a qml file works10:57
Saviqlarsu, it's a file path10:57
Saviqlarsu, http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#importPlugin10:57
larsuSaviq: "a plugin named filePath"10:58
Cimitsdgeos, btw the bug of the border is due to the ubuntushape borderSource property being deprecated10:58
Saviqlarsu, plugin == file10:58
mzanettiSaviq: that makes it worse10:58
larsuSaviq: right, I thought it would resolve the path itself...10:58
Cimitsdgeos, I'm wondering why you're using UbuntuShape here and not simply an Image10:58
mzanettiSaviq: because if the text changes, it means that the layer will be re-rendered. because that happens during fading out, it even causes flickering10:58
larsuSaviq: do you know of a function that does this without me having to find out the installed paths?10:59
Saviqlarsu, 'fraid not10:59
Saviqtsdgeos, ↑ ?10:59
larsudoes filePath also include the .so?10:59
Saviqlarsu, yes10:59
Saviqmzanetti, right, there's no way to make the layer ignore changes - you'd have to use a ShaderEffect :/11:00
tsdgeosSaviq: larsu: nope sorry11:00
* larsu is really only looking for a function that does what `import` does in qml11:00
Saviqmzanetti, which IMO should be there on layer.11:00
tsdgeosCimi: tbh i don't exactly remember why it was a UbuntuShape11:00
tsdgeosCimi: if you can make it look good without it, the better :D11:00
Saviqmzanetti, like layer.live: false; layer.scheduleUpdate()11:00
larsutsdgeos: I guess nobody ever makes their modules depend on anything else?11:00
tsdgeoslarsu: well, it traverses the QStringList QQmlEngine::importPathList() const and loads the module from there11:01
Saviqlarsu, there's a but... isn't the "image://theme/" provider supposed to be handled in the QPA?11:01
larsuSaviq: QPA?11:01
Saviqlarsu, http://qt-project.org/doc/qt-5.0/qtdoc/qpa.html11:01
Cimitsdgeos, property actionButton seems not used here...11:02
larsuSaviq: I don't know, somebody told me it needs to go into the sdk... (which is where it is MRed to now)11:02
tsdgeoslarsu: yeah tbh i'm not sure loading another module behind my back is a good idea tbh, i'd expect you to either link against it or me to have to manually specifically load it11:02
Saviqlarsu, I think it's fine if the image just fails if the image provider isn't there11:03
larsutsdgeos: fair enough. It did smell a bit hacky to me as well11:03
larsuSaviq: okay. Prefer a warning or just silently fail?11:03
tsdgeosCimi: the code went though billions of refactors, stuff may have just rotten11:03
larsuhm, I guess there's no right place to put a warning, because we don't know the order in which plugins are loaded11:03
Saviqlarsu, you won't know11:04
Saviqlarsu, Qt will issue a warning about image://theme/ failing to load11:04
Cimitsdgeos, ok I'll clean up11:04
larsuSaviq: ya, that'll do11:04
larsuSaviq, tsdgeos: thanks for your help!11:04
Saviqlarsu, cheers11:04
Saviqlarsu, seems QPA doesn't yet abstract the icon themes11:07
Saviqlarsu, so ignore me and go for the SDK11:07
larsuSaviq: that's on its way. Thanks for checking11:07
Saviqmzanetti, LauncherPanel.qml:482: Error: Cannot assign to non-existent property "model"11:07
kgunnvesar: that wiki should be up to date now11:08
=== MacSlow is now known as MacSlow|lunch
dednicklarsu: ping11:08
Saviqmzanetti, failed test, too11:08
larsudednick: hi, how are you?11:08
Saviqkgunn, thanks11:08
dednicklarsu: good thanks. have a good holiday?11:09
larsudednick: yes, quite relaxing :)11:09
MirvSaviq: I'm hitting some qtubuntu compilation problem with Qt 5.1.1 snapshot, see bug #1215374 - qtubuntu-sensors on the other hand built fine11:09
ubot5bug 1215374 in qtubuntu "Fails to build against Qt 5.1.1" [Undecided,New] https://launchpad.net/bugs/121537411:09
Saviqmzanetti, or well, you can go layer.effect: ShaderEffect { live: false }11:10
Saviqmzanetti, and .scheduleUpdate that11:10
SaviqMirv, you'll have to talk to loicm about this11:11
vesarkgunn, looks like there is still one cd ~/unity/unity8 reference. in "Running Unity 8 on devices" section.11:11
mzanettiSaviq: now it would work11:11
dednicklarsu: ah. good, then i have some exitement to give you. UnityMenuModel doesnt support "out-of-menu" actions. (eg wifi access point strength & replying/callback to text messages)11:11
kgunnvesar: thanks for the proof....its early for my eyes...11:11
vesarkgunn, other than that looks good. Thanks!11:12
Saviqmzanetti, got tricksed by Repeater reparenting I see :)11:12
Saviqmzanetti, why the change to callerMargin, btw?11:12
larsudednick: exciting!11:12
dednicklarsu: i've made myself a solution in qmenumodel, but it required quite a bit of work and I need you to check if it's a viable solution in the first place.11:12
dednicklarsu: lp:~nick-dedekind/qmenumodel/unitymenumodel.UnityMenuAction11:13
larsudednick: sure. I guess you added some API to get an arbitrary action?11:13
mzanettiSaviq: oops. that slipped it11:13
mzanettiin11:13
dednicklarsu: also have quite a couple of other branches proposed to qmenumodel waiting review.11:13
dednicklarsu: yep, that's pretty much it.11:13
larsudednick: ooh, interesting apprach with the observer item. I'll do a full review after lunch11:15
larsudednick: (also of your other MRs)11:15
dednicklarsu: cool. thanks :)11:15
MirvSaviq: oh, he's on holiday it seems. anyone else who could help there?11:17
Mirvthere's also some cmake path issue, I'm looking at that now11:17
SaviqMirv, you could try racarr, but you won't be around when he comes on11:18
SaviqMirv, I'll try and get him to have a look at the issue11:18
mzanettiSaviq: fixed this https://code.launchpad.net/~mzanetti/unity8/theme-quicklist/+merge/18122311:18
Cimitsdgeos, indeed works with Image :)11:18
Saviqmzanetti, ok, so since we need to re-approve11:19
Saviqmzanetti, the arrow overlaps with the bubble11:19
Saviqmzanetti, you can see a darker trapezoid11:19
MirvSaviq: ok. thanks for the pinging, then.11:20
Saviqmzanetti, either the asset needs to be tweaked11:20
Saviqmzanetti, or the style amended11:20
mzanettiSaviq: looks good here... do you have a screenshot?11:20
Saviqmzanetti, sec11:21
tsdgeosCimi: good stuff11:21
mzanettiSaviq: ah. can see it now. only when the arrow points upwards11:21
Saviqmzanetti, yeah, it might be11:21
Saviqmzanetti, nah, downwards, too11:22
Saviqmzanetti, http://ubuntuone.com/3Lg4vFcTFSLNdhsVOvPhmH http://ubuntuone.com/5l9v9IdckRt2qYN0dGlLiX11:23
Saviqmzanetti, but the shadow on the UbuntuShape hides it more11:23
mzanettiyeah11:23
Saviqmzanetti, I wonder if it's actually possible to have a single asset for those...11:24
Saviqmzanetti, since there's a shadow at the bottom11:24
mzanettiSaviq: the shadow comes from UbuntuShape11:24
Saviqmzanetti, yeah, that's what I mean11:24
Saviqmzanetti, that we might need a different asset facing down than up11:24
Saviqmzanetti, to integrate well enough11:25
mzanettithe regular Popover suffers from this too11:25
Saviqmzanetti, yup, probably11:25
mzanettiyou might want to report a bug to the SDK people11:25
=== 17SAC91IG is now known as tvoss
Saviqmzanetti, but then it's opaque11:25
Saviqmzanetti, so I think that's on purpose11:25
Saviqmzanetti, it's supposed to "break" the outline of the popover11:26
Saviqmzanetti, and continue it around the arrow11:26
Saviqmzanetti, but for our semi-transparent usecase we might need something else11:28
Saviqmzanetti, the other nitpick - I can see a difference between the arrow and the popover itself fading out11:29
Saviqthey fade out at different "speeds" (maybe easing, or simply just the fact that opacity is applied separately on each)11:30
mzanettiSaviq: imo all things that need to be fixed inside the popover11:30
Saviqmzanetti, is popover fading out internally?11:31
mzanettiSaviq: yes11:31
Saviqmzanetti, ok11:31
Saviqmzanetti, for the arrow I think you just need to talk to jounih about the assets11:31
Saviqmzanetti, show him the issue11:31
Saviqmzanetti, and see what he can think of doing (simple - just make the arrow not overlay the shape)11:32
Saviqmzanetti, or if we need something more involved - like having separate assets per-edge11:32
mzanettiSaviq: in the end the quicklist will use the pointer only on the left edge11:32
Saviqmzanetti, right11:33
mzanettiso if we're tweaking unity8, we'd need to make it work for the left edge.11:33
mzanettiSaviq: but actually timp and me came to the conclusion that there should be only one asset in the popover in greyscale11:33
mzanettiSaviq: and the coloroverlay effect should paint it the same color as the bubble11:33
mzanettiwe reported a bug for that and added a TODO in the quicklists's style11:34
Saviqmzanetti, yeah, but that's a problem when it's not fully opaque11:34
Saviqmzanetti, if the arrow is supposed to "continue" the border of the shape11:34
Saviqmzanetti, that won't work with semi-transparent bubble or assets11:34
mzanettiSaviq: talked to jounih. The current bubble + arrow is subject to be rewritten with the upcoming UbuntuShape11:38
mzanettiSaviq: so this is temporary anyways11:39
mzanettiSaviq: the new ubuntushape will paint the arrow in code11:39
Saviqmzanetti, k, all approved alreadhy11:39
Saviq-h11:39
Saviqmzanetti, you're taking over unity8-autolanding today ;)11:39
mzanettihehe11:40
kgunngreyback: tsdgeos ...so, kinda assuming you guys are running mir on touch...any weirdness ? e.g. when you touch it?11:41
greybackkgunn: umm, slightly vague question that :) I've not noticed, let me update everything and see11:41
kgunngreyback: ok...i'll be less vague...used the pending image yesterday, loaded phablet-team/mir ppa on top11:42
kgunnui comes up nice, but when i touch it...screen goes dark, then grey (the new mir background)11:42
kgunnthen ui comes up after some moments...wash, rinse, repeat...11:42
kgunnand its like the very moment i touch it11:43
greybackkgunn: yep, that's the bug we ricmm and I were fighting with the last 1.5 days. I  made fix last night, I'm waiting for ricmm to wake to see if he found it ok.11:44
kgunngreyback: oh, ok...11:45
=== tvoss_ is now known as tvoss|lunch
=== MacSlow|lunch is now known as MacSlow
om26erSaviq, It now stops unity8 before running its suite, I am not sure how reliable is that going to be given we had an issue in the past when the shell was killed, things went haywire12:10
Saviqom26er, you shouldn't kill it btw12:15
Saviqom26er, but initctl stop unity812:15
Saviqom26er, it will get respawned otherwise, I think12:15
om26erSaviq, yeah, by kill I meant the initctl way :)12:15
Saviqom26er, ok :)12:15
Saviqom26er, let's see12:15
Saviqom26er, I started http://s-jenkins:8080/job/unity8-ci/727/ that was failing because of that12:16
om26erSaviq, ok, lets see12:17
=== alan_g is now known as alan_g|lunch
paulliuHi, I got "Module 'HudClient' does not contain a module identifier directive - it cannot be protected from external registrations.12:30
paulliu Is there some packages I missed?12:30
Saviqpaulliu, that's just a warning12:37
Saviqpaulliu, https://code.launchpad.net/~saviq/unity8/hudclient-module/+merge/181545 to suppress12:39
paulliuSaviq: ok..12:41
=== _salem is now known as salem_
=== hikiko is now known as hikiko|lunch
mzanettimterry: reviewed this: https://code.launchpad.net/~mterry/unity8/launcher-items/+merge/18106113:27
mterrymzanetti, thanks.13:28
mterrymzanetti, OK, I thought recent applications were not persistent13:28
mterrymzanetti, what are recent applications?13:28
mzanettimterry: the last 5 used apps13:29
mzanettimterry: not sure about the number yet13:29
mzanettimterry: but some sort of "make the user think it's running apps" thing13:29
mterrymzanetti, and they can be interspersed among the pinned ones?  (order-wise)13:30
mzanettimterry: they are always added at the end13:30
mzanettimterry: when the user moves them around they will get pinned13:30
mzanettimterry: if the user moves a pinned one in between the recent ones, yes, they can be mixed13:31
mterrymzanetti, ok.  So they could be stored as a separate list maybe13:31
mterryoh, nope13:31
mzanettimterry: but as recent ones disappear over time they will sort themselves again towards the end of the list13:31
mterrysure13:31
mterryOK, that will take some tweaking to handle...13:32
mzanettimterry: also keep in mind that the QSettings thing in your branch is temporary13:32
Saviqgreyback, standup13:32
Saviqgreyback, notes ;)13:32
mterrymzanetti, sure.  But the desktop reading tests were testing the backend handling, not the qsettings reading13:32
mterryI mean, that was involved, but still useful when we swap out parser13:32
mzanettimterry: yes, I agree13:32
mterrymzanetti, QSettings isn't a good parser, I hear?  (Can't handle some kinds of desktop files?)13:33
mzanettimterry: QSettings parses ini file format13:33
mzanettimterry: .desktop files are not ini files (despite being quite similar)13:34
mterrymzanetti, list format is different, I believe.  Can't remember other differences13:34
=== alan_g|lunch is now known as alan_g
mterrymzanetti, I was surprised Qt didn't have anything for desktop files13:34
mzanettitrue13:35
mzanettiwell, there are no .dekstop files on non-linux platforms13:35
mzanettiand on linux qt people usually use the KDE stuff13:35
SaviqMacSlow, greyback did a new empty doc13:41
mzanettiwill dandrader eventually come back or did he get lost somewhere?13:41
Saviqmzanetti, he's away until the 27th ;)13:41
greybackSaviq: no I haven't, not yet anyway13:41
Saviqgreyback, ah13:41
mzanettihe won't recognize the phone any more when he updates it for the first time13:42
Saviqmzanetti, so back in September, effectively13:42
Saviqmzanetti, :)13:42
Saviqgreyback, I'll set the docs up13:42
Saviqgreyback, gimme 513:42
greybackSaviq: alright so13:42
mzanettimterry: another thing comes into my mind: We need to sync with dconf because we need to be able to lock some default items into the launcher13:43
=== greyback is now known as greyback|food
mzanettimterry: nothing really that's changing your merge right now, but just to keep it in mind that this is where it's going13:44
mterrymzanetti, hmm, k13:44
mzanettimterry: or, we just set an additional flag in accountsservice after the initial loading. something like "locked" true/false13:45
mzanettithat should do too I guess and still seems cleaner than constant syncing13:45
mzanettimterry: ah... and if I removed all the apps from my launcher, how can I restore them? :D13:46
mterrymzanetti, sure.  We'd likely have to do something so fine grained, I think gsettings only lets us lock at key level, not element-of-list-value level13:46
mterrymzanetti, well, that's a good point too, if you remove all apps, you'll pop up with the default list again13:47
=== hikiko|lunch is now known as hikiko
Saviqgreyback|food, MacSlow done, it just has August in, now13:47
=== tvoss|lunch is now known as tvoss_
mzanettimterry: right... need yet another flag that says if the config is just empty or uninitialized13:48
mzanettiI'll note it down in the mr13:49
MacSlowSaviq, ok13:51
Saviqmzanetti, you really took over unity8-autolanding today... shame we get so many failures suddenly :/14:14
mzanettilol14:15
mzanettidoes that imply me producing the failures?14:15
mzanetti..causing...14:15
mzanettiSaviq: ^14:16
Saviqmzanetti, maybe ;)14:16
Saviqguys, I moved our standup tomorrow half an our back, hope it's fine with everyone14:28
mzanettiSaviq: not sure I'll make it. Have an appointment at 214:34
Saviqmzanetti, k14:34
mzanettiSaviq: is unity api's by now used for more than the launcher and the notifications?14:35
mzanettiunity-apis14:35
Saviqmzanetti, not yet14:35
Saviqmzanetti, we've been bad about that14:35
Saviqmzanetti, but once we stabilize more we'll just make it happen14:36
mzanettiyeah... just realized that mterry introduces an api change in the launcher and probably doesn't even know about unity-apis14:36
mterrymzanetti, didn't, no14:39
mzanettimterry: I'll take care of it and let you do the review14:39
mterrymzanetti, ok14:41
mzanettimterry: https://code.launchpad.net/~mzanetti/unity-api/launcher-add-setUser/+merge/18157514:45
mzanettimterry: let me know if you have questions about it14:46
mterrymzanetti, so what's the deal with unity-api?14:46
mterryThis is for 3rd parties?14:47
mzanettimterry: this becomes more interesting when/if the plugins end up in separate repositories14:47
mzanettimterry: the problem is that QML has no compile time safety. So the idea is that our QML only uses stuff from unity-api14:48
mzanettimterry: and that has tests that a certain plugin implementation indeed offers the same api14:48
fginthersil2100, do you have any UDS sessions planned?14:49
=== greyback|food is now known as greyback
mzanettimterry: so the mocks in unity8 and the real plugins implement the apis in there. so we have tests that check if the api doesn't break14:49
mterrymzanetti, so when I add new plugins like Powerd, I need to add it to unity-api?14:49
mzanettimterry: ideally, yes. if you don't have time right now, we have to do a cleanup round soonish14:49
mterryhuh14:49
mzanettiSaviq: correct me if I'm wrong^^14:50
=== boiko__ is now known as boiko
mzanettimterry: here's a (admittedly poor) diagram of how it works with the launcher: https://docs.google.com/a/canonical.com/drawings/d/1AlMDP0VqadG2s0ZdV2lG-5f2SEgpUXjNrfkCq970fDI/edit14:53
mterrymzanetti, this is launcher-specific?14:55
mzanettimterry: this one yes. but it should work similar for everything14:55
mterrymzanetti, OK14:55
mzanettimterry: I just painted this for my own understanding when Saviq told me first about lp:unity-api14:56
=== dednick is now known as dednick|lunch
sil2100fginther: hi! hm, that's hard to say, since I'll be filling in as the client track lead, so I guess I do15:01
sil2100fginther: but it will be my first time and I still didn't manage to prepare anything, too busy15:02
mterrySaviq, what do you mean in the demo review about "squeezing" a gradient rather than changing its properties?15:02
Saviqmterry, I think it'd be more performant if we just drew the gradient once15:04
Saviqmterry, and just changed its width15:04
fginthersil2100, ack, I was considering doing something for the packaging checks during upstream merger testing, but I don't have much content15:05
fginthersil2100, was going to ask if you already had a session to add this to, but it sounds like you don't15:06
fginthersil2100, let me think about it some more. If we need a session, I can run it.15:08
Saviqmterry, because now the gradient is recreated (all the pixels recalculated) all the time15:08
Saviqmterry, and if it'd just change width, that would happen on the GPU15:08
mterrySaviq, whoops, disconnected.15:11
mterry<mterry> Saviq, I'd like that too, but I don't follow about squeezing15:11
Saviq<Saviq> mterry, because now the gradient is recreated (all the pixels recalculated) all the time15:11
Saviq mterry, and if it'd just change width, that would happen on the GPU15:11
Saviqmterry, I think a Rectangle { gradient: Gradient { } } would be good enough15:12
mterrySaviq, OK.  Maybe that change can coincide with a move to rectangle15:12
mterryyeah15:12
Saviqmterry, with a layer.enabled: true15:12
Saviqbut maybe not required even15:12
mterrywhy the layer?15:12
Saviqmterry, well actually the layer wouldn't help either15:13
Saviqmterry, 'cause if we resize a Rectangle with a Gradient, it will recalculate the gradient, too15:13
Saviqmterry, and then... the LinearGradient might actually happen on the GPU directly...15:14
Saviqmterry, so the only thing would be to make sure we only draw the gradient once15:14
Saviqmterry, and stretch it on the GPU15:14
Saviqmterry, would be to use a ShaderEffect { live: false } and resize that15:14
Saviqmterry, but that's probably overkill15:14
Saviqmterry, dunno, now that I'm thinking about this again, maybe a LinearGradient is better, assuming it's doing its thing in a shader ;)15:15
Saviqmterry, as a Rectangle will do the gradient on the CPU probably15:15
mterrySaviq, I'm not sure of the rules that affect that.  If any relevant properties of a gradient are changed directly, it redraws the gradient?15:16
Saviqmterry, yeah, that's for sure15:16
Saviqmterry, 'cause the interpolation changes15:17
Saviqmterry, with a 5-pixel wide gradient you only have 5 points15:17
Saviqmterry, if you change it to a 25-pixel wide one, it needs to recalculate what to draw in each pixel15:17
mterrySaviq, right.   I'll look into a ShaderEffect15:17
Saviqmterry, yeah, that's the only approach I can think of that will really just take a gradient and resize the whole texture on the GPU15:18
mterrySaviq, it'd be nice to be able to more declaratively control whether redraws happen15:19
mterrywithout guessing at implementation15:19
Saviqmterry, indeed15:19
Saviqmzanetti, humm... do we really want setUser in the "public" launcher api...15:21
mzanettiSaviq: we need to set it from QML15:21
mterrySaviq, I wondered about that.  How public is unity-api?  Who is intended audience?15:21
Saviqmterry, anyone who wants to implement a backend for the Unity shell15:22
mzanettiwell, someone could import it and call it15:22
mzanettibut then, accountsservice should still only deliver any items in it if the user has permissions, no?15:22
mzanettiSaviq: unless we provide some other means of selecting the user in the greeter and the launcherbackend listens on that15:23
mterrymzanetti, right, it will only give out launcher items for root, lightdm, and the user themselves15:23
mterrythat is, root & lightdm can get anybody's15:23
mterryusers only can get their own15:23
Saviqmzanetti, mterry, could the lightdm launcher backend talk to lightdm to see which user is being authenticated?15:24
Saviqmzanetti, mterry so that the greeter will say "authenticate(username)"15:24
mterrySaviq, yes, but what's a "lightdm launcher backend"?  The greeter version of the launcher backend?15:24
Saviqmterry, yes, sorry, I'm mixing lightdm and greeter all the time15:24
mterrySaviq, it would need access to the lightdm connection, so it would be mixing plugins a bit15:25
* mzanetti thinks current approach is cleaner15:25
mzanettiand unless I miss simething, I don't see any issues in regard to security either...15:25
Saviqmzanetti, I'm just worried setUser would be confusing in there15:26
mzanettiit just tells the launcher model from which user it should display the launcher entries :)15:26
Saviqmzanetti, yeah, which is no-op in the "real" launcher backend15:26
mzanettiSaviq: there will be only one15:27
Saviqmzanetti, well, there's one for the shell, and one for the greeter, no?15:27
mterrySaviq, if you implement a new launcher backend, you'll need to be able to provide launchers for an arbitrary user, since that's what the greeter wants15:27
mterrySaviq, they will use the same plugin15:27
mterrySaviq, since accountsservice lets them share the data store15:27
mzanettiSaviq: wouldn't it be ok to just use the same and setUser() to the one that is being logged in on startup of unity?15:27
Saviqmzanetti, mterry ah, so a single backend... talking to accountsservice as well as dconf...15:28
mzanettiSaviq: just loading defaults from dconf, then continuing with accountsservice15:28
Saviqmzanetti, mterry, I assume you can't spoof setUser to show you launcher items from another user's accountservice?15:28
mterrySaviq, that's what I had envisioned.  Since AS and gsettings need to be in sync, the same plugin would need to be able to talk to both to sync them anyway15:29
Saviqmzanetti, dconf needs to be used still, accountsservice just needs to be a cached version I think15:29
mterrySaviq, that's controlled by AccountsService & policykit15:29
mterrySaviq, I tested that I couldn't.  Only root and lightdm can see everyone's15:29
Saviqmterry, right, I just thought the greeter one would be simpler - just read from AS15:29
Saviqmterry, but then it needs dconf as well for the defaults15:30
mterrySaviq, could do.  Depends how complicated the gsettings stuff is15:30
Saviqif user never stored into AS15:30
mterrySaviq, true15:30
mterrySaviq, you envision we'll need to store data in gsettings too?15:30
mzanettiSaviq: that's what I thought too at first, but then I came to the conclusion that we only should load defaults from dconf and then import that to accountsservice in case that's uninitialized15:30
mzanettiSaviq: we can also keep track of an "lockToLauncher" flag or the like15:30
Saviqmterry, yeah, I was always thinking of AS as a secondary cache15:30
mzanettimterry: Saviq: the greeter weekly sync starts now. would be a good place to discuss once we're through with design stuff15:31
Saviqmzanetti, mterry I gtg, can we talk tomorrow?15:33
mzanettiSaviq: sure15:35
=== dednick|lunch is now known as dednick
dednicktedg: ping15:56
tedgdednick, Howdy16:00
dednicktedg: howdy. indicator-network. we need a "Other Networks..." menu to be able to connect to a hidden network.16:02
tedgdednick, Yes, that's going to be in the settings.16:02
dednicktedg: in indicator as well16:03
tedgdednick, No: https://wiki.ubuntu.com/Networking?action=AttachFile&do=get&target=phone-network-menu.png16:03
dednicktedg: https://wiki.ubuntu.com/Networking#Indicators_and_menus16:03
dednickoh, wait... thats pc16:04
tedgdednick, That's on the PC version16:04
tedgYeah16:04
dednickawesome.16:04
dednicktedg: fyi, there seems to be some shit going on with indicator-messages16:07
tedgdednick, I know :-(16:09
tedgdednick, #ubuntu-touch16:09
tedgSorry, #ubuntu-desktop for that.16:09
dednicktedg: hm. that hidden network seems to be in the phone delivery doc indicators section. I'll need to check on that.16:11
dednickkgunn: ping16:11
kgunndednick: whats up?16:11
dednickkgunn: hi. just wanted to check with you about that 'hidden network' delivery. Is that in the indicator, or network settings?16:12
kgunndednick: for parity's sake...on desktop it'd be in the panel16:13
kgunndednick: for phone that;s a fair question16:13
dednickkgunn: ok, designs seem to show only in settings for phone. I'll check with mpt16:13
kgunndednick: supposing no spec direction ?16:14
kgunndednick: yeah....that'd be what i was going to suggest16:14
dednickkgunn: thanks16:14
om26er_the messaging menu seems to have broken on touch :/16:36
=== alan_g is now known as alan_g|EOD
dednickmzanetti: ping17:42
mzanettidednick: pong17:42
dednickmzanetti: hey. you had some trouble with findChild before right? Dont suppose you know why it segfaults if you search for something that doesnt exist?17:43
mzanettiuh... does it?17:43
mzanettidednick: are you sure its findChild segfaulting and not the line afterwards where you try to use the nullptr?17:43
mzanettimouseClick for example sefgraults on null17:44
dednickmzanetti: hm. possible17:45
dednickmzanetti: no, it's randomly segfaulting.  really weird. might have something to do with tabs17:49
mzanettidednick: are you doing the findChild while the tabs are switching(animating) ?17:50
dednickmzanetti: :/ possibly17:50
mzanettidednick: try a wait(4000) before. if it stops segfaulting, find something that is triggered when the animation finishes and wait for that with tryCompare17:50
dednickmzanetti: nope. still happening.17:52
mzanettihmm.. now I'd need to test it myself to be of any use17:52
mzanettibranch?17:52
dednickmzanetti: lp:~nick-dedekind/+junk/indicator.visibility17:55
dednickmzanetti: testIndicators17:56
dednickomg. how hard is it to run a test manually!18:02
mzanettidednick: ?18:04
dednicktrying to run with gdb. my command line has become about 3 lines long18:05
mzanettihehe18:05
mzanettiyeah.. we have import paths like crazy18:05
mhr3_talking about manually running tests18:06
mhr3_how does one do that?18:06
mhr3_i always just run everything cause i don't know how to filter it :P18:07
mzanettimhr3_: qmltestrunner -input testFile.qml -import /path/to/plugins/18:07
dednickLD_LIBRARY_PATH=../../../builddir/tests/mocks/LightDM/single QML2_IMPORT_PATH=../../../builddir/tests/utils/modules:../../../builddir/tests/mocks/:../../../builddir/plugins qmltestrunner -input tst_Indicators.qml18:07
mhr3_ouch :P18:08
mzanettidednick: it might be easier to patch our cmakesystem to support "make debgTestFooBar"18:08
dednickmhr3_: you can go into builddir and makeTestName (eg make testIndicators)18:08
mhr3_oh?18:08
mhr3_that does sound simple18:09
mzanettimhr3_: even better: try "make tryTestName"18:09
dednickmhr3_: or tryTestName, if you just want to run18:09
mzanettidednick: we really should have make debugTestName :)18:09
dednickyeah18:09
dednickthe -input doesnt go well with gdb...18:09
dednickeh. doesnt look like you can gdb qmltestrunner...18:11
mhr3_dednick, you can, you just need to run the actual platform-specific version18:11
mhr3_stumbled upon that as well some time ago18:12
mhr3_dednick, /usr/lib/x86_64-linux-gnu/qt5/bin/qmltestrunner18:12
dednickmhr3_: or:  gdb --args qtchooser -run-tool=qmltestrunner -input tst_Indicators.qml18:14
mhr3_right18:14
dednickapparently :)18:14
dednicksigh.... well that was for naught. one of the most useless stacs ever.18:15
mzanettidednick: I added some debug output to findChild, doesn't crash any more18:15
dednicklol18:15
dednicktypical18:16
mhr3_qml really like to do this shit, add console.log() and suddenly the behavior is completely different...18:16
dednickmzanetti: http://pastebin.ubuntu.com/6014955/18:18
dednickodd18:18
mhr3_isn't it clear? :P18:19
mzanettidednick: it might help a little if you install qmlscene's debug symbols (if they are packed up by now). But don't expect too much from that either18:19
mhr3_apparently you're passing invalid string to js18:19
dednickmzanetti: dont suppose you know what package theyre in?18:20
Saviqmhr3_, would answer you in #dx, but you're not there - on purpose?18:20
mhr3_Saviq, xchat doesn't like me switching wifi to wire to usb18:21
mzanettidednick: last time I checked they weren't packaged up...18:21
dednickbugger that18:21
mhr3_Saviq, i pushed it with carousels for music and video in home18:21
Saviqmzanetti, they should be in ddebs18:21
Saviqhttps://wiki.ubuntu.com/DebuggingProgramCrash18:22
mhr3_Saviq, but if you want i can make them dynamic18:22
dednickvar childs = new Array(0);  .. really?18:22
dednickchilds?18:22
dednicksigh18:22
mhr3_i thought the 0 is what you don't like18:23
dednicklol18:23
mhr3_and now i wonder if that's an empty array or array with a single {0} element... thanks18:24
Saviqmhr3_, we have different categories for surface and search, right? so we can have different definitions for them - so we can make them dynamic in surfacing18:24
mhr3_Saviq, ehm, no18:24
mzanettidednick: I'm not entirely sure why it crashes, but I have a fix for you... will take me a minute or 2 to prepare the branch18:24
dednickwow. i really dont understand that findChild func.18:25
mzanettidednick: hehe18:25
Saviqmhr3_, we shouldn't have carousel for search at all - just for surfacing - as carousel with a low number of items is bad, and it's even worse to switch between renderers when searching18:25
mzanettiits a breath-first search on a tree18:26
dednicknot supprised it crashes :D18:26
mzanettibut its fast :D18:26
Saviqmhr3_, when the number of items changes a lot18:26
mzanettidednick: while I'm fixing it: http://en.wikipedia.org/wiki/Breadth-first_search18:27
dednickmzanetti: hm. interesting.18:27
dednickthats pretty cool18:28
mhr3_Saviq, why do you assume that surfacing will always have enough items?18:29
Saviqmhr3_, I don't - hence dynamic18:29
Saviqmhr3_, but for surfacing there are no count changes so much18:29
mhr3_ok, dynamic it is18:29
Saviqbejeezuz what's with the tests today :/18:32
mzanettidednick: merge this for now: lp:~mzanetti/unity8/findInvisibleChild18:37
mzanettishould fix our issue18:37
mzanettidednick: and once we're sure jenkins is happy with it, https://code.launchpad.net/~mzanetti/unity8/findInvisibleChild/+merge/18163118:40
dednickmzanetti: ahh. thanks18:40
dednicktricky stuff18:40
mzanettidednick: I'm pretty sure there is one test at least that requires findInvisibleChild... but I've run the test suite here and nothing failed...18:41
mzanettijenkins tests might reveal something tho18:41
mzanettiSaviq: oops... we landed the unity-api setUser() which got released and now unity8 doesn't build any more.18:56
mzanettimterry: https://code.launchpad.net/~mzanetti/unity8/launcher-add-setUser/+merge/18163919:05
mterrymzanetti, thanks19:06
mzanettimterry: hah! already the first example why we need unity-apis19:06
mzanettimterry: in your launcher-item branch the mocks and tests already miss the setUser19:06
mterrymzanetti, miss them?19:13
mterrymzanetti, oh, I forgot to add the function to the mocks?19:13
mterry /.\19:13
mzanettimterry: right... which now would fail in jenkins...19:13
mterrymzanetti, that is useful19:13
mzanettiso this is exactly the reason for unity-api19:13
mzanettito avoid different branches etc getting out of sync19:14
dednickmzanetti: your branch failed in CI. no idea why...19:56
mzanettidednick: this one needs to land to fix ci: https://code.launchpad.net/~mzanetti/unity8/launcher-add-setUser/+merge/18163919:57
dednickmzanetti: ah.19:59
=== bschaefer_ is now known as bschaefer
=== jhodapp is now known as jhodapp|brb
cyphermoxhey21:36
cyphermoxhttps://launchpadlibrarian.net/148186341/buildlog_ubuntu-saucy-amd64.unity-mir_0.1%2B13.10.20130822.2-0ubuntu1_FAILEDTOBUILD.txt.gz21:36
cyphermox^ seems like unity-mir fails to build on amd64 and i386 for issues in the mirserver API21:37
cyphermoxrobru: ^ fyi, I expect this is still going to fail tonight for your daily release run21:38
robruah21:38
robrucyphermox, should we file a bug then?21:38
cyphermoxyeah, I guess21:39
cyphermoxor at least notify as per escalation procedure21:39
cyphermoxkgunn: ^^21:39
kgunnracarr: any ideas ^21:40
kgunnrobert_ancell: ^21:40
robert_ancellkgunn, looking21:41
robert_ancellua_ui_mirserver_init - what library is that?21:41
robert_ancellI don't think we have any symbols like that21:41
kgunnrobert_ancell: might be greyback mir-unity layer ?21:42
robert_ancellkgunn, yes, it's in lp:unity-mir src/unity-mir/qmirserver.cpp21:42
robert_ancellso looks like some internal linking problem in unity-mir21:43
kgunnrobert_ancell: i was just about to look to see if something landed....but i didn't think anything hit within last 2 days21:43
kgunne.g. we changed and broke gerry21:43
kgunnoh wait21:44
kgunncyphermox: so it broke only for amd64/i386 ?21:44
kgunnrobert_ancell: ^21:44
cyphermoxapparently so21:44
cyphermoxlet me make sure21:44
kgunncyphermox: cause unity-mir is only relevant on arm atm21:45
kgunn(not that that makes it totally ok)21:45
kgunn(but less freak out)21:45
robert_ancellkgunn, it's not our symbol , so I don't think it's an API/ABI change on our side21:45
robert_ancellI'll try building locally here21:45
kgunnrobert_ancell: i can tell you arm from trunk builds fo sho21:45
kgunni just did it like 2 hours ago21:46
kgunn...and that's me21:46
cyphermoxkgunn: it failed everywhere21:46
kgunncyphermox: eeewww, ok21:46
cyphermoxhttps://launchpad.net/~ubuntu-unity/+archive/daily-build/+sourcepub/3440062/+listing-archive-extra21:46
kgunnrobert_ancell: wrt building i meant mir...not unity-mir21:48
robert_ancellah21:48
kgunnracarr: you back ?21:59
racarrkgunn: Just got back22:01
kgunnracarr: no worries...22:01
kgunnracarr: just wanted to poke you....i just branched unity-mir22:01
kgunnto build and its looking for ubuntu-platform-api...22:02
kgunnbut...is that really something like libplatform-hardware-api1-dev22:02
kgunn?22:02
kgunnor...what the heck is that22:02
racarrno  its22:02
racarrlibplatform-api22:03
racarrI dont remember how the packaging as done for how the -mirsever variant22:03
racarri think its just that22:03
racarrkgunn: Well if you re building from source22:03
robert_ancellkgunn, it builds locally here22:03
racarrit's lp:platform-api and you build with cmake -DENABLE_MIRSERVER_IMPLEMENTATION=true22:03
kgunnrobert_ancell: "it" being unity-mir ?22:10
robert_ancellkgunn, yes22:10
mterrymzanetti, is Q_FOREACH preferable to C++'s "for (auto x: list)" ?22:12
mzanettimterry: hmm... depends. Q_FOREACH has some gimmics when working with stuff like QMap or QHash22:13
kgunnrobert_ancell: ok...i think it might be one for gerry...or ricmm might know22:13
mterryhmm22:13
mzanettifor everything else I'd say it doesn't really make a difference22:13
=== jhodapp|brb is now known as jhodapp
mzanettiveebers: hey22:33
veebersmzanetti: hey, what's the haps?22:33
mzanettiveebers: http://s-jenkins:8080/job/generic-mediumtests-runner-mako/155/console22:33
* veebers looks22:33
mzanettiveebers: happens since a couple of hours22:33
mzanettilooks a bit like infrastructure troubles22:34
veebersmzanetti: yeah, looks like the wget fails :-\22:34
veebersmzanetti: I'm reading some backlog; see if it's a known/in progress issue. Otherwise I'll ask around and get it sorte22:35
veebersd22:35
mzanettithanks22:35
mzanettiI'm off to bed22:35
mzanettio/22:36
veebersmzanetti: hehe fair enough, cya o/22:36
=== salem_ is now known as _salem

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