/srv/irclogs.ubuntu.com/2013/04/12/#ubuntu-unity.txt

fedesilvaHi, I want to know if it's possible to run custom shell commands from the dash, for example a function created in .bashrc05:27
=== tvoss|sick is now known as tvoss
Mirvanyone with 3 or 4 monitors? https://bugs.launchpad.net/unity-2d/+bug/930147 would need testing on 12.0405:59
ubot5Launchpad bug 930147 in unity-2d "all panels have same window focus on multiple monitors unity2d" [Low,Fix committed]05:59
hyperairwow, three monitors.06:03
hyperairstupid intel GPUs only have 2 PLLs06:03
didrockshey Mirv06:07
didrocksMirv: any progress on the skype/qt4 issue?06:07
Mirvhey didrocks. I didn't get new answers yesterday, but I haven't found any similar crash reports on other libqtwebkit4 rdepends (like amarok, arora, k3b, ktorrent, rekonq, quassel), so I believe it's skype only.06:29
Mirvbut I'm not certain if anyone is willing to upload skype with the LD_PRELOAD hack...06:30
didrocksMirv: do you mind adding a comment on the bug report + ping jdstrand who had concerns with it?06:30
Mirvdidrocks: ok06:30
didrocksMirv: if he agrees, I can sponsor it :)06:30
didrocks(the hack)06:30
didrocksMirv: just ping me so that we can conclude that today if possible :)06:30
Mirvok, I'll ping + send e-mail06:32
didrocksthanks ;)06:32
jim00234hi07:13
mzanettigood morning07:17
jim00234this is about ubuntu interface ?07:17
mzanettijim00234: yeah07:19
jim00234why they choose a tablet interface for a desktop os?07:22
tsdgeosbecause it's not a tablet interface07:27
didrockshey sil2100, how is it going?07:47
sil2100didrocks: hi! Had to do tax-related stuff in the morning so I'm starting just now ;)07:48
didrockssil2100: did you get to the new package yesterday evening, or not yet?07:48
didrockssil2100: what's on your plate, to sum up? ;)07:48
didrocks(and what I've eventually to review since Tuesday)07:49
sil2100didrocks: I have the packaging prepared according to the guidelines for android-audiosystem, will be doing testing on my system yet before proposing a merge07:50
didrockssil2100: excellent! do not hesitate to poke me for a review :)07:50
didrockssil2100: how are you going to test it manually btw? just curious :)07:51
sil2100I had some build problems due to the changes yesterday ;p some strange dpkg- things07:51
didrockssil2100: needing help?07:51
tsdgeosmzanetti: any reason we don't publish generic-mediumtests-builder jobs in the public jenkins?07:54
mzanettitsdgeos: yeah... because it's not supposed to fail unless all the other builders fail too.07:56
tsdgeos:D07:56
mzanettitsdgeos: which has been working 100% reliable until yesterday07:56
tsdgeosseen the answer i just gave to michi?07:56
mzanettino07:56
mzanettilink?07:56
tsdgeoshttps://code.launchpad.net/~michihenning/unity/phablet-coverage-tests/+merge/15778107:57
didrocksmzanetti: do you have a minute for hangout? I want to discuss some tests-autopilot-jenkins-job-thingy-yes-I-cant-make-a-more-fuzzy-title-but-will-try ;)07:59
tsdgeosSaviq: pushed the nested proxy rolenames test07:59
mzanettitsdgeos: really weird... the mediumtests-builder is exactly the same as the i386-ci expect it builds without coverage measurements and does not execute tests08:00
Saviqtsdgeos, nice08:00
mzanettididrocks: sure08:00
tsdgeosmzanetti: shrug08:00
mzanettitsdgeos: well... it does execute the core "make check" suite08:01
mzanettitsdgeos: as pbuilder does that on its own08:01
tsdgeosright08:01
didrocksmzanetti: https://plus.google.com/hangouts/_/1ce5181c7e07bfd3df3ccb932563480d1966d625?authuser=0&hl=en08:01
nic-doffayWhat's the best way to type check in QML?08:52
Saviqnic-doffay, there's no way to do that unfortunately08:53
Saviqnic-doffay, the only thing is «typeof something, "object"»08:53
mzanettinic-doffay: https://bugreports.qt-project.org/browse/QTBUG-2479908:53
nic-doffaySaviq, hmm ok.08:54
Saviqnic-doffay, we could try and use a hack08:54
Saviqnic-doffay, by declaring properties of certain types08:54
Saviqand trying to assign the values to them08:54
* mzanetti wonders if the problem isn't somewhere else...08:54
mzanettiI haven't felt the need for it in more than 10000 lines of QML08:55
Saviqmzanetti, it's for the interface tests08:55
Saviqmzanetti, when we want to make sure that an exposed property is of a certain type08:55
Saviqtsdgeos, so that really means the QTBUG re: nested proxy roleNames is fixed?08:56
tsdgeosSaviq: not really, the bug is about nested proxies, not nested "our" proxies08:57
mzanettiSaviq: hmm, ok... how about something like this? http://stackoverflow.com/questions/332422/how-do-i-get-the-name-of-an-objects-type-in-javascript08:57
sil2100didrocks: hmmm...08:57
sil2100didrocks: can I poke you about something?08:57
didrockssil2100: isn't what you have just done? ;-) sure, what's up?08:57
Saviqtsdgeos, hmm right08:58
tsdgeosSaviq: next step in "improving" our proxy is checking if they correctly return sourceModel()->roleNames from the QSortFilterProxyModel and then remove our implementation, but i'd like to defer that a bit (and get this one merged), working on the hud prototype now08:58
Saviqtsdgeos, sure, approved already08:58
tsdgeosi did fix it for the QIdentityProxyModel almost for sure08:59
tsdgeosdon't remember if also proposed a fix for the SortFilter one08:59
sil2100didrocks: so... I have a situation I don't really understand ;) The android-audiosystem package, I wanted to build it locally but it fails - the reason is, the debian/rules they use uses dh and override_dh_auto_build/clean/install08:59
sil2100didrocks: the package itself uses .sh scripts to build, so there's no 'real' buildsystem that dh can use08:59
sil2100didrocks: now, the thing I don't understand...08:59
didrockssil2100: hangout + screensharing maybe?09:00
didrockswe can look at that together :)09:00
dednickDoes anyone know if it's possible to get a view on all blueprint workitems assigned to a user?09:00
sil2100didrocks: when building it locally with bzr bd, it fails building, as the override hooks for build, clean and install doesn't work09:00
didrockssil2100: maybe a good training for both of us ;)09:00
nic-doffaySaviq, just a reminder about that email for the interface tests with a summary of what needs to be done.09:00
sil2100didrocks: but when building on a PPA, I saw it working fine :o OK, one moment and I'll prepare for a hangout09:00
sil2100Got to connect the power and things like that09:01
didrockssil2100: and dress up! :p09:01
Saviqnic-doffay, yeah, I'm on it, but doing it properly from the get go, so might not make it today09:01
nic-doffayNo problem, still got things to implement. Taking slightly longer due to QML noobness too.09:03
sil2100didrocks: invited you09:05
Saviqmzanetti, I'll have a look, thanks09:09
Saviqmzanetti, "[native code]" :/09:12
Saviqmzanetti, the constructor.toString() just tries to print the source of the constructor09:13
Saviqbut obviously that only works in JS09:13
mzanettiSaviq: right...09:13
mzanetti [native code] :D Hooray for propert code09:13
mzanettiproper09:13
Saviqand even root.constructor.name is empty09:15
Saviqwhere root is a Rectangle09:15
Saviqit's actually an empty string09:15
Saviqso yeah, the only solution I can think of is declaring a property of a type09:16
Saviqand check if assignment works09:16
Saviqbut that's probably not really reliable...09:16
Saviqhmm seems to work, actually09:19
Saviqmzanetti, what do you think?09:21
mzanettiSaviq: I could immagine implicit casts happening at some cases09:22
Saviqmzanetti, yeah, but if the property is of a type09:22
mzanettiSaviq: what kind of type?09:23
Saviqmzanetti, well, you're right09:23
mzanettiI don't think you can distinguish a ByteArray from a String09:23
mzanettiwhile it might work for QObject* types09:23
mzanettibut especially basic types will be implicitly casted, and Polymorphic types might be problematic too09:24
Saviqmzanetti, well, basic types we can check with typeof09:24
Saviqmzanetti, the only problematic ones are objects09:24
Saviqand enums, which are just numbers, but that should be somewhat fine09:24
Saviqstill, it would be something09:25
mzanettiSaviq: not really sure if the approach of checking types in a untyped language is the right one09:25
mzanettimaybe we should have some C++ tests for that?09:25
Saviqmzanetti, we want to test the QML interface09:26
Saviqand sure, we could test it in C++09:26
Saviqand it actually will be tested in C++, too09:26
mzanettiI guess the most sensible approach would be to split them... checking types of QML items in javascript feels like the sledgehammer method09:27
Saviqmzanetti, and well, QML is typed09:27
mzanettiSaviq: yeah... but the engine it runs in is not09:27
Saviqmzanetti, so deferring to it (by trying to assign a value to a typed property) to QML09:28
mzanettiSaviq: might as well be enough... actually if QML casts it implecitly and the test passes it will most certainly also work in real code - casted or not09:28
Saviqmzanetti, I'd really like to avoid splitting the test, it's supposed to be a definition of the API in a sense09:28
Saviqyeah exactly09:29
Saviqmzanetti, and obviously when the aforementioned bug is fixed09:29
mzanettiright... that would help, yeah09:30
Saviqwe can move to a more proper way, but I'd rather not split it out09:30
mzanettiSaviq: the bug was last edited in Jul 2012 by a guy who has most likely been fired the same day as I was... wouldn't hope too much tbh09:32
Saviqmzanetti, lol09:32
Saviqmzanetti, yeah, I rather thought we'd have to take care of it if we really want it09:33
Saviqbut that's fine09:33
mzanettiSaviq: but doesn't sound too hard actually... How about creating a simple qml plugin that just the type comparison as a C++ method? I guess that could be possible09:34
Saviqmzanetti, indeed09:34
mzanettior would you need to include all the types there?09:34
Saviqmzanetti, don't think so09:35
Saviqmzanetti, if you define a component in pure QML09:35
Saviqyou can still pass it back to C++09:35
Saviqquestion is how do you get its type hierarchy, then09:35
mzanettiSaviq: for QObjects it would be easy09:36
mzanettiand I guess to pass them to QML they have to be QObjects anyways09:36
Saviqmzanetti, exactly09:36
mzanettiobj->metaObject()09:36
Saviqright09:36
* Saviq hacks09:37
mzanettidid someone fix the startup crash of qml-phone-shell?09:40
Saviqmzanetti, what startup crash? the one on the phone09:49
Saviq?09:49
mzanettiSaviq: no, on the desktop09:49
mzanettiSaviq: but its back now... just hat a lot of lucky runs09:50
Saviqmzanetti, I barely ever see it crash09:50
mzanettiSaviq: happens in most of the cases for me09:51
Saviqmzanetti, but I did manage to make Qt crash, by trying to pass a component (not an instance) to C++ ;)09:51
mzanettiSaviq: passing -geometry 1600x1400 or so decreases likelyhood09:51
mzanettihehe09:51
Saviqwe'll have to compare by string, unfortunately09:51
mzanettiSaviq: can you remember what exactly was the reason for copying the ListItems?09:52
Saviqmzanetti, there were a bunch, just look at the diffs09:52
Saviqmzanetti, greyback was the one that did most of it, IIRC09:52
greybackmzanetti: which listitems?09:53
Trevinhoseb128: hey, a friend of mine has just upgraded to 13.04, but his applications/defaults.list had not the proper handler for inode/directory... Is that only applied after fresh-install?09:53
mzanettigreyback: Components/ListItems/*09:53
mzanettigreyback: unity-phablet09:54
Trevinhoseb128: I didn't do that manually as far i remember09:54
seb128Trevinho, maybe he has a local config for his user?09:54
seb128Trevinho, we don't overwrite user configs09:54
Trevinhoseb128: no, changing it manually on /usr/share/applications, fixed it09:54
seb128weird09:54
Trevinhoseb128: it was only a global thing09:54
Trevinhoyeah09:54
seb128well it you changed it manually we can't get debug infos now09:55
greybackmzanetti: they're heavily customized versions of SDK ListItems.09:55
Trevinhoseb128: damn :P, I can revert it back... :P09:55
seb128Trevinho, next time somebody has the issue tell them to keep the system in buggy state for debugging09:55
seb128Trevinho, that will not restore the timestamp from before you changed it...09:55
mzanettigreyback: yeah. I'm in the process of determining if we need to keep them or if we should go back to upstream ones at some point09:55
seb128Trevinho, so we don't know when the file was updated before your edit09:55
Trevinhoseb128: oh... I'm sorry :/09:56
seb128Trevinho, it's supposed to work on update, dunno what happened there09:56
seb128Trevinho, no worry09:56
seb128Trevinho, dpkg -l | grep desktop-file-utils09:56
Trevinhoseb128: fine, I've other PC to upgrade anyway09:56
greybackmzanetti: mostly the customisations are for lists with section headers which have transparent backgrounds - and the section headers stick to the top of the view. Right now listview draws the section header on top of the delegate, but if there's transparency you see both.09:57
seb128Trevinho, can you get the dpkg info?09:57
seb128Trevinho, did you get a conffile diff prompt during the upgrade?09:58
greybackmzanetti: It's a workaround for what I suspect is a Qt bug09:58
seb128Trevinho, the issue is that the file is stored in /etc, so it preserve local changes09:58
seb128Trevinho, and some buggy software edit the files for you, which makes the system think you edited the file and want your old version preserve09:58
seb128Trevinho, acrobat reader does that iirc, and some others09:59
mzanettigreyback: I find it hard to believe that the ListView section header has such a bug09:59
Trevinhoseb128: ah, he has 0.21-0ubuntu3 anyway09:59
Trevinhoseb128: but if one changed that file should't it keep the .dkpg-old or original?10:00
greybackmzanetti: open the SDK component gallery. You'll see it there right away in the list on the left10:00
seb128Trevinho, well, when there is a change it asks you what to do on upgrade10:00
Trevinhoseb128: yeah, sure10:00
seb128Trevinho, it shows you the diff and ask if you want to install the version of the package or keep your local one10:00
seb128Trevinho, ls /etc/gnome/defaults.list*10:01
seb128?10:01
mzanettigreyback: where can I find that again?10:01
mzanettithe components gallery10:01
Saviqmzanetti, ubuntu-ui-toolkit-examples10:02
greybackmzanetti: From the Dash, search for "Qt Components". You may have it installed. If not, lp:ubuntu-ui-toolkit, qmake, make, and run ./launch-demos.10:03
mzanettino dash here10:03
mzanettibut found it10:03
* Trevinho running between rooms like a crazy...10:03
Saviqmzanetti, /usr/lib/ubuntu-ui-toolkit/demos/launch_componentshowcase10:03
Trevinhoseb128: yeah, so it seems that the old one was kept10:04
Saviqmzanetti, and I don't actually think is a bug in its usual definition, it's just an omission10:04
Trevinhoseb128: apparently there were some google- earth and acroreader changes on it10:04
mzanettiSaviq, greyback: yeah... QML does not do any clipping on its own.10:04
seb128Trevinho, that's your issue, those are buggy and modify the file10:04
Trevinhoseb128: yeah :/10:05
mzanettiin our case that does suck indeed a little bit10:05
Saviqmzanetti, yeah, there should really be an option to enable clipping under the section header10:05
Trevinhoseb128: what would be the proper way for doing that for them? just  a proper .desktop file or a local setting?10:05
Saviqmzanetti, it's just assuming you will always have a background in your section header10:05
mzanettiSaviq: InverseClippingArea :D10:05
Saviqmzanetti, ;)10:05
Saviqmzanetti, if I go `some_function(Rectangle)`, do you know of a way to then create an object of that type?10:06
seb128Trevinho, what mimetype google-earth needs to claim? if nothing else is using the same mimetype they don't need to set a default10:06
seb128Trevinho, acroread is a bit trickier10:06
* mzanetti thinks10:07
Saviqmzanetti, or is that at all supported10:07
seb128Trevinho, the current xdg spec doesn't allow for a new installed package to take over a default, opensuse has hacks for that and they suggested them on the xdg list some years ago10:07
seb128Trevinho, but that never went to a conclusion10:07
Saviqmzanetti, I seem to get an Object from that just fine, but it doesn't seem to have any members :/10:07
Trevinhoseb128: ah, I see10:07
Trevinhoseb128: I guess that using a defaults.list.d/ would be a solution, isn't it?10:08
Trevinhoseb128: with priority-names .... i.e. 00_adobe.....list10:08
mzanettiSaviq: I would need to try experimenting... could immagine to get a Loader somehow to create an object from its name10:08
Saviqmzanetti, don't think so, it either takes a Component (which Rectangle is not)10:09
Saviqmzanetti, or a source file10:09
Saviqsame as Qt.createComponent, really10:09
mzanettiQt.createObject() ?10:09
mzanettior was it Component.createObject()... that wouldn't help either in that case :/10:10
Saviqyeah, it was Component10:10
Saviqthere is Qt.createQmlObject10:10
Saviqbut that doesn't help either10:10
seb128Trevinho, right10:12
seb128Trevinho, some of the discussion/proposal for improvements were around "by desktop default" as well10:13
mzanettiSaviq: what you could do - not the most elegant thing though - is to have a file with all the Types wrapped in a Component {} and a getByName() that returns the Component...10:13
Trevinholet's make new standards! :)10:13
seb128Trevinho, e.g http://lists.freedesktop.org/archives/xdg/2011-February/011806.html10:13
mzanettiSaviq: actually pretty ugly...10:13
Saviqmzanetti, yeah, what with custom types10:13
Saviqmzanetti, I'll just go for string comparison10:13
mzanettiSaviq: yeah... would require constant extending10:13
mzanettigreyback: so in your opinion we can't get rid of them but rather should write test cases in our codebase?10:15
* mzanetti wonders how to test clipping - which is really the only thing they do :D10:16
greybackmzanetti: for now we're stuck with them. I also think it's a bug, or at least an omission in Qt.10:16
greybackmzanetti: you could test to make sure that the math is correct, so it's clipping the correct height10:17
Saviqgreyback, but some of the changes were upstreamable to SDK, no?10:21
Saviqmzanetti, please make sure of that ^10:21
greybackSaviq: mzanetti: yes they could be upstreamed, that would be option 2. But I think option1 is seeing if we can fix ListView10:22
Saviqgreyback, right10:22
Saviqgreyback, but there were some other changes10:22
Saviqgreyback, like the height of the item to (not) include the separator10:23
greybackSaviq: yep, those bits can go upstream, but I know the SDK's ListItems are due to be reviewed heavily so I'd be tempted to hang on for that first10:24
Saviqright10:24
mzanetti+110:25
mzanettithat doesn't seem to be a task to do in between our testing efforts10:25
mzanettiSaviq: I'll postpone them then... given that the basics (size and clicking) are already tested through the peoplepreview now10:26
Saviqmzanetti, k10:27
tsdgeosthis is ridiculous10:31
tsdgeos14/16 Test #14: whitespace ...........................***Failed    0.55 sec10:31
tsdgeos/home/phablet/shell/builddir/CMakeFiles/CompilerIdC/CMakeCCompilerId.c: trailing whitespace in lines 224, 27910:31
tsdgeos/home/phablet/shell/builddir/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp: trailing whitespace in lines 212, 26710:31
tsdgeosreally?10:31
mzanettitsdgeos: I don't think this is intentional10:35
mzanettitsdgeos: but yeah... in my opinion we should do license and whitespace checks _before_ the build run, not afterwards, or this kind of things will keep on biting10:36
Saviqtsdgeos, yes, really10:43
Saviqtsdgeos, just make test before you push10:44
Saviqtsdgeos, ah10:44
mzanettipaulliu: you around?10:44
tsdgeosSaviq: and how do i fix whitespace there?10:44
tsdgeosif i may ask? ;-)10:44
Saviqtsdgeos, wait, that should be handled10:44
Saviqtsdgeos, the script ignores stuff in ${CMAKE_BINARY_DIR}10:44
tsdgeosit does10:44
Saviqor, should10:44
tsdgeosit is true10:44
tsdgeosthe problem is that i was dpkg-building10:45
Saviqtsdgeos, should work just the same10:45
tsdgeoson a "dirty" checkout10:45
Saviqtsdgeos, ah10:45
Saviqtsdgeos, :P10:45
Saviqtsdgeos, bzr bd -S10:45
tsdgeosso the builddir was not really the ${CMAKE_BINARY_DIR}10:45
Saviqtsdgeos, or bzr bd10:45
Saviqtsdgeos, that will only take files checked in (modified, too)10:45
Saviqmzanetti, did you ever get expectFail() in QtQuickTest to work?10:46
mzanettiSaviq: never tried tbh10:47
mzanettiSaviq: didn't know existed10:47
Saviq;)10:47
mzanettiSaviq: I use verify(something != something) or the like10:47
Saviqmzanetti, yeah, not working with exceptions ;)10:48
Saviqmzanetti, http://pastebin.ubuntu.com/5701083/ that, more or less, works10:48
mzanettiSaviq: don't use exceptions with Qt :D10:48
Saviqmzanetti, yeah, it was automagic10:48
Saviqneed to protect10:48
mzanettiSaviq: isInstanceOf.... is that the thing you hacked together?10:49
Saviqmzanetti, yeah10:49
mzanettiSaviq: and you attached it to every object?10:49
Saviqmzanetti, no, not yet10:50
mzanettiI guess I'll see a MP that explains it at some point... just curious how you did it10:50
Saviqmzanetti, just a Q_INVOKABLE now10:50
Saviqmzanetti, testObject is just an object from a plugin10:50
mzanettiSaviq: ah... ok... net yet the actual objects to be tsted10:50
Saviqmzanetti, yes they are10:51
* Saviq pastes the whole thing10:51
Saviqmzanetti, http://pastebin.ubuntu.com/5701091/10:53
mzanettiSaviq: ok... got it... this line comfused me: testObject.isInstanceOf(testObject, "QQuickItem")10:54
mzanettiSaviq: I got the impression that suddenly all objects know of isInstanceOf10:55
Saviqmzanetti, yeah, WIP10:55
Saviqmzanetti, I think that should do for now10:56
mzanettiSaviq: seems good imho10:56
mzanettiSaviq: autopilot does the same btw10:56
Saviqmzanetti, I'll build it into UnityTestCase10:57
mzanettiSaviq: while you're at it... mind moving UnityTestCase to /tests/imports/10:57
mzanettiSaviq: we're using it in unittests too now10:57
Saviqmzanetti, yup10:57
mzanettithanks10:57
Saviqhmm11:00
=== MacSlow is now known as MacSlow|lunch
kgunnhey guys11:01
Saviqmzanetti, tsdgeos hmm, plugins vs. imports vs. modules?11:02
tsdgeosSaviq: good question11:02
mzanettiSaviq: context?11:02
mzanettihey kgunn11:02
Saviqmzanetti, tsdgeos, SDK uses "modules", we use "plugins", mzanetti just mentioned "imports"11:02
Saviqhey kgunn11:03
mzanettiSaviq: are 3 different things11:03
mzanettiSaviq: a Module would be something like Ubuntu.Components11:03
mzanettiSaviq: plugins is c++ stuff loaded as a plugin into the enigne11:03
mzanettiSaviq: imports is small qml or .js file imports11:03
Saviqmzanetti, Ubuntu.Components has a plugin, too11:04
mzanettiSaviq: yeah... a module can consist of plugins and imports11:04
Saviqmzanetti, now we're talking ;)11:04
mzanettiQQuick 2.0 is a module11:04
Saviqmzanetti, so module[plugins (C++), imports (qml)]11:05
mzanettiSaviq: rule of thumb, yeah...11:05
Saviqmzanetti, but then do we want them separately in our root?11:05
Saviqthat's 3 import paths where one should generally suffice11:05
Saviqand then11:05
mzanettiSaviq: you thinking about moving the FakeHud plugin etc too?11:05
Saviqmzanetti, considering11:06
Saviqmzanetti, want to avoid duplicates11:06
Saviqmzanetti, where we, for example, need mocked Unity or something11:06
mzanettiSaviq: hmm... could make sense... could cause things I don't see now though11:06
Saviqmzanetti, so yeah that was my question, too11:06
mzanettibut yeah... I guess a mock-hud plugin could indeed be useful in some other places than the hud qmluitests11:06
Saviqshould we have /modules, /plugins /imports /tests/modules /tests/plugins /tests/imports11:06
mzanettiSaviq: doesn't sound like a friday afternoon task, but would sound like a clean solution, yeah11:07
Saviqmzanetti, lol11:07
Saviqmzanetti, you've learned something there :D11:07
mzanetti:D11:08
jussiSo, Im on Kubuntu and I have the unity webapps thing coming up on my chromium. I have 3 questions: 1. what is this?/what does it do? 2. If its useful, how do I install it (it currently gives me a html file  of a LP page when I try install it) 3. if its not useful on kubuntu, how do I get rid of it... ?11:08
mzanettijussi:+1. I think its weird that all the browsers pop up those webapps thingies when not running unity... however, I don't think #unity is the right channel to ask this :D11:10
mzanettijussi: try something like #webapps11:10
tsdgeosjussi: i don't think it does anything in kubuntu, just click "don't ask me anymore". That's what i did11:10
jussihrm, #webapps ? not seen that, but Ill give it a try...11:10
jussimzanetti: that channel doesnt exist :/11:11
jussitsdgeos: I dont have that option... :/11:11
mzanettijussi: #ubuntu-webapps11:12
tsdgeosit was there in firefox at least afair11:12
jussitsdgeos: http://i.imgur.com/tIdd2yN.png11:12
jussimzanetti: ahh, that makes sense11:12
tsdgeosok, that's definitely not what i got in firefox11:12
tsdgeosit was more combo-like11:13
tsdgeosand you could say "ignore me forever"11:13
jussiyeah, I asked in -webapps, lets see what they say11:14
tsdgeoswe have a typo in the license checker :D11:44
tsdgeosFound 1 license prolems:11:44
tsdgeosmzanetti: ↑↑ where is that code?11:44
mzanettitsdgeos: I think somewhere in tests/11:45
mzanettitsdgeos: depends... we have 2 license checkers11:45
tsdgeosreally? grep sound nothing11:45
tsdgeosmay it be the jenkins one?11:45
mzanettitsdgeos: one in jenkins that runs before the build11:45
tsdgeosthat one11:45
mzanettitsdgeos: and one in the tests from Michi11:45
mzanettitsdgeos:  lp:ps-qa-tools11:46
mzanettitsdgeos: where is the typo?11:47
tsdgeos"Found 1 license prolems:"11:47
mzanettihehe... right11:47
tsdgeoshttps://jenkins.qa.ubuntu.com/job/unity-phablet-quantal-armhf-ci/498/console11:47
tsdgeosmaybe it was fixed11:47
mzanettitsdgeos: http://10.97.9.46/hooks/A10checklicenseheaders11:47
mzanettinope11:47
tsdgeosgrep doensn't find it there either11:47
tsdgeosthere = ps-qa-tools11:48
mzanettitsdgeos: then lp:pbuilderjenkins11:48
mzanettisorry11:48
tsdgeosmzanetti: https://code.launchpad.net/~aacid/pbuilderjenkins/fix_typo/+merge/15857211:50
tsdgeosdednick: something weird happened in https://code.launchpad.net/~nick-dedekind/unity/phablet-test-panel/+merge/15792711:50
tsdgeosit says you removed and added tests/qmluitests/Panel/qml/CMakeLists.txt :D11:51
mzanettitsdgeos: I guess you don't mind if it takes a week or two until it is actually installed on all jenkins nodes?11:51
mzanettitsdgeos: otherwise you would need to make a release11:51
tsdgeosmzanetti: lol no11:51
tsdgeoscan't live without that fixed11:51
paulliumzanetti: hi11:51
tsdgeostickling my inner mind11:51
tsdgeosj/k11:51
tsdgeosi was just doing something for 3 min before lunch is ready11:52
mzanettipaulliu: hey. I just wanted to ask on where you stand with the IndicatorMenuWindow tests to avoid conflicts11:52
mzanettipaulliu: but I've found your branch11:52
mzanettipaulliu: I'm writing tests for Panel/Menus/Overview* right now.11:53
paulliumzanetti: ok11:53
seb128Trevinho, btw, want to use https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/961680 for the tomboy issue (you told me to open a bug yesterday)?11:56
ubot5Launchpad bug 961680 in tomboy (Ubuntu) "New note window (when clicking "Create New Note" from indicator icon) sometimes doesn't take focus" [Undecided,New]11:56
Trevinhoseb128: ah, yeh... it would be nice if we could track all these issues on bug 62719511:57
ubot5bug 627195 in Ubuntu One Client "Window management - Apps raised from indicators sometimes dont have the focus" [Undecided,In progress] https://launchpad.net/bugs/62719511:57
seb128Trevinho, wfm11:57
=== _salem is now known as salem_
jussisigh, frustrating that there isnt anyone awake in -webapps. perhaps Ill have better luck in US wake up time12:13
Trevinhoseb128: this is an hackish way yo get the click event timestamp, though: http://paste.ubuntu.com/5701235/ :)12:14
seb128Trevinho, nice little hack ;-)12:15
Trevinhoseb128: in theory the only other way we have is use gtk_main_do_event and using it it in lidbusmenu to activate the gtk-menu used in the libappindicator (so that gtk_get_current_event_time will work)... the problem is that building a nice fake event that bypassess the gtk checks is not that easy...12:17
Trevinhoseb128: gtk activate should include a timestamp parameter... that would fix things for good12:17
seb128right12:18
dednickSaviq: was just about to get onto another test case and was going to take a look at DashContent. Says to talk to you first?12:18
mzanettianyone up for a test review? https://code.launchpad.net/~mzanetti/unity/phablet.test-indicators-overview/+merge/15858712:23
dednickmzanetti: sure12:28
dandraderSaviq, need your approval here: https://code.launchpad.net/~dandrader/unity/phablet_improve_cmake_add_qml_test/+merge/15838612:31
Saviqdandrader, you don't exactly need mine :D12:32
=== MacSlow|lunch is now known as MacSlow
dednickmzanetti: done. comment added.12:44
Saviqdednick, hey, now that I look at it again, when you provide a mock Lenses object to it12:49
Saviqdednick, should be fairly testable12:49
dednickSaviq: yep. that's what i thought as well.12:49
Saviqdednick, so yeah, have at it12:50
dandradermzanetti, https://code.launchpad.net/~dandrader/unity/phablet_improve_cmake_add_qml_test/+merge/158386 got time to check this? :)12:53
mzanettidandrader: yes13:04
dandradermzanetti, thanks!13:04
dandraderthis is a pre-req for another merge proposal that is pending13:04
mzanettidednick: good catch! thanks. fixed13:08
Saviqdandrader, some minor nitpicks13:08
mzanettiSaviq: oh... you have it already. should I still review or did you a complete review already?13:09
Saviqmzanetti, yeah, it's done13:09
mzanettiCimi: you around?13:10
Cimimzanetti, yup13:10
mzanettiCimi: there are a couple of MPs from you in the queue that are waiting to be fixed13:10
mzanettihttps://code.launchpad.net/~unity-team/unity/phablet.test_IndicatorItem/+merge/15791913:10
mzanettihttps://code.launchpad.net/~unity-team/unity/phablet.test_greeter-clock/+merge/15785913:10
Cimiok13:11
Cimiwill do now13:11
hyperairi hear that the launcher can be resized to 8px now13:12
hyperairis that true?13:12
Cimimzanetti, first one pushed13:15
Cimialso the latter13:17
dandraderSaviq, done13:19
mzanettiCimi: first one approved13:19
Saviqdandrader, I meant there's a rogue space before "${ARGN}"13:20
dandraderSaviq, ah, right13:20
dandraderSaviq, fixed13:21
Saviqdandrader, cheers13:21
excalibr>now that you can resize launcher icon size to min of 8 pxl, why the change hasnt been reflected on the slider opt in Appearance applet?13:22
excalibr>i hate that my custom launcher size always get reset to 32px everytime i open the applet to change wallpaper13:22
mzanettiCimi: on the second one... would you mind fixing lines 42 - 4413:22
excalibrhope that is just oversight and will be fixed in daily updates13:25
excalibror should i file a bug report on that?13:25
mzanettiexcalibr: yeah, sounds like a bug13:29
mzanettiexcalibr: better report if you want it to be fixed anytime soon13:30
excalibrwhich package should i file it under?13:31
mzanettiexcalibr: the package where the broken slider comes from13:32
Saviqtsdgeos, standup?13:33
Saviqgreyback, ^13:33
Cimimzanetti, what's that?13:34
Cimido we have a new line here?13:34
mzanettiCimi: every file should end with a newline13:35
excalibrmzanetti: i think it's gnome-control-center-unity13:37
mzanettiCimi: and your merge removed it13:37
excalibrk. filling a bug report now, hopefully someone will notice it13:37
Cimimzanetti, done13:38
Cimimzanetti, curiosity, why is that needed?13:38
mzanettiCimi: I'll explain after the standup13:38
Cimiok13:38
dednickCimi: ah, i see your name is against it in the test blueprint.13:48
Cimidednick, https://code.launchpad.net/~unity-team/unity/phablet.dashBar_bottomswipe/+merge/15084713:49
mzanettiCimi: so.... As I wrote in the MP, this most likely wouldn't harm us in a CMakeLists.txt.13:49
mzanettiCimi:  but the rationale behind it is this:13:49
mzanettiimmagine a foo.h file that contains a class definition but no newline at the end13:50
mzanettinow the according .cpp file does this:13:50
mzanetti #include foo.h13:50
mzanetti#include bar.h13:50
mzanettiif foo.h does not have a newline at the end the result after preprocessing would look like13:51
mzanetti };#include bar.h13:51
paulliuok, then I'll start working on DashPeople.qml13:51
paulliutest for DashPeople.qml.13:51
mzanettipaulliu: cool. make sure to put it into the blueprint and the doc13:51
mzanettiCimi: understood?13:51
paulliuok13:52
Cimimzanetti, yep! thx13:52
excalibrhttps://bugs.launchpad.net/ubuntu/+source/gnome-control-center-unity/+bug/116840913:54
excalibrdone13:54
dednickmzanetti: regarding your coverage review doc. Should we be updating that as we write the tests?13:55
didrocksfginther: hey, around?13:55
fgintherdidrocks, morning13:55
didrocksfginther: how are you?13:56
fgintherdidrocks, excellent, just found the gensymbols problem13:56
didrocksfginther: ah, was about to ask you if you saw it :)13:56
didrocksfginther: there were still some sedding somewhere? are we sure everything is nuked now?13:57
didrocksdead and burried ;)13:57
ubot5Launchpad bug 1168409 in gnome-control-center-unity (Ubuntu) "Min slider value for launcher icon size needs to be updated" [Undecided,New]13:57
didrockswaow, ubot5 with almost 3 minutes a lag ;)13:57
fgintherdidrocks, the 100scopes stack had that in there, Looking at it, I think it's just a copy and paste error13:57
dednickCimi: You need some help with the Unity plugin?13:58
Cimidednick, yup13:58
Cimidednick, do you need the plugin too?13:59
dednickCimi: ya. i need lens related objects14:00
dednickhavent looked into it much, but i'm guessing Lenses & Lens14:00
Cimiyes14:01
Cimidednick, I suppose we need to copy the files from the real unity plugins, for those two objects, and fake everything that is real?14:01
dednickCimi: not really sure. I was able to get away with just using qml objects for the Indicator tests for the most part. So it might be easier not to use the c++ objects. Would be easier to control the test data as well.14:04
Cimimmm14:04
mzanettidednick: please... no need to be precise... just drop in your name if you started something to avoid collisions14:04
dednickie for Lenses just use a ListModel14:04
=== rsalveti is now known as Rsalveti_
=== Rsalveti_ is now known as rsalveti
Cimidednick, but for lens we need other things14:05
Cimimaybe14:05
dednickCimi: i think as long as the object can be modelled in qml we should try stick with that. you can still have functions and such on the objects. But if it does start to get complicated then may need to use c++.14:07
dednickCimi: unless you've done it all already :)14:07
Cimiok14:07
CimiI might try doing a Lens14:07
Ciminope14:07
Cimi:D14:07
dednickit also means you dont have to recompile every time you test ;)14:08
Cimidednick, even more14:12
Cimidednick, it means I don't have to write c++ :)14:12
dednickhehe14:12
CimiI need a tea or I sleep on the chair14:13
Cimiit has been an intense week14:13
dednickCimi: actually, looking at the code i think we may be out of luck. lenses needs to return objects. dont think we can do that with ListElements14:15
dednickso c++ might be the way :(14:16
Cimidednick, do we need those objects?14:16
dednickyeah. lens.14:16
Cimidednick, and we can't have a Lens property?14:17
Cimiinside lenses?14:17
dednickit's the ListElement that requires the property. and i dont believe so14:17
dednickCimi:  have you got a plugin working? or shall i write a quick plugin and we can add the necessary to that?14:21
Cimidednick, the latter14:21
dednickok.14:21
CimiI can write a quickplugin too14:21
Cimibut empty14:21
=== hggdh_ is now known as hggdh
didrockssil2100: hey, do you need some afternoon check? :)14:34
dednickCimi: lp:~nick-dedekind/unity/phablet.fake-unity-plugin14:46
tsdgeosmzanetti: easy one https://code.launchpad.net/~unity-team/unity/remove_roleschanged_signal/+merge/15863414:46
mzanettitsdgeos: approved14:47
greybackSaviq: oops, completely forgot, I was afk. Sorry14:48
dednickCimi: for anything in the dash test folder that you want to run using qmlscene or the test runner, you need to do "QML2_IMPORT_PATH=../../../builddir/tests/qmluitests/Dash/qml/"14:49
dednickCimi if you want to add a qmluitest in the makefile, you need to "add_qml_test(TestName IMPORT_PATH ${CMAKE_CURRENT_BINARY_DIR}/qml)"14:49
sil2100didrocks: will get back to you in an hour, ok :) ?14:49
didrockssil2100: I will probably go EOW in an hour14:49
didrockssil2100: did you get any issue? since this morning? I thought that would take a couple of hours at most TBH14:50
sil2100didrocks: no, it's all fine, it builds and installs on the chroot, been consulting all other steps, since there are no tests in this branch14:54
sil2100didrocks: ah, and btw. a dh_install in the dh_override_auto_install is not needed it seems!14:55
sil2100didrocks: it calls dh_install anyway ;)14:55
Cimidednick, next time push to ~unity-team14:55
sil2100Even when dh_auto_install is not called anyway14:55
didrockssil2100: I still want something with --fail-missing :)14:55
didrockssil2100: I guess it's the script that we can doing that ;)14:55
dednickCimi: ah. yeah i'll do that.14:55
dednickCimi: updated14:56
sil2100didrocks: yes, --fail-missing is added and working!14:58
sil2100didrocks: there were some files missing though ;p14:58
didrockssil2100: great! :)14:58
didrockssil2100: needing any other help? do you think you will finish in the next hour?14:58
mzanettigreyback: I've approved this but now there's a conflict in autolanding: https://code.launchpad.net/~gerboland/unity/lvwph-tests/+merge/15833614:58
greybackmzanetti: am on it14:59
dednickCimi: updated15:02
dednickfek15:02
greybackmzanetti: ok fix pushed15:02
mzanettigreyback: ack. I'll recheck15:02
sil2100didrocks: I'll be filling a merge request this very moment, since I'm afraid there will be anyway some modifications requested from reviewers ;)15:03
didrockssil2100: ok ;)15:04
mzanettigreyback: something seems to have gone wrong... tst_FilterGrid is not passing on your branch any more15:05
greybackmzanetti: hmmm, let me try15:06
dandraderwhen use run_on_device, most of the time qml-phone-shell crashes a couple of seconds after start up (while it's still loading date and filling up dash). I have to try it a couple of times to get it to finish its initialization successfully15:07
dandraderdo you guys experience this as well?15:07
dandraders/loading date/loading data15:07
mzanettidandrader: I have this on the desktop... gdb doesn't print too much useful stuff15:08
dandradermzanetti, hmm, on my desktop it doesn't crash.15:09
mzanettidandrader: it does here around 50% of the times when I launch it with no arguments15:09
mzanettidandrader: when I pass -geometry with some large values, it doesn't happen any more15:09
dandradermzanetti, but you don't get any crash with run_on_device?15:09
greybackmzanetti: fix pushed. Bad merge by me15:09
mzanettidandrader: to be honest I didn't try in a while. but I remember that when this started on the desktop for me, the device didn't show it15:10
greybackdandrader: I get it sometimes too yes. Do you have applications running on the phone? Sometimes I think that's related15:10
mzanettigreyback: so once more testing proved useful :)15:10
dandradergreyback, not that I'm aware of15:10
dandraders/not/nothing15:11
greybackmzanetti: :P15:11
=== dandrader is now known as dandrader|afk
mzanettigreyback: ok. approved. cheers15:13
greybackmzanetti: thank you15:13
mzanettiCimi: seems you're out of luck... yet another conflict: https://jenkins.qa.ubuntu.com/job/unity-phablet-quantal-armhf-autolanding/198/console15:26
=== dandrader|afk is now known as dandrader
Cimimzanetti, fixed15:28
sil2100didrocks: ah, shit, the MR link:15:37
sil2100https://code.launchpad.net/~sil2100/android-audiosystem/packaging_review/+merge/15864715:37
didrockssil2100: really minor comments done :)15:45
didrockssil2100: we can add that afterwards :)15:46
didrockssil2100: think about filing the spreadsheet if you didn't yet15:46
sil2100didrocks: filled in the relevant parts, trying to find a solution to the no-tests-executed15:46
didrocksgreat! ;)15:47
sil2100didrocks: hm, but from what I see dh_clean is executed? I mean, in the buildlog I see dh_clean mentioned15:54
didrockssil2100: dh_clean and not dh clean, right?15:54
sil2100dh clean as well15:55
sil2100dpkg-buildpackage: host architecture armhf15:55
sil2100 fakeroot debian/rules clean15:55
sil2100dh clean15:55
sil2100   dh_testdir15:55
sil2100   debian/rules override_dh_auto_clean15:55
sil2100And dh_clean somewhere later15:56
didrockssil2100: ok, fine with me then :)15:56
sil2100But looking at the copyright to make sure15:56
sil2100didrocks: never made the bootstrapping commit, so tell me if that's how you do it if there are UNRELEASED changes in the changelog16:04
didrockssil2100: you pushed?16:05
didrocksok, looking :)16:05
didrockssil2100: perfect!16:05
didrockssil2100: once you have checked the copyright, tell me, I'll top approve :)16:06
didrockssil2100: ah also, something else to check, the build-dep, that they are correct ;)16:06
sil2100didrocks: I checked if they're in main, but will check if all build-deps are needed ;) As for the copyright, it seems correct, at least LGPL for the 2 directories as listed and apache for everything else16:08
sil2100I saw a few files with UNKNOWN licenses, but that's fine?16:08
didrockssil2100: open them16:09
didrockssil2100: sometimes, they are manually written and licencecheck doesn't catch them16:09
didrockssil2100: also, check the authors (hence the --copyright)16:09
didrockssil2100: if nothing is told, there are considered under the same license than other files in the directory they are in16:10
sil2100Ah ha! Found some small ones16:13
didrocks:)16:13
sil2100didrocks: what's the short version of a BSD version?16:22
didrockssil2100: I see http://paste.ubuntu.com/5701911/ quite frequently16:23
Mirvdidrocks: just a quick note that if jstrand didn't ping you, he updated the skype bug report bug #1155327 that he isn't blocking the workaround16:23
ubot5bug 1155327 in skype (Ubuntu Raring) "skype crashed with SIGSEGV in malloc@plt()" [High,In progress] https://launchpad.net/bugs/115532716:23
didrocksMirv: oh great! yeah, I didn't get any ping :)16:23
didrocksMirv: do you know where we can that in for the skype package?16:24
didrocksMirv: because we don't have it in the repo?16:24
didrocksI think it's only in the microsoft package, isn't it?16:25
didrocksah, steve will take care of the partner archive, great :)16:26
sil2100didrocks: pushed a copyright mod ;)16:28
didrockssil2100: trusting you (we'll do another review when NEWing anyway as files will certainly change)16:28
didrockssil2100: build-deps are ok?16:28
=== dandrader is now known as dandrader|lunch
Mirvdidrocks: yes, steve commented about it it seems16:30
sil2100didrocks: yep! Build-deps checked now16:31
sil2100All ok16:31
didrockssil2100: approved! :)16:32
didrockssil2100: let's put it in the daily release system on Monday16:32
didrockssil2100: and ensure you filed everything in the spreadsheet :)16:33
sil2100didrocks: as for the tests, there are no tests there and as I discussed with the developers, it seems it might not make sense to work on adding them since the package will be obsolate anyway16:34
didrockssil2100: see the note I added on the spreadsheet :)16:34
sil2100didrocks: ah, thanks ;) I was trying to access my pandaboard at home for testing remotely, but it seems I wasn't really prepared for that16:35
sil2100So I'll simply install it on it tomorrow once I'm back16:35
didrockssil2100: sounds good :)16:35
didrockssil2100: so yeah, let's add it to a stack together on Monday16:36
sil2100\o/16:41
=== jhodapp is now known as jhodapp|brb
=== jhodapp|brb is now known as jhodapp
dednickCimi: didnt see you there. I just sent you an email. I've updated the branch with a lenses model.17:16
dednickdoenst do much at the moment. just contains some static lens objects which don't do anything.17:17
dednickalso added some test lens views for the DashContent tests.17:17
=== dandrader|lunch is now known as dandrader
dandraderkgunn, is there any document or video showing how the tablet version of unity should look like? specially the side stage thing18:08
kgunndandrader: let me dig a little....& Katie is owner of this from design18:16
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
kgunndandrader: ~6:10 in this video http://www.youtube.com/watch?v=Z5kGaIRCRKA18:19
dandraderkgunn, thanks@18:20
dandrader!18:20
kgunndandrader: and the doc https://docs.google.com/a/canonical.com/document/d/1rMiiF_hRoV6SkOhau7UQRf6mAUHhnjKVVrZmdEYp3Uw/edit?usp=drive_web18:21
fginthercyphermox, if you're not too busy, I finally have the qa stack fully transitioned: https://code.launchpad.net/~fginther/cupstream2distro-config/qa-stack-update/+merge/15819719:05
cyphermoxawesome!19:06
cyphermoxreviewed.19:08
=== dandrader is now known as dandrader|afk
=== jhodapp is now known as jhodapp|bbiab
=== dandrader|afk is now known as dandrader
=== jhodapp|bbiab is now known as jhodapp
=== hggdh_ is now known as hggdh
=== salem_ is now known as _salem
=== eeanm is now known as eean

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