/srv/irclogs.ubuntu.com/2013/11/28/#ubuntu-unity.txt

=== kdub is now known as kdub^holiday
=== duflu_ is now known as duflu
=== larsu is now known as crowd
=== crowd is now known as larsu
tsdgeosMirv: any chance you can add https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1253120 to the Qt 5.2 beta2/RC packages so we get egl again on the desktop?09:16
ubot5Ubuntu bug 1253120 in qtbase-opensource-src (Ubuntu) "Enable build of egl on desktop gl in Qt 5.2" [Undecided,New]09:16
Mirvtsdgeos: right, I tried and it didn't apply for some reason, I mean the configure sections looked different. I was thinking to wait RC, but then it looks the RC isn't similar to what you submitted either.09:24
tsdgeoshmmm ?¿09:24
tsdgeosthat's for the stable branch09:25
tsdgeoshow can it have diverged that much09:25
Mirvtsdgeos: yeah, I know. it's not much but the if logic is different so I was a bit cautious.09:25
Mirvtsdgeos: http://pastebin.ubuntu.com/6488707/ - there's that top if [ "$CFG_OPENGL" != "es2" ]; then09:26
Mirvbut I guess it would be maybe removing similarly the "$CFG_OPENGL" = "no" and elif09:27
Mirvby the way, still no real RC http://download.qt-project.org/development_releases/qt/5.2/09:28
tsdgeosyeah...09:29
tsdgeosMirv: yeah same thing applies09:31
Saviqtsdgeos, that doesn't seem to have worked completely https://jenkins.qa.ubuntu.com/job/ubuntu-ui-toolkit-trusty-amd64-ci/295/console09:35
tsdgeosSaviq: yeah09:35
tsdgeosSaviq: didn't realize i was just running the test manually09:36
tsdgeosnot thorugh the make check thing09:36
tsdgeosthat passes -minimal09:36
Saviqtsdgeos, yeah, looks like you need to swallow the -platform arg09:36
tsdgeosor make it not be passed by the make09:36
Saviqtsdgeos, or well, QT_QPA_PLATFORM=minimal instead would work, too09:36
tsdgeosyeah09:36
tsdgeosor swallow it :D09:37
Saviqtsdgeos, yeah, it's probably a common set of args?09:38
tsdgeosall the other ones work fine09:39
tsdgeosi.e. -maxwarnings 10 -o ../../test_tst_arguments.xml,xunitxml -o -,txt09:39
Saviqyup09:39
tsdgeosmhr3: there?10:26
mhr3tsdgeos, yep10:26
tsdgeosmhr3: i don't understand how https://code.launchpad.net/~mhr3/unity8/ensure-currentitem-non-null/+merge/196948 makes set_current_index not get lost10:26
mhr3tsdgeos, cause it doesn't use setCurrentScopeAtIndex10:27
mhr3that is what invalidates it10:27
mhr3or well... resets it10:28
tsdgeosmhr3: but why do you need to set it at all?10:29
tsdgeoswhen it gets loaded it'll be set to the correct value anyway10:30
tsdgeosor10:30
tsdgeosin case we don't have one10:30
tsdgeosright10:30
mhr3and you answered yourself :)10:30
tsdgeosmhr3: i think the code would be a little easier to read if you had an outer if (count > 0)10:31
tsdgeosbut that may as well just be my brain10:31
tsdgeosso this may actually be the proper fix to the dash content test unstability we have10:32
tsdgeosand not cimi's 5 to 10 seconds10:32
mhr3i was thinking about it10:32
mhr3but meh, it's 4 loc :P10:32
tsdgeosmhr3: what i'm not so sure is about how you10:33
tsdgeosdashContentList.currentIndex = -1; in the test10:33
tsdgeosshould this be a verify and have that code in the onCountChanged?10:33
mhr3tsdgeos, not visible in the diff, what the -1 is in cleanup()10:33
mhr3s/what/that/10:33
tsdgeossure10:34
tsdgeosi knew it was there10:34
tsdgeosstill10:34
tsdgeosit means that dashContentList it's not cleaning up itself much10:34
tsdgeosso will the code you added in DashContent.qml work in real life10:34
tsdgeoswithout the extra cleaning you're doing in there?10:34
mhr3tsdgeos, listview itself is very odd how it behaves there10:34
tsdgeos listview itself is very odd10:35
tsdgeosyep :D10:35
mhr3tsdgeos, basically i added it so the test_current_index would actually pass10:35
mhr3cause if it wasn't run as the first thing it'd fail on the currentIndex == -110:35
mhr3yet if it was run as the first test it passed10:36
tsdgeosright10:36
tsdgeosand that's why i am saying that it makes sense to have10:36
tsdgeosdashContentList.currentIndex = -1;10:36
tsdgeosas else10:36
tsdgeosin that count > 0 of your countChanged10:36
mhr3i'm not sure, what if you want to reset the model?10:37
mhr3ie you'll see count 7 -> 0 -> 710:37
mhr3if you don't force currentIndex to -1 you'll actually keep the same active page open10:37
tsdgeosif you to 7 -> 0 -> 6 -> 710:39
tsdgeosyou won't10:39
mhr3right, but at least it'll be approximately there :)10:39
tsdgeosand that's probably what will happen anyway 7 -> 0 -> 1 -> 2 -> 3 ...10:40
mhr3well if we don't forcefully set it to -1 we have the option of keeping the same page active10:40
mhr3if we do, we loose it10:40
mhr3end of story :)10:40
Cimiwho has bugs for me?10:41
tsdgeossure10:41
tsdgeosmhr3: i don't see how that counters the fact that you had to add extra code in cleanup to make your test work10:41
mhr3tsdgeos, tests should start in the same base environment, the component itself can remember state if it chooses to10:43
mhr3putting the reset in the component seems wrong10:43
tsdgeoswell you're testing it10:44
mhr3cause you're closing the doors on keeping the state10:44
tsdgeosyou test says10:44
tsdgeoscompare(dashContentList.count, 0, "DashContent should have 0 items when it starts");10:44
tsdgeoscompare(dashContentList.currentIndex, -1, "DashContent's currentIndex should be -1 while there are no items in the model");10:44
tsdgeosbut that is simply not true10:44
tsdgeosyou're totally arguing that the component is allowed to have dashContentList.currentIndex as not -1 even if there are no items in the model10:44
mhr3it is if all the tests were isolated10:45
tsdgeosso either your test is wrong10:45
tsdgeosor your component is wrong10:45
tsdgeosno10:45
tsdgeosyou specifically wrote10:45
tsdgeos"DashContent's currentIndex should be -1 while there are no items in the model"10:45
tsdgeosno10:45
tsdgeos"DashContent's currentIndex should be -1 while there are no items in the model at the beggining of the program but not after because i think it makes sense to keep it"10:45
tsdgeosright?10:45
mhr3then i'll change it to "while there have been no items..." ;)10:45
tsdgeosmhr3: well, do it10:46
tsdgeosat least it won't be lying10:46
mhr3tsdgeos, fine with me, do you want the count if split too?10:47
tsdgeosmhr3: i'll leave it to you10:47
mhr3pushed10:53
tsdgeostx ;.)10:54
mhr3btw tryCompare() really silly name10:56
mhr3when it's actually waitUntil()10:57
dandraderwaitUntil with a timeout10:57
mhr3waitUntilWithTimeout() would be silly too :)10:58
tsdgeosmhr3: actually...10:59
tsdgeosmhr3: maybe we can have two tests?11:00
tsdgeoshave one do dashContentList.currentIndex = -1; at the beginning (as if coming from a clean startup)11:00
tsdgeosand the other do dashContentList.currentIndex = 900; at the beginning (as if coming from a weird model)11:00
tsdgeosand then on both you test that at the end dashContentList.currentIndex == 0 or something?11:00
tsdgeoswhatcha think?11:02
mhr3tsdgeos, well, that's kindof already tested in the set_current_scope_index_async11:04
mhr3but not directly, so ok...11:04
tsdgeostx!11:07
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
tsdgeosSaviq: ci still borked, right?11:42
mzanettiSaviq: can you tell me what to do in order to run the real application manager instead of the mock with run_on_device? I just can't seem to find the right place11:44
nic-doffaytsdgeos, Q_SCRIPTABLE? Can't seem to find any info on it. (In dbusscreen.h)11:50
tsdgeosmakes it dbus friendly amonsgt other things11:50
tsdgeoslike making it also a Q_INVOKABLE11:51
Saviqtsdgeos, yeah, we're fighting, should be good soon11:58
Saviqmzanetti, right! that's actually a bug11:58
Saviqmzanetti, it was working before11:59
Saviqmzanetti, somehow QML2_IMPORT_PATH is borked11:59
Saviqmzanetti, unity-mir installs it in /usr/lib/arm-linux-gnueabihf/qt5/imports/Unity-Mir/11:59
Saviqmzanetti, and main() adds it11:59
Saviqmzanetti, main.cpp:15512:00
* Cimi flashing nexus 1012:00
Saviqmzanetti, and somehow that started to fail12:00
Saviqmzanetti, most likely the set of import paths is constructed in the wrong order12:04
mzanettimhm... I was playing around with that. but it always fails to find it12:04
greybacktsdgeos: Q_SCRIPTABLE doesnt seem to mean anything. src/corelib/kernel/qobjectdefs.h defines it as just "#define Q_SCRIPTABLE"12:07
tsdgeossure12:08
tsdgeosit's just moc and others that make magic happen12:08
greybackah12:08
tsdgeosit's like emit12:08
tsdgeoswell not really12:08
greybackyep12:08
tsdgeosemit is really nothing12:08
tsdgeosnoone cares12:08
tsdgeosbtw i lost the user indicator and the volume indicator in unity712:17
tsdgeosoh12:18
tsdgeosit's unity8 playing up with them12:18
tsdgeosdamnit12:18
tsdgeosrun unity812:18
tsdgeoshave sound and wifi indicators12:18
tsdgeoskill it12:18
tsdgeosindicators gone12:18
tsdgeos:D12:18
Saviqgreyback, landings are b0rked until mir gets published, so no point in top-approving unless you kick generic-land by hand12:38
Saviqgreyback, which I'll do in a minute12:38
greybackSaviq: ah really, wasn't aware of that12:39
Saviqgreyback, bug #125557812:39
ubot5bug 1255578 in Ubuntu CI Services "dependency issues on libunity-mir1 in testrunner-otto" [Undecided,Confirmed] https://launchpad.net/bugs/125557812:39
Saviqgreyback, it got fixed long-term by removing daily-build from the jobs12:40
Saviqbut we're still deadlocked until Mir's published12:40
Saviqand then there's bug #1255948 which means we can't even use daily-build for a one-off job ;?12:40
ubot5bug 1255948 in Ubuntu CI Services "upstream merger hooks do not propagate to downstream jobs' builder_hooks" [Undecided,New] https://launchpad.net/bugs/125594812:40
Saviqso will push manually12:40
greybackSaviq: I am as confused as you though. How did it happen?12:41
Saviqgreyback, daily-build was enabled by default for unity-mir -ci and -autolanding12:41
Saviqgreyback, so it built, got put into the local per-stack repository for unity8 stack12:42
Saviqgreyback, but unity8 isn't using daily-build (and shouldn't)12:42
Saviqnothing should12:42
Saviqso then you couldn't install libunity-mir1 from the mbs repo12:42
mzanettiSaviq: finally :) https://code.launchpad.net/~mzanetti/unity8/fix-appmanager-on-device/+merge/19705312:42
Saviq'cause it wanted new mir12:42
Saviqmzanetti, that should be there from /etc/environment12:43
Saviqmzanetti, I mean imports12:43
mzanettiSaviq: yeah... it is when I query it in the shell. somehow exec_with_ssh doesn't pick that stuff up12:43
greybackSaviq: what's wrong with daily-build?12:43
Saviqmzanetti, also, will conflict https://code.launchpad.net/~saviq/unity8/tweak-run-scripts/+merge/19687112:43
Saviqgreyback, it's unsafe - stuff in there might never end up in distro12:44
mzanettiSaviq: ah ok, perfect. I'll drop the conflicting change12:44
Saviqmzanetti, there's also a possible fix to do in exec_with_ssh then12:44
Saviqmzanetti, instead of what you did12:44
Saviqmzanetti, does exec_with_ssh use sudo -u phablet -i?12:45
Saviqmzanetti, that's the way to pick up the correct environment12:45
Saviqmzanetti, let's fix it at its root12:45
mzanettiSaviq: but when I just ssh into the phone it's there too12:45
Saviqmzanetti, yeah, that's because it's interactive12:45
greybackSaviq: understood. Pity though12:45
Saviqmzanetti, i.e. bash12:45
Saviqgreyback, why?12:46
=== MacSlow|lunch is now known as MacSlow
greybackSaviq: handy if you wanted to live on cutting edge :)12:46
Saviqgreyback, you can still use it12:46
Saviqgreyback, but -ci nor -autolanding should live on cutting edge, should they?12:46
* Saviq always gets confused with the rules around neither / nor / or / not12:47
Saviqwas that sentence syntactically correct ↑↑?12:47
greybackSaviq: neither/nor usually12:48
Saviqgreyback, yeah, but if there's "not" somewhere already, neither/nor is wrong to use, right?12:48
Saviqgreyback, i.e. something should not do foo, neither should bar12:48
greybackSaviq: right, then you'd use "nor"12:49
Saviqyeah, that's why I said I'm confused ;)12:49
greybackit all makes perfect sense :P12:49
=== dandrader is now known as dandrader|afk
mhr3i think english should have xor as well then12:53
mhr3example "you either agree or not" -> "you agree xor not"12:53
mzanettiSaviq: this does look correct to me: ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -t phablet@localhost -p 2222 sudo -u phablet -i bash -ic \"echo $QML2_IMPORT_PATH\"12:53
tsdgeosguys, a little more killing https://code.launchpad.net/~aacid/unity8/remove_unused_applications_folder/+merge/19705812:53
tsdgeosand that said12:54
tsdgeoslunch!12:54
Saviqmzanetti, yeah, does this work with exec_with_ssh?12:55
Saviqmzanetti, if not - we should find out why - as we're bound to actually lose more env then just import path12:56
mzanettiSaviq: yeah... it doesn't work12:56
mzanettistrangely12:56
Saviqmzanetti, exec_with_ssh 'echo ${QML2_IMPORT_PATH}'13:02
Saviqmzanetti, that drops /usr/lib/arm-linux-gnueabihf/qt5/imports for me13:02
mzanettinot here13:03
Saviqmzanetti, TBH I think my branch should fix the issue13:03
Saviqmzanetti, the pkg-config was the cause13:03
Saviqmzanetti, as it was overwriting the path13:03
* Saviq tries13:04
=== dandrader|afk is now known as dandrader
mzanettiSaviq: nope... tried with your branch... not in there13:09
Saviqmzanetti, yeah, I mean I'm trying run_on_device for real with my branch13:11
Saviqmzanetti, AFAICT it should come up with real apps plugin13:11
mzanettino. it doesnt13:11
Saviq200MB deps...13:11
mzanettithat's what I just did13:11
Saviqmzanetti, ok, but yours does not echo the import path to start with ;)13:11
Saviqmzanetti, just let me try13:12
mzanettiok. grabbing something to eat13:13
Saviqmzanetti, ok, not working indeed13:14
* Saviq prints the import path13:14
Saviqs13:14
=== alan_g is now known as alan_g|lunch
mzanettiSaviq: what's the verdict?13:31
Saviqmzanetti, something's stupid13:31
mzanettitold ya :D13:31
mzanettino clue why it doesn't pick up the env13:32
mzanettiprobably some very restrictive check in some of the env scripts13:32
Saviqmzanetti, but really, exec_with_ssh "\${QML2_IMPORT_PATH}" doesn't work?13:32
Saviqmzanetti, it's completely stupid13:32
Saviqmzanetti, in:13:32
* mzanetti tries again13:32
Saviqexec_with_ssh "cd $CODE_DIR/ && ./run $ARGS -- $RUN_OPTIONS"13:32
SaviqI can add '&& echo \${QML2_IMPORT_PATH}'13:33
Saviqand it's there13:33
mzanettiSaviq: right... forgot to escape the $13:33
mzanettithen it's there13:34
Saviqmzanetti, right, what I though13:34
Saviqt13:34
Saviqmzanetti, it's the ./run that doesn't get it somehow13:35
Saviqwtf ;?13:37
mzanetti+113:37
mzanettiSaviq: well, it loads the environment but doesn't export it13:44
Saviqmzanetti, right13:45
Saviqmzanetti, thing is the whole sudo/bash atrocity should not be needed13:51
Saviqmzanetti, if I go13:51
mzanettiSaviq: that's what I would have said too. but ubuntu is behaving a bit different than the other distros I know13:51
Saviqssh phablet@mako 'cd ~phablet/shell; ./run'13:52
mzanettiso I wasn't entirely sure13:52
Saviqthat works fine13:52
Saviqmzanetti, but then if I make exec_with_ssh like that, it fails for some reason :/13:52
Saviqah wait13:54
Saviqgrrr no, without bash we don't have the whole env from upstart13:54
mzanettiSaviq: I guess ogra would be the right one to help here13:55
Saviqmzanetti, yeah, was about to go to him, wanted to try a few things13:55
tsdgeosMirv: RC packages \o/13:57
Mirvtsdgeos: \o/14:07
tsdgeosMirv: can we close this one down since we're not aiming at 5.1.1 anymore? or do these still fail under 5.2?¿14:21
dandradertsdgeos, could you review my MP then?14:35
greybacktsdgeos: cool, can you link me to the gerrit page of that?14:35
tsdgeosdandrader: shoot the url14:35
dandradertsdgeos, https://code.launchpad.net/~dandrader/unity8/runningAppsEndClose/+merge/19625714:36
tsdgeosgreyback: https://bugreports.qt-project.org/browse/QTBUG-3049314:36
mzanettiCimi: what do you think about this? https://bugs.launchpad.net/ubuntu-ux/+bug/125592614:36
ubot5Ubuntu bug 1255926 in Unity 8 "If there is only one category in a scope it should not use the carousel" [Undecided,Incomplete]14:36
CimiI know I'll miss those lazy days next week :)))14:37
mzanettiCimi: yeah... thought the same :D14:37
Cimimzanetti, ok I'll look at it14:37
greybacktsdgeos: no I meant the gles & opengl patch14:38
tsdgeosgreyback: silly me i copied pasted from the wrong tab14:38
tsdgeosgreyback: https://codereview.qt-project.org/#q,71717,n,z14:38
greybacktsdgeos: perfect, thanks14:38
=== alan_g|lunch is now known as alan_g
mzanettiCimi: https://bugs.launchpad.net/unity8/+bug/1255926/comments/214:40
ubot5Ubuntu bug 1255926 in Unity 8 "If there is only one category in a scope it should not use the carousel" [Undecided,Incomplete]14:40
MacSlowIs the run_on_device script meant to work for the N10 at the moment?14:44
Saviqmzanetti, pushed the . /etc/environment to https://code.launchpad.net/~saviq/unity8/tweak-run-scripts/+merge/19687114:44
=== dandrader is now known as dandrader|lunch
mzanettiSaviq: me... if I print the engine's importPathList it's still not there14:47
mzanetti+h :D14:47
Saviqmzanetti, yeah, I'll track that down - at least it's there in the run script ;)14:47
mzanettiindeed14:47
Saviqmzanetti, prolly not exported14:48
mzanettiyeah... same issue, one level down :D14:48
Saviqmzanetti, yup14:48
Saviqmzanetti, pushed14:49
mzanettiSaviq: \o/14:50
Saviqmzanetti, as for the whole thing - http://paste.ubuntu.com/6489818/14:51
Saviqmzanetti, that's what's there14:51
Saviqmzanetti, it's just the Unity.Application plugin in surfaceflinger + mir versions14:51
mzanettiSaviq: yeah, seen that...I'm actually a bit confused by the splitting of QT_INSTALL_QML and QT_INSTALL_IMPORTS14:51
mzanettiSaviq: in Qt4 there was only QT_INSTALL_IMPORTS and everything in there14:51
mzanettiit was named slightly different iirc14:52
Saviqmzanetti, yeah, I don't know of anything that's supposed to go into imports14:52
Saviqtsdgeos, ↑ do you?14:52
tsdgeosnope14:53
mzanettiSaviq: shouldn't we export whole environment instead of just that one variable?14:54
Saviqmzanetti, nah, everything that *should* be there is already there14:54
mzanettiok14:54
Saviqmzanetti, i.e. everything else comes from /etc/profile and friends14:54
Saviqgreyback, on that note, why does libunity-mir1 have all the symlinks? sounds like it's built like a shared lib instead of plugin?14:54
Saviqgreyback, there's nothing that links against it is there?14:55
greybackSaviq: part of it is a shared lib14:55
greybackSaviq: the QML plugin links against it14:55
Saviqgreyback, installed with the QML plugin?14:56
greybackSaviq: yes14:56
Saviqgreyback, I mean http://paste.ubuntu.com/6489818/14:56
greybackSaviq: oh, I see. Yeah that's not necessary14:56
karniCan you guys help me install qmake on Ubuntu phone? would I install qt5-default if I want to compile a scope?14:56
karniroot@ubuntu-phablet:/home/phablet/scope# qmake14:56
karniqmake: could not find a Qt installation of ''14:56
Saviqkarni, or export QT_SELECT=qt514:57
greybackkarni: have you qt5-qmake installed?14:57
Saviqgreyback, that's qtchooser complaining about not knowing which version to look for14:57
mzanettiSaviq: actually this seems a new issue too. installing qt5-default shouldn't require you to export QT_SELECT14:57
Saviqgreyback, not that it can't find it14:57
Saviqmzanetti, yes, but karni said he doesn't have it installed14:57
karniI have qt5-default installed14:57
Saviqkarni, oh14:58
karniI just reinstalled it14:58
Saviqok /me misunderstood14:58
mzanettiSaviq: I noticed this too a few days ago14:58
mzanettiSaviq: my run_on_device_scripts from my apps stopped working14:58
karniSaviq: no, you were actually right, I just reflashed the device and tried again without it14:58
karninow I installed it, exported QT_SELECT=qt5 aaand.. make: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake: Command not found14:58
mzanettikarni qt5base-dev etc installed?14:59
Saviqkarni, yeah, that'd be qt5-qmake not installed14:59
karnimzanetti: will check14:59
Saviqkarni, btw, scope? scope with qmake?14:59
karniE: Unable to locate package qt5base-dev14:59
Saviqkarni, is there debian/control?15:00
Saviqkarni, apt-get install devscripts equivs15:00
karnioh wait, I think I have the Makefile from my PC15:00
* karni recreates that15:00
Saviqkarni, yeah, saw x86_64 there15:00
karniSaviq: you got it. installing devscripts and equivs.15:01
karniThanks guys15:01
karniFirst time I'm trying to actually compile a scope on the phone.15:01
Saviqkarni, mk-build-deps -s sudo -i will install the build deps for a local package (assuming you've got debian/control there)15:01
karniOn that note, need to tell Daniel H. (Cc mhall119 ) that we have a scope tutorial, but we don't have a scope tutorial for the phone, explicitly. It's the same code, but you do need some initial setup.15:02
karniSaviq: yeah, that's just a bare scope code, so no debian/control15:02
karnibut I'll note that down :)15:02
Saviqgreyback, bug #125601415:07
ubot5bug 1256014 in unity-mir (Ubuntu) "The Applications plugin should not be built as a shared library, but as a plugin instead, no SONAME etc." [Undecided,New] https://launchpad.net/bugs/125601415:07
greybackSaviq: ta15:08
SaviqMacSlow, greyback, ricmm, bug #1256011 too15:08
ubot5bug 1256011 in unity-notifications (Ubuntu) "Should install the applications plugin in plugin path from libunity-api-dev" [Undecided,Confirmed] https://launchpad.net/bugs/125601115:08
SaviqMacSlow, you just got hit 'cause Satoris isn't here ;)15:08
MacSlowSaviq, ah ok :)15:09
SaviqMacSlow, should be an easy fix, too15:09
MacSlowSaviq, will look into it15:11
tsdgeoscan't run apps?¿15:17
tsdgeosSaviq: ↑↑ ?15:20
Saviqtsdgeos, try on console:15:20
Saviqupstart-app-launch webbrowser-app15:21
tsdgeosSaviq: nope15:25
Saviqtsdgeos, output?15:25
tsdgeosnone :D15:25
tsdgeosphablet@ubuntu-phablet:~$ upstart-app-launch webbrowser-app15:26
tsdgeosphablet@ubuntu-phablet:~$15:26
Saviqtsdgeos, anything interesting in .cache/upstart/unity8.log ?15:26
tsdgeosonly osk stuff15:26
tsdgeosmaybe i should merge dandrader's branch before running15:26
tsdgeoslet me see if that helps15:26
tsdgeosi mean merge with trunk15:26
Saviqtsdgeos, one more interersting place to look15:27
Saviq-r15:27
Saviqtsdgeos, .cache/upstart/application-foo.log15:27
Saviqwhere foo is the app name / app_id15:27
tsdgeosok, will heck after merge/recompile/run finishes15:28
tsdgeosSaviq: hmmm, it indeed seems to be running15:33
tsdgeosit's just not on the screen nor on the currently running apps :D15:33
Saviqtsdgeos, and that's across unity8 runs?15:34
Saviqtsdgeos, weird... stock unity8, too? rebooted?15:34
tsdgeosthat's when running dandrader|lunch's branch15:34
tsdgeoslet me try the stock one15:34
tsdgeosstock one does actually work15:37
tsdgeossilly me for not having tried that15:38
tsdgeossorry15:38
tsdgeosand now it works on dandrader's one too15:41
* tsdgeos confused15:41
mhr3sil2100, anything blocking unity-scopes-api?15:47
mzanettimhr3: hey, looking into scope.cpp, I see that you are trying to find a desktopFile for some "uri". where does this uri come from?15:48
mhr3mzanetti, scopes15:49
mhr3:)15:49
mzanettimhr3: can we have activateApplication to pass the appId instead of the path?15:49
mhr3i know that was unexpected, right? :)15:49
sil2100mhr3: hi! I guess we just need someone to NEW it now, since it's in the queue - we'll be poking people soon15:49
mzanettimhr3: we have quite some workarounds spread around to trim that down to an appId again15:49
mhr3mzanetti, iirc the uri format you expect isn't the same as what the scopes provide15:50
mzanettimhr3: well, we expect the appId. not really an uri format15:51
mhr3see? :)15:51
mzanettistill doesn't answer my question. can we haz appIds there?15:51
mhr3what are appIds in your part of the code?15:52
mzanetti"address-book-app" for example15:52
mzanettimhr3: we have a discussion ongoing to drop this version stuff from click's appId's too15:53
mhr3address-book-app doesn't sound overly unique to me15:54
mhr3shouldn't it have like full publisher name and stuff?15:55
mzanettimhr3: yeah. click apps still have com.foo.bar.appname15:56
mzanettimhr3: but stuff installed with apt doesn't15:57
mhr3mzanetti, iirc there's the appid schema-ed uri, imo we should use those15:57
mzanettimhr3: tbh I don't really mind. but we used the appIds before that schema came up and now we have a mess of appId, url-schemas and full desktop file paths15:57
mzanettiso I'm trying to find where we could align that stuff15:58
mhr3mzanetti, i'm all for unifying it, just don't think we're there yet15:58
Saviqmhr3, there's also bug #125163515:58
ubot5bug 1251635 in click (Ubuntu) "drop version numbers from users' .desktop file names" [Undecided,Confirmed] https://launchpad.net/bugs/125163515:58
mzanettiobviously we're note there yet :) but I'm trying to get there :D15:59
mzanettiSaviq: IMO we should tackle this at the sprint together. greyback, you and me sitting down and fix that appId everywhere16:01
mzanettido you think thats feasable?16:01
greybackmzanetti: yes let's make time to do that16:02
mhr3mzanetti, well clearly you do see what's involved, has to work for clicks, has to work for regular .desktop from apt, should be compatible with unity7 in some way16:02
mhr3mzanetti, once you have a solution, open bugs :)16:02
greybackmzanetti: Saviq: did we ever decide if we'd handle appIds with or without the version string?16:02
mhr3or push patches :)16:03
mzanettigreyback: I'm afraid we didn't get a response from the click people16:03
greybackmzanetti: was there a mail sent or something?16:04
mzanettigreyback: https://bugs.launchpad.net/ubuntu/+source/click/+bug/125163516:04
ubot5Ubuntu bug 1251635 in click (Ubuntu) "drop version numbers from users' .desktop file names" [Undecided,Confirmed]16:04
mzanettithe day when we reported it, the people I pinged were either at a conference or in holidays16:04
mzanettilet me try again16:04
mzanettiah.. today US is not around either16:05
greybackoh darn16:05
greybackcjwatson is online16:06
greybackmzanetti: ^^16:06
Saviqgreyback, doesn't mean he's responsive16:07
greybackoh not for a while16:07
Saviqgreyback, he did send an email that he's gone16:07
greybackSaviq: ah ok16:07
Saviqgreyback, mzanetti FWIW internally we should go no-version-string16:07
mzanettiagreed16:08
greyback+116:08
mzanettibut then there is still the full desktop path coming from the scopes16:08
mzanettiand some places where we expect or get application://16:08
Saviqgreyback, mzanetti it should be stripped as soon as it reaches us, and re-introduced when going out16:08
mzanettiit's close to impossible to change something in Stage.qml without breaking something16:08
Saviqmzanetti, basename minus extension?16:08
mzanettiSaviq: would you do that in scope.cpp or when it reaches us on the QML side?16:09
Saviqmzanetti, we just need to normalize to ".desktop file name minus extension, minus version"16:09
Saviqmzanetti, cpp16:09
mzanettiok... good16:09
Saviqmzanetti, basically as close to process boundary as possible16:09
mzanettido we have some easy ./run method now with scopes in their own repo?16:13
Saviqmzanetti, same16:13
Saviqmzanetti, ./build -s will install them16:13
Saviqmzanetti, and then they're picked up automagically16:14
mzanettiSaviq: I'm feeling stupid. but can't find anything like that16:16
Saviqmzanetti, hmm?16:16
mzanettiSaviq: unity8's ./build -s doesn't do anything like that16:17
Saviqmzanetti, the package us unity-plugin-scopes16:17
Saviqis16:17
mzanettiSaviq: ah. so you mean it will be installed with apt16:17
Saviqmzanetti, yes16:17
mzanettiI meant a ./run if I want to change the code in there16:17
Saviqmzanetti, just export QML2_IMPORT_PATH16:17
Saviqmzanetti, with my branch that is16:18
mzanettiok16:18
Saviqmzanetti, anything you export before run16:18
Saviqmzanetti, will be the first fallback16:18
mzanettiok. cool16:18
Saviqmzanetti, so builddir/plugins is first, then QML2_IMPORT_PATH, then mocks16:18
Saviqtsdgeos, ping16:36
tsdgeosSaviq: yes?16:36
mzanettimhr3: https://code.launchpad.net/~mzanetti/unity-scopes-shell/activate-appid/+merge/19709816:42
mhr3mzanetti, doesn't handle the full path case16:44
mzanettimhr3: no?16:45
Saviqmzanetti, thank you ;D16:45
mzanettiah wait...16:45
mzanettiSaviq: ?16:45
Saviqmzanetti, I wanted to get rid of that chunk of code a long time ago ;)16:45
Saviqmzanetti, there's too much g_ ;D16:45
mhr3noone like gio, snip :P16:45
* mzanetti is always happy to remove g_'s16:45
mhr3evil, evil people!16:46
Saviqg_free *shrug*16:46
mhr3noone shrugs at g_free16:48
mhr3g_free is awesome!16:48
mhr3cause it does if(ptr) free(ptr)16:48
mhr3clearly that's the best function since sliced bread... i mean vmsplice?16:49
mzanettimhr3: better now?16:53
mhr3mzanetti, /usr/share/applications/kde4/kate.desktop will give you "kate", are you sure that's enough?16:54
mzanettihmm... fair point.16:55
mzanettiI think those are handled as kde4-kate16:56
mhr3usually, yes16:56
=== dandrader|lunch is now known as dandrader
mzanettimhr3: actually... can there be something like application:///usr/share/applications/kde4/kate.desktop ?17:07
mzanettiI mean the full path + application uri schema17:07
mhr3yes17:07
mhr3it's the same as application://kde4-kate.desktop but both are valid17:08
mzanettiyay for yet another combination :) I thought application has to be appid17:08
mhr3it's for resolving ambiguities iirc17:08
mhr3ie if you have foo.desktop in both /usr/share/applications and in ~/.local/share/applications17:08
mzanettipushed another version17:12
mhr3hardcoding paths?17:13
mhr3eeeek! :P17:13
=== boiko_ is now known as boiko
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== salem_ is now known as _salem
=== seb128_ is now known as seb128
=== thomi_ is now known as thomi

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