/srv/irclogs.ubuntu.com/2013/09/02/#ubuntu-unity.txt

=== duflu_ is now known as duflu
=== duflu_ is now known as duflu
Mirvnot sure who are around today, not the US folks at least, but filed a bug about autopilot tests for the unity(7) stack bug #121963605:00
ubot5bug 1219636 in Unity "unity autopilot tests fails to move mouse, leading to infinite test run" [Critical,New] https://launchpad.net/bugs/121963605:00
Mirvbregma: ^ (when you're around, it seems that bug is here to stay for now ie. not random)05:01
veebersMirv: I'm approaching EOD but I can take a quick look. To confirm, if I had a VM to try and reproduce on I would add the ppa 'ppa:ubuntu-unity/daily-build' and dist-upgrade ?05:14
Mirvveebers: yes, that's the correct PPA05:16
veebersMirv: cheers05:16
veebersMirv: hey, re: the test and the mouse move, was there a video for that failing test?05:40
veebersMirv: Failing me being able to re-produce the bug, there should probably be checks in autopilot for infinite mouse movement loops (I thought there was already)05:44
veebersif not today, I'll propose something for autopilot adding that05:44
Mirvveebers: no video, I just checked that not even with the one run that ran for 7200 seconds until it self-aborted (http://10.97.0.1:8080/job/autopilot-saucy-daily_release/1483/label=autopilot-intel/)06:19
Mirv(and sorry, some flakiness in Internet connection today06:19
veebersMirv: nw, cheers06:25
mzanettiseb128: hi08:22
mzanettiseb128: what do you think about my reply on the mail?08:22
seb128mzanetti, hey08:22
seb128mzanetti, we already have a way to customize defaults, that's https://launchpad.net/ubuntu/+source/ubuntu-settings08:22
mzanettiseb128: so we 'd need a second version of this package for touch, right?08:24
seb128mzanetti, if we want different defaults on touch and ubuntu yes08:26
seb128mzanetti, but I though the goal was convergence, having one image, same device being a phone and desktop once docked08:26
mzanettiseb128: I really need that for the phone08:26
mzanettiseb128: so you're saying we should either have libreoffice on the phone's launcher or remove it from the desktop one?08:27
seb128yes08:27
seb128what happen to your phone once docked08:27
seb128do you expect libreoffice to appear then?08:27
mzanettiand what about the dialer app? have that in the desktop launchers all the time?08:27
seb128well, the issue your describe there is not as easy as "default"08:28
seb128you want to launcher content to change depending on the screen resolution08:28
seb128and the hardware available08:28
seb128and the docking status08:28
seb128the launcher content*08:28
seb128you don't want libreoffice on your phone launcher08:29
seb128but once you dock that phone it becomes a desktop08:29
mzanettiseb128: no... I don't want the launcher's content to change when the screen resolution changes08:29
seb128then you want it08:29
seb128so you converged desktop wouldn't have libreoffice when used in desktop mode?08:29
seb128converged device*08:29
mzanettiseb128:  no08:29
seb128why not?08:30
seb128that seems buggy08:30
mzanettiwell, it's there and can launch it, but not in the launcher as pinned app08:30
mzanettiunless I pin it myself in there.08:30
seb128why not? we have it on the desktop today as pinned08:30
seb128that seems like a desktop regression08:30
mzanettiseb128: I only want to ship that config on phones08:30
seb128there is no "phones"08:30
mzanettithere is08:31
seb128there is a convergence story08:31
seb128on day your phone is going to be a desktop once docked08:31
seb128one day*08:31
mzanettiyes.... but still we ship it as a phone08:31
mzanettiand there we don't want libreoffice in the launcher08:31
seb128with a desktop...08:31
mzanettiif the user goes home, docks it and drags office to the panel. fine08:32
seb128the desktop should be full featured and similar to our current desktop once used as a desktop08:32
seb128you are making desktop users second class citizen there08:32
seb128saying "let's make the desktop experience less good, if they want they can fix it themself by hand"08:32
mzanettino... if you install your pc at home you will have that stuff in there08:33
mzanettibut you won't have the phone app08:33
seb128that's not really convergence08:33
seb128that's having 2 OS, 2 images08:33
mzanettinot 2 images08:33
seb128that's not what we are aiming for08:33
mzanettijust 2 different sets of configs08:33
mzanettidefault configs08:33
seb128right, so 2 images08:33
seb128one with a desktop config and one with a phone config08:33
mzanettiyes... we weill have multiple images anyway08:33
seb128that's a fail if we get there imho08:34
seb128but anyway, that's not for v1 in any case08:34
mzanettiwe already have multiple images now. 4 for the desktop + 4 for the phone btw08:34
seb128no, we have 1 for the desktop08:34
seb128on different archs08:34
greybackwhy not ship 1 image, with multiple configs available, including configs for each platform we support, and the config is dynamically chosen by shell at runtime08:36
seb128mzanetti, well, anyway, I'm pretty sure some people have been asking for dynamic configs key, where the value change according to the form factor08:36
seb128mzanetti, e.g Saviq asked for gsettings key where you can have a value for phone mode and one for desktop mode and where the value you get changes once you dock the device08:37
seb128but that's another discussion08:37
mzanetti*that* is violating convergence imho08:37
seb128mzanetti, let's start with the ubuntu-touch-settings08:37
seb128mzanetti, the problem with those -settings approch, is that they conflicts, you can't install 2 overrides, you have to pick 1 (or 1 win at the end anyway)08:38
seb128so you that defeats convergence goal as well08:38
seb128mzanetti, can you send me a list of keys you want changed, I'm going to upload that ubuntu-touch-settings today08:38
greybackmzanetti: hey, for tablet, since we can have 2 applications open simultaneously and both have "focus", the launcher will then indicate both apps are focused, right?08:45
mzanettiseb128: sent you a mail08:45
mzanettigreyback: I'd say yes08:45
seb128mzanetti, thanks08:45
mzanettigreyback: are they really both focused?08:45
seb128mzanetti, no background image change?08:45
mzanetti?08:45
mzanettiseb128: which background?08:46
seb128mzanetti, org.gnome.desktop.background picture-uri08:46
seb128unity wallpaper image08:46
mzanettigreyback: I don't think we need to change that one, do we?08:46
seb128we currently rely on the code fallback, because the default image is invalid08:46
mzanettierr... seb128^08:46
greybackmzanetti: not really. Keyboard input only goes to one08:46
mzanettigreyback: yeah. that's what I meant08:47
greybackmzanetti: it does maybe introduce a tiny bit of confusion, as the model can have 2 "focused" applications, but yet there's only one "focusedApplication"08:47
mzanettigreyback: not an issue imho... need to state it clears in the api docs tho08:48
mzanetticlearly08:48
greybackmzanetti: yep that'd work. Was considering renaming the model role to "active" just to make clearer divide between the concepts08:49
mzanettiseb128: hmm... do I need to know background image thingie today? I guess it would require shipping the image with the other background pictures etc08:49
seb128mzanetti, no, that's fine, let's start by just the launcher config08:50
mzanettigreyback: would be fine with that too.08:50
mzanettiseb128: thanks08:50
seb128yw08:50
seb128mhr3, hey08:50
mzanettiseb128: you will just install some override for it, right?08:50
seb128mzanetti, correct08:50
mzanettiawesome08:50
seb128mzanetti, same as ubuntu-settings is doing on the desktop08:51
seb128with a different config08:51
* mzanetti doesn't really know much about dconf08:51
seb128don't worry about it, it's going to just work ;-)08:51
mzanettithat was my plan :)08:52
tsdgeospstolowski: ok, i can repro some of the problem in my testcase and it's LVWPH specific (at least this one)08:56
tsdgeospstolowski: having a look08:56
* greyback has errand to run, back in about an hour09:02
mhr3seb128, morning09:02
seb128mhr3, hey, how are you?09:04
mhr3seb128, not bad, not bad, but you know... monday... need to kickstart yourself :)09:06
seb128mhr3, hehe, don't tell me!09:06
seb128mhr3, I've a bug for you, maybe that can help to kickstart ;-)09:06
seb128mhr3, my lenses are showing untranslated in unity7 ... is that a known issue?09:07
mhr3seb128, all of them?09:10
mhr3i was actually doing some po fixes in home scope09:10
mhr3so i wonder if i actually broke it09:11
mhr3seb128, or was it not working for a while?09:11
pstolowskitsdgeos: ok, thanks for update!09:12
seb128mhr3, yeah, none is translated it seems, and dunno when that started, I tend to not be too picky about having english on my screen09:15
seb128mhr3, where are the strings supposed to come from?09:15
seb128mhr3, e.g "gettext -d unity-lens-applications "Installed"" returns a french string09:16
seb128but it's showing in english in the UI09:16
mhr3seb128, home scope09:16
seb128mhr3, but applications.scope has Domain=unity-lens-applications09:18
mhr3seb128, but what you see is coming from the master scope, and that is defined in home-scope09:19
seb128mhr3, ok, I guess that's the problem then, those strings are not translated there09:22
mhr3seb128, yey, i just successfully delegated stuff to translator team :)09:22
seb128lol09:23
=== jamesh_ is now known as jamesh
seb128mzanetti, https://launchpad.net/ubuntu/+source/ubuntu-settings/13.10.410:18
seb128mzanetti, just installing unity-touch-settings should give you the launcher defaults10:19
seb128mzanetti, wget https://launchpad.net/ubuntu/+source/ubuntu-settings/13.10.4/+build/4926146/+files/ubuntu-touch-settings_13.10.4_all.deb if you want to try it10:19
=== mpt_ is now known as mpt
tsdgeospstolowski: ok, i've found the two problems, there was one in LVWPH and another in GenereicScopeView10:25
tsdgeosthe one in GenereicScopeView i'm not sure i've fixed properly yet10:26
pstolowskitsdgeos: awesome10:26
dednicklarsu: good morning.10:47
mzanettigreyback: what do you think where the desktop file parser should be located?10:56
mzanettigreyback: or better: where do you need to use it from?10:56
greybackmzanetti: I use it in unity-mir, in the application manager.10:57
greybackmzanetti: separate library with it's own package would be nicest IMO10:57
mzanettiprobably, yes...10:58
mzanettiWellark: ^10:58
Wellarkgreyback, mzanetti: we would not want to introduce gazillion of small libraries, though..11:01
Wellarkon their own packages that is11:01
Wellarkgreyback: could it live in ubuntu-mir?11:01
mzanettiall the other projects I know are splitting their code into gazillions of small libraries right now11:02
Wellarkabove should be "on their own *source* packages"11:02
Wellarkbinary packages are ok11:02
greybackWellark: it doesn't quite belong to unity-mir, as reading desktop files not a mir specific request. And other tools like ubuntu-software-center might want to be able to read desktop files maybe?11:04
larsudednick: hi!11:06
dednicklarsu: hi. just wanted to follow up on that messaging action issue i was having.11:09
larsudednick: ah right, I applied that but never commites/pushed. Sorry about that.11:11
larsudednick: https://code.launchpad.net/~larsu/indicator-messages/remove-root-parameter/+merge/18342611:12
dednicklarsu: cool. Anything about why reply isnt working?11:19
larsudednick: that's next on my list, currently trying to figure out #121767611:20
dednicklarsu: that may be something in the unity8 side.11:22
dednicklarsu: i think the qmenumodels unity8 "flattening" model is resetting when you add-remove messages.11:23
dednickcould be what's causing it11:23
dednicklarsu: a problem which should be sidestepped in the unitymenumodel version.11:25
larsudednick: yeah I had the feeling this could be it, but I'm not seeing it with qmenumodel when running on my desktop.11:26
larsudednick: I just made sure though, the service definitely doesn't clear the items. Let me try with your branch11:27
dednicklarsu: i'm not sure the clear will work with my branch (i think it may suffer same problem as reply)11:28
dednicklarsu: it will remove the item from the list, but may not actually call into the backend.11:29
larsudednick: heh, I guess I'll be looking into that issue first, then :)11:30
dednicklarsu: see what i did there? ;) tricked you into doing that first. haha11:30
larsuhaha, clever ;)11:31
mzanettiseb128: I've tested your package. works fine11:33
seb128mzanetti, great11:33
mzanettiseb128: is this already in the image? or when will it land?11:33
seb128mzanetti, it needs to be seeded11:33
mzanettithat means in terms of timeline?11:33
mzanetti> a week?11:33
seb128mzanetti, no, today11:33
mzanettiah. perfect11:34
seb128I'm pinging ogra to get seeded, then it's going to be on the next image build11:34
mzanettiseb128: I'll put you on the reviewers of this: https://code.launchpad.net/~mzanetti/unity8/launcher-defaults-from-dconf/+merge/18342011:36
mzanettiseb128: once the defaults have landed you can approve11:36
mzanettiWellark: I think I'm done: https://code.launchpad.net/~mzanetti/unity8/launcher-defaults-from-dconf/+merge/18342011:37
seb128mzanetti, ok11:37
seb128mzanetti, so resetting the launcher config (we need to do that in system setting) would be basically resetting the gsettings key and calling that dbus command?11:40
mzanettiseb128: yep11:40
mzanettiseb128: it might slightly change once saviq is back, but I'll keep you updated11:41
seb128mzanetti, thanks11:41
=== hikiko is now known as hikiko|lunch
larsudednick: your branch doesn't build for me: dh_install: unity8 missing files (usr/share/unity8/unity/indicators/*), aborting11:51
larsudednick: the build directory contains a working unity8 binary, but running that doesn't show the messaging menu at al11:51
larsu*all11:51
dednicklarsu: um. give me a sec11:52
larsudednick: oh, it does! It's the icon that is missing )11:53
dednicklarsu:  :)11:53
dednicklarsu: the dh_install should be fixed now. pull latest11:55
larsudednick: thanks12:00
mzanettiom26er: hi12:01
om26ermzanetti, hello12:02
mzanettiom26er: just had a jenkins failure on the phone again but recalled that we already had seen this: https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-maguro/402/console12:02
om26ermzanetti, yep, internet problem it seems12:02
mzanettiom26er: I think we should use network over usb12:02
om26erwe could check with other guys what they are using to connect to the internet in the lab. e.g. in utah. I directly call nmcli they might be doing something different since I never heard any problem from them12:03
om26ermzanetti, I was hoping that change would get merged in phablet-tools but didn't seem to happen, I do know there was a branch for that but never merged12:04
mzanettiom26er: well... wifi is still wifi... for tests I'd recommend going through usb12:04
mzanettiom26er: unless explicitly testing wifi12:04
mzanettiom26er: this should explain how that works: losca.blogspot.com/2013/05/network-from-laptop-to-android-device.html12:05
om26ermzanetti, I'll try that locally here and see how it goes12:05
mzanettiom26er: actually you don't even need all that stuff... just set the PC as the default gateway on the phone and enable masquerading and ip_forward on the PC12:06
om26ermzanetti, translate that into command please :)12:06
mzanettiom26er: first of all you need to make sure TCP/IP through adb12:07
=== alan_g is now known as alan_g|lunch
mzanettiom26er: adb forward tcp:2222 tcp:2212:08
mzanettifor example12:08
mzanettiah no... that won't work12:09
mzanettiit only does port 22 obviously12:09
mzanettiwe need all of them12:09
greybackMirv: ping12:09
mzanettiom26er: I guess you need all that howto.12:10
om26ermzanetti, right, experimenting with that an a bit of the web12:11
mzanettiom26er: let me know if you have troubles. also, Mirv is the one that wrote this howto12:11
om26erthere is this post as well http://qa.ubuntu.com/2013/07/24/internet-over-usb-on-ubuntu-touch-devices/12:11
mzanettiom26er: yeah... looks mostly the same, except Mirv uses more low-level commands12:12
larsudednick: hm, I'm not even seeing HeroMessage.onItemRemoved being called...12:12
larsudednick: well, if "print('..');" does what I hope it does ;)12:12
dednicklarsu: erm. give me a sec12:13
om26ermzanetti, regarding Mirv script isn't that giving a static IP which will rather result in a IP conflict between devices on the same network12:13
mzanettiom26er: yeah, well. I guess needs to be adjusted a little for our szenario.12:14
dednicklarsu: i dont suppose you ship that script to add messages on desktop with the indicator?12:15
larsudednick: no, mine is in a constant state of change. But you can use bfiller's, it's attach to bug #121767612:16
ubot5bug 1217676 in unity8 (Ubuntu) "performing action on menu incorrectly clears and reloads menu" [High,Confirmed] https://launchpad.net/bugs/121767612:16
Mirvgreyback: pong12:16
larsudednick: you might need to change the desktop files in there to other apps if you don't have the phone apps installed12:16
dednicklarsu: ok. thanks12:17
greybackMirv: hey. I was looking into the qtubuntu fail to build on x86. I see that the contents of qtbase/src/platformsupport/eglconvenience are not being compiled into qtbase for x86, yet the header files are being shipped. I think eglConvenience is useful on desktop too.12:18
dednicklarsu: mine is outputting. does your message not dissapear?12:18
dednicklarsu: try using use console.log("...")12:18
larsudednick: same problem. I also don't see the Activate() call on the bus...12:21
larsudednick: the message disappears12:21
dednicklarsu: if the message dissapears then the onItemRemoved should be called. The Activate might not be going out because the action doesnt exist.12:22
Mirvgreyback: ok. the configuration hasn't changed from 5.0.x, but I wonder if that's a necessary evil from using -opengl desktop instead of -opengl es2 in configuration12:22
dednicklarsu: did you ./build after you made the qml change?12:23
dednickthe plugins need to be built as they get copied into the build folder during compile.12:23
larsudednick: ya, I just noticed that (I'm in a build area and thought I wouldn't need to rebuild in there)12:24
greybackMirv: quite possible. Things that need the qeglConvenience stuff are QPA plugins (like qtubuntu), which are platform specific. You cannot enable both GL types in the build?12:25
Mirvgreyback: the -opengl switch at least is either or, no possibility of defining both12:26
dednicklarsu: still not getting the log statements? you're not greping for the output are you?12:27
mzanettikatie: hi12:27
larsudednick: I'm getting them now that I'm editing the right files :)12:27
dednicklarsu: ah :)12:27
mzanettikatie: can you please give an answer here when you have a minute: https://code.launchpad.net/~mhall119/unity8/finish-tour/+merge/18303712:29
greybackMirv: I'm very curious how/why this changed since 5.0. But it must be a bug that the header files for it are being shipped12:30
Mirvgreyback: yeah. that might be a bug indeed, upstream though, as --fail-missing makes sure that anything upstream installs gets into the packages12:33
katiemzanetti, sure.. just looking now :)12:36
=== hikiko|lunch is now known as hikiko
larsudednick: found the issue (UnityMenuModel::activate() doesn't look at action-namespace). Making a fix now.12:42
larsudednick: do you have an idea why it takes 10-20s to start unity8?12:43
greybackMirv: ok well then all qtubuntu can do to work-around it is include it's own copy of those eglConvenience cpp files. Which isn't a nice solution really. Any other ideas?12:43
mzanettidednick: what do I need to test your indicators.accesspoint-design branch on the phone? it's just empty here12:45
Mirvgreyback: not much. there's some -eglfs switch that we don't define but is enabled by default, and we install egl/es headers also on x86. but the build logs say that eglfs support is still not enabled on x86 - I'm not sure why, but it might be simply because of the -opengl desktop which the automatically disables it.12:49
Mirvbuildlog https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+build/4922638/+files/buildlog_ubuntu-saucy-amd64.qtbase-opensource-src_5.1.1%2Bdfsg-2ubuntu1%7Esaucy1%7Etest5_UPLOADING.txt.gz search for "EGLFS"12:49
Mirv(install egl/es headers = build-depend on ubuntu's egl/es packages also on x86, so they'd be available during build)12:50
greybackMirv: if egl isn't being included, then yeah the eglfs (that's an example QPA for Qt to render to fullscreen egl surface) won't be built.12:52
greybackMirv: though I'm still puzzled that the headers are installed, as QT_CONFIG does not contain "egl" and so those headers should be left out. (see qtbase/src/platformsupport/eglconvenience/eglconvenience.pri)12:53
=== alan_g|lunch is now known as alan_g
dednicklarsu: nope. dont know why. doesnt on my box12:56
larsudednick: this works for me, can you try as well? lp:~larsu/qmenumodel/use-full-action-name12:57
dednickmzanetti: er. have you got some old indicator files on your machine/device?12:57
larsudednick: gotta run for a bit, will be back in 15 min or so12:57
dednickmzanetti: ok, will give it a try12:58
mzanettidednick: dunno... I flashed the phone on friday evening12:58
dednickmzanetti: is indicator-messages-service running?12:59
om26ermzanetti, the issue that you reported is actually something different than we were seeing in the past. the logs say, Error: NetworkManager is not running.12:59
dednickmzanetti: sorry, indicator-network-servce12:59
om26erpreviously that has not been an issue. probably we should increase the delay to 90seconds for the device to settle12:59
dednickmzanetti: arg. indicator-network-service13:00
mzanettidednick: it works normally... if I run_on_device your branch I get file:///home/phablet/shell/builddir/plugins/Unity/Indicators/IndicatorPage.qml:111:5: Type MenuItemFactory unavailable13:00
mzanettiom26er: never use sleeps :D13:00
dednickmzanetti: reason given for that?13:00
mzanettiom26er: otherwise it'll fail when we'd require the timeout to be 91 seconds13:00
dednickmzanetti: UnityActionMenu not a type?13:01
mzanettiom26er: can't you do a while [ `pinc -c 1 ubuntu.com` -ne 0 ]; do sleep 1; done?13:01
dednickor rather UnityMenuAction . i seem to be half asleep today13:01
mzanettis/pinc/ping/13:01
mzanettidednick: http://paste.kde.org/pef08862413:02
dednickmzanetti: you need to upgrade your qmenumodel. and i need to update dependency version.13:03
mzanettiom26er: obviously adding some safety mechanism... like wait at max 2 minutes, otherwise fail the test suite13:03
mzanettidednick: ok. flashing my phone now... that should update it, right?13:04
dednickmzanetti: yeah13:04
dednickum. possibly13:04
om26ermzanetti, the problem that we see with nmcli is that it won't work even if we tried after 2 minutes. if the internet worked the first try it will keep working if it did not we'd actually need to retry with nmcli13:04
om26erthat's my finding. I have logged into devices with the problematic internet after the failed jobs and the internet is still not working there unless tried to be connected with nmcli again13:05
dednickmzanetti: you flash with pending?13:05
mzanettidednick: yes13:05
dednickmzanetti: then yes.13:05
dandradermzanetti, so now we can no longer show those running apps thumbnails when running unity8 on the desktop?13:10
mzanettidandrader: huh?13:10
dandradermzanetti, it used to be possible to launch the fake phone app and then have its fake thumbnail showing up in the recents/running section of the applications dash13:11
mzanettidandrader: I'm not really sure why you ask me :)13:12
mzanettidandrader: did I break it?13:13
mzanettiaah. because lp:unity-api doesn't have the screenshot property any more... now I get it13:13
mzanettidandrader: greyback asked me to remove that. he said it belongs somewhere else13:13
mzanettiiirc13:14
dandraderI would not use the term "break". maybe it's not supposed to do it anymore. just asking you because I had to ping someone :)13:14
larsudednick: and the corresponding mr: https://code.launchpad.net/~larsu/qmenumodel/use-full-action-name/+merge/18345313:14
greybackmzanetti: dandrader for unity-mir, we'll be using an image source to grab app screenshots. But for compatibility we'll add support for the ApplicationImage component that's currently being used.13:15
dandradergreyback, not talking about that. I'm talking about the ability to play around with launching and closing fake apps when running on the desktop13:16
greybackdandrader: possible something broke in the fake ApplicationImage plugin maybe?? Since it's on your desktop only13:16
dednicklarsu: did reply work for you?13:16
dednickor is this only clear related at the moment?13:17
mzanettidandrader: that still works13:18
mzanettidandrader: ecept that for dialer-app, address-book-app and messages-app we don't have fake apps13:18
mzanettiexcept13:18
dandradermzanetti, with "./run --fake"? I just get dummy dashes with that one13:20
mzanettidandrader: hmm... seems to have broken there... I never use --fake13:21
larsudednick: hm maybe I should have checked. It doesn't :)13:22
dandraderah, it still works with plain "./run"13:24
dednicklarsu: huh. i think i may just be an idiot.13:26
larsudednick: problem is, x-canonical-message-actions doesn't get the "indiator." prefix13:26
dednicklarsu: nevermind. apparently i'm smarted than i think :)13:26
larsudednick: hm? It still doesn't work, right?13:27
dednicklarsu: no. i just realised something that i thought wasnt, was.13:27
dednicklarsu: ah. it's finding a "." though, which i guess is causing it to assume it's part of a group13:29
mzanettidandrader: I think the reason is that there are no fake apps for "Tile.0" for example13:29
larsudednick: I don't understand. What's finding a '.'?13:29
mzanettidandrader: changing the fake backend to return for example "telephony-app.dekstop" for every tile should fix it I think13:30
dednicklarsu: sorry, nevermind. i'm talking rubbish13:30
mzanettidednick: standup13:31
larsudednick: hehe, okay. The problem is that a UnityMenuAction is not directly associated with a GtkMenuTrackerItem (the only thing that knows which namespace the action is coming from)13:31
larsudednick: I'm trying to find a halfway elegant solution...13:31
larsudednick: model.fullActionNameForItem(index, name)?13:36
larsuman that's ugly...13:36
* larsu is starting to think UnityMenuAction should have been a non-qml-creatable type13:36
mzanettilarsu: without knowing any further details, the would suggest that your sispicions are correct :)13:40
mzanetti...the name would...13:40
larsuhehe13:41
dandradermzanetti, "Dash/DashApps.qml:54: TypeError: Object Categories(0x1b3eb30) has no method 'overrideResults'" <- I think that's likely the culprit. it seems the fake scopes implementation didn't get updated to the latest design/api/changes13:44
mzanettidandrader: yeah... we _REALLY_ should have all APIs in lp:unity-api13:45
mzanettithat would prevent such things from happening13:45
dednicklarsu: i'm not going to dignify that with a response13:48
dednickIt's a noun :) you can create it!13:49
larsudednick: fair enough, but then we need a function that turns actions names into properly namespaced ones13:50
dednicklarsu: add the namespace if it doesnt have it.13:50
larsudednick: how? UnityMenuAction is not associated with an item...13:51
dednicklarsu: hm13:51
dednicklarsu: why doesnt it have the namespace on it in the first place? isn't that like "a requirement"13:52
dednickto be part of the group.13:52
dednicklunch!13:53
=== dednick is now known as dednick|lunch
tsdgeospstolowski: added you to 4 reviews that fix the stuff we found out on friday14:00
pstolowskitsdgeos: yay, you nailed it down?14:04
tsdgeosi can't find anything obviously wrong at least14:06
tsdgeospstolowski: i'll send an email later explaining the problem as i understand it14:07
tsdgeosin case there's something left to fix14:07
tsdgeoswhoever needs to fix it has a bit of head start14:07
pstolowskitsdgeos: awesome, thanks. I'll test your fixes in a minute14:07
tsdgeosmzanetti: https://code.launchpad.net/~mzanetti/unity8/launcher-defaults-from-dconf/+merge/183420 ?14:07
mzanettitsdgeos: yep14:08
mzanettitsdgeos: on the desktop it should pick up your existing launcher config (or use the default one with libreoffice etc)14:10
mzanettitsdgeos: on the phone, additionally we would override the default launcher entries with this dconf override: https://launchpad.net/ubuntu/+source/ubuntu-settings/13.10.4/+build/4926146/+files/ubuntu-touch-settings_13.10.4_all.deb14:10
tsdgeosij14:11
tsdgeosok14:11
tsdgeosmzanetti:  if (appIds.count() << m_storedApps.count()) { ¿?14:11
tsdgeosmy math logic exploded14:11
mzanettilol14:11
* mzanetti wonders that this actually compiles14:12
tsdgeosnumber shiftleft number14:12
tsdgeosgives number14:12
tsdgeosyou can "if" a number14:12
mzanettithere should be a warning like when you do a if ( foo = bar)14:13
mzanettitsdgeos: fixed14:14
tsdgeosmzanetti: i don't understand that if14:16
mzanettitsdgeos: if the old stored list is bigger than the new one...14:17
mzanettiwhich means, items where removed14:17
mzanettithen do a cleanup of the itemCache14:17
tsdgeosisn't it possible that someone sets a larger list that is not a superset of the existing one?14:17
mzanettitsdgeos: yes it is... but also not really critical I'd say14:18
tsdgeosok, i mean you can just remove the if14:18
tsdgeosmzanetti: you probably want to comment/remove the qdebug14:20
mzanettitsdgeos: narf... did I commit another one?14:21
=== dandrader is now known as dandrader|afk
mzanettitsdgeos: removed14:22
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|tea
=== dednick|lunch is now known as dednick
=== alan_g|tea is now known as alan_g
seb128mzanetti, question for you14:59
seb128mzanetti, what qt type would "<[{'defaults' : <true>}]>" be?14:59
mzanettiQList<QVariantMap>15:00
mzanettiseb128: ^15:00
mzanettiaka QVariantList15:00
mzanettiI think15:01
larsudednick_: no, namespaces would be worthless if the actions would have to carry them15:01
seb128mzanetti, I tried to do that: http://paste.ubuntu.com/6055372/15:01
seb128mzanetti, but I get15:01
seb128"(QMap(("defaults", QVariant(bool, true) ) )  )15:01
seb128QDBusMarshaller: type `QList<QVariantMap>' (1458) is not registered with D-BUS."15:01
seb128mzanetti, when I run my code15:01
seb128mzanetti, oh, I guess I need to register the type15:02
mzanettiseb128: hmm... I don't think you have to...15:02
dednick_larsu: right, but it's not the action, it's the xCanonicalMessageActions.15:02
larsudednick_: well, they are in the same action group as the original action, so the same namespacing rules should apply15:02
larsudednick_: s/original/standard15:03
larsudednick_: I see three possible solutions: (1) add model.getAction(index, name)15:04
larsu(2) add model.getActionName(index, name)15:04
mzanettiseb128: qdbus_cast<QList<QVariantMap>>(variant.value<QDBusArgument>());15:04
mzanettiseb128: this is how we read it15:04
mzanettiseb128: you might want to try it the other way round?15:04
larsu(3) add model.activateForItem(index, actionName)15:04
larsudednick_: I'd pick (1), but its your choice, you've got to use it ;)15:05
dednick_larsu: what would getAction return?15:06
larsudednick_: a UnityMenuAction instance15:07
pstolowskitsdgeos: hmm, it still seems broken for me; it's just these 4 fixes and nothing more?15:07
tsdgeosyes15:07
tsdgeoshow it breaks?15:07
larsuseb128: technically, the string you posted is a QVariant<QList<QVariantMap>>15:09
larsuseb128: not sure if this helps you, though15:09
seb128larsu, I'm lost in types there ;-)15:10
seb128larsu, <property name="launcher-items" type="aa{sv}" access="readwrite">15:10
larsuseb128: right, that should be a QList<QVariantMap>. Which library are you using that with? gsettings-qt?15:11
* larsu is unsure if that has this conversion15:11
pstolowskitsdgeos: empty dash after I type a few letters. give me a minute, merging everything again, i'm not sure if I haven't messed it up before15:11
seb128larsu, I'm not using a library, that's for system settings, I need to do what is in the description of https://code.launchpad.net/~mzanetti/unity8/launcher-defaults-from-dconf/+merge/18342015:11
mzanettilarsu: QVariant's isn't a template class, is it?15:13
dednick_larsu: I wonder if specifying the namespace in the action would be better?15:13
larsumzanetti: no, but I wasn't sure what other syntax to use15:13
mzanettihehe :) valid point15:13
larsudednick_: you're asking me to not ever use the namespace feature then... it's really handy, and I can't guarantee that no other indicator is ever going to use it15:16
larsudednick_: I realize that the messaging case is a bit weird, but what's the point in having a namespace for the standard "action" attribute if we can't apply it to all other action names that are in custom attributes15:17
larsuseb128: I'm not familiar with qt's dbus library, but that should be a QVariant which contains a QList<QVariantMap>15:18
mzanettitsdgeos: fixed your comments15:18
seb128larsu, I'm reading http://qt-project.org/doc/qt-5.1/qtdbus/qdbustypesystem.html15:19
seb128larsu, seems I need to register the type15:19
larsuseb128: it has a warning that you can't use QVariantMap directly...15:19
larsuseb128: I wonder what you're supposed to use instead thouhg15:20
dednick_larsu: i guess i dont get why the actions in custom attributes automatically belong to the same namespace as those of a menu items action. what if we had an action that wasnt attached to a menu item?15:20
dednick_but i dont think i understand the whole namespace thing.15:22
larsudednick_: action names don't have namespaces at all, they are simply strings. Namespaces are a concept that only exists with menu models. If you have a section or submenu with "action-namespace" propery, all of its child menuitems must have that namespace prepended before action names15:23
pstolowskitsdgeos: hmm, still no luck, essentially I see no improvement15:26
dednick_and the indicators actions have this property set to "indicators"15:26
dednick_?15:26
seb128larsu, mzanetti: it works when using "    qDBusRegisterMetaType<QList<QVariantMap> >();"15:26
dednick_larsu: i mean the menu has15:26
seb128which is what unity8 is doing as well15:26
tsdgeospstolowski: that is weird,unfortunately i'm 30 min from my eod15:26
tsdgeosyou'll need to dig it yourself15:26
tsdgeosi can tell you i couldn't see anything wrong here15:26
mzanettiseb128: oh... ok15:27
tsdgeosand https://code.launchpad.net/~aacid/unity8/lvwph_update_section_header/+merge/183457 has a test to prove it's needed15:27
larsudednick_: only indicator-messages uses that because it has really complex action names and it was easier to implement that way (hey, we have the feature, so why not). The other indicators usually specify their actions as "indicator.something" inside of their menus15:27
* dednick_ shoots himself in the head.15:28
tsdgeospstolowski: if you push everything to a branch, i can have a quick 20 min look15:28
larsudednick_: why? Is it really that hard?15:28
larsuseb128: awesome :)15:28
dednick_larsu: "If you have a section or submenu with "action-namespace" propery, all of its child menuitems must have that namespace prepended before action names". This is when you are referencing the action in the client? or defining the action.15:31
larsudednick_: when you are referencing the action in the client15:32
larsudednick_: which is what unitymenumodel does automatically for you for the standard actions. It just doesn't do it in UnityMenuAction...15:33
pstolowskitsdgeos: lp:~stolowski/+junk/unity8-category-reorder-test it's just all our stuff merged together15:34
dednick_larsu: as far as i understand it, what you're saying is that to the unitymenumodel, the reply action belongs to a action group called "indicators". And you need this name "indicators" to find the group in the muxer.15:36
dednick_ie. namespace = group.15:37
larsudednick_: in this case, yes. But namespaces can be used for any section and submenu, and I had indicator-messages making heavy use of that initially15:37
larsudednick_: I just had to scale that back because qmenumodel wasn't able to handle this15:38
mzanettidednick_: are those small checkboxes really intentional?15:38
larsudednick_: look at how the action names are structured for the message indicator: <appname>.<messagetype>.<messageid>15:38
larsudednick_: <appname> was a namespace for the app section (in the desktop menu) at one point15:39
dednick_mzanetti: well the design doesnt exactly call for checkboxes...15:39
larsudednick_: this gets rid of a lot of string manipulation inside the client, and lets us write code in a more generic way15:39
mzanettidednick_: they look weird being different than the rest imho15:40
larsudednick_: and if it weren't for custom actions, you wouldn't have to care about this at all15:40
* larsu damns custom actions!15:40
dednick_larsu: yeah. it's pretty shit15:41
dednick_mzanetti: they pretty much run into each other if they're not smaller than standard.15:42
larsudednick_: there's a (4) by the way: add a "index" property to UnityMenuAction. But that's pretty ugly, because you could only set it once and reading it back later might give wrong results in case the menu has changed15:43
dednick_larsu: ok, well as long as we never have an action that it's associated with a menu item then getAction is ok. we just need to watch out for leaks15:43
mzanettidednick_: ok. I'll leave that up to design. reviewed the rest15:44
larsudednick_: fair enough.15:45
larsudednick_: I'll try to cook up a patch before eod15:45
larsudednick_: is you branch ready to land after this is fixed? bfiller wants that clearing bug fixed15:45
dednick_larsu: yeah15:46
larsudednick_: awesome :)15:46
tsdgeospstolowski: that's really broen15:46
tsdgeospstolowski: ok, then maybe i did not fix it all15:50
tsdgeospstolowski: sorry ./15:50
tsdgeosi am pretty sure what i gave you are improvements15:50
tsdgeosbut no clue why it's still failing :-/15:50
pstolowskitsdgeos: did you test it your fixes against my branch and unity8 before, or I messed something?15:50
tsdgeospstolowski: there's two possibilities15:51
tsdgeosa) i did not test enough (it may have happened)15:51
tsdgeosb) i did screw up when splitting my fixes from the branch that worked15:51
tsdgeossad thing is i killed the local branch "that worked"15:51
tsdgeosso i can't go back now15:51
=== 16WAAZ40T is now known as tvoss_
pstolowskitsdgeos: no worries16:20
pstolowskitsdgeos: so, can you summarize all that stuff in an email?16:21
mhall119hey guys, something weird is going on with my Unity 8: http://ubuntuone.com/4v3fUxUPkTDGzqOyGRC4Ha16:22
mzanettihooray for regression tests catching regressions. meh for fixing them16:24
mzanettimhall119: what's weird?16:24
mzanetti:P16:24
=== dandrader is now known as dandrader|lunch
mzanettimhall119: how did you run this? just flashed the phone and this is how it showed up?16:25
mhall119mzanetti: I was searching the dash after installing a click app16:25
mhall119when I cleared the search term, things were like this16:25
mzanettihmm... can't see how that would affect the launcher16:26
mzanettimhall119: how does one install a click app?16:27
mhall119mzanetti: I was doing it from the click scope16:27
mzanetticlick scope... interesting16:28
mzanettinever heard of that :D16:28
nic-doffaypstolowski, ping16:31
pstolowskinic-doffay: pong16:31
nic-doffaypstolowski, that branch is ready for a functional review if you're up for it.16:31
pstolowskinic-doffay: I'm about to eod for now... will check it tomorrow morning16:32
nic-doffaypstolowski, I'll shout if it hasn't been merged yet.16:34
nic-doffaymzanetti, time for a review?16:34
mzanettinic-doffay: hit me16:34
nic-doffaymzanetti, https://code.launchpad.net/~nicolas-doffay/unity8/filter-selector/+merge/18350316:36
larsudednick_: uploaded a patch to the same MR. I kept UnityMenuModel instantiable, in case we ever need to access actions directly.16:41
larsudednick_: here's a patch for unity8 that makes use of this: http://paste.debian.net/33804/16:41
larsudednick_: this works for me, let me know if it works for you as well :=16:41
larsu:)16:41
mzanettinic-doffay: do you have a link to the UI spec?16:43
nic-doffaymzanetti, there isn't really an up to date one.16:43
nic-doffayMost of my communication with design was done via mail.16:44
mzanettinic-doffay: do you have a picture you could forward me?16:47
nic-doffaymzanetti, there should be an old picture somewhere, let me try dig it up.16:48
nic-doffaymzanetti, http://design.ubuntu.com/apps/building-blocks/option-selector16:49
mzanettinic-doffay: if this is all you got, why did you put the bottomDividers there? they aren't there on this screenshot16:57
nic-doffaymzanetti, that was added by Rosie in a mail.16:57
mzanettihmm... makes it hard to review then for me16:57
mzanettinic-doffay: I can't believe that design told you to put that orange search lens icon up there in the upper right corner16:58
nic-doffaymzanetti, you're right, but I haven't received another asset.16:59
nic-doffayFigured landing this would inspire one to be made quicker.16:59
nic-doffayI've mentioned it.16:59
mzanettinic-doffay: there is a filter icon in the theme16:59
mzanettinic-doffay: I think its exactly the one shown on the mockup16:59
nic-doffaymzanetti, any idea what it's called?17:01
mzanettinic-doffay: dpkg -L ubuntu-mobile-icons | grep filter17:01
seb128mzanetti, nic-doffay: wget https://launchpad.net/icon-library/trunk/lucid-release/+download/iconlibrary02052010.tar.gz; tar xf iconlibrary02052010.tar.gz; cd iconlibrary;   python icon-library.py17:02
seb128that's an handy way to browse icon themes as well17:02
mzanettiseb128: but it shows much more than we support on the phone17:03
nic-doffaymzanetti, is this accessible easily via the Icon toolkit class?17:04
mzanettibasically you just need to ignore everything with "Inherited from..."17:04
mzanettinic-doffay: yes17:04
seb128mzanetti, there is a checkbox to don't list inherited icons, if you select the mobile theme and check that box you should have what is on the phone17:05
mzanettiseb128: right... seems handy indeed17:05
mzanettiseb128: if only those python uis would do a little better on high dpi screens :/17:06
nic-doffaymzanetti, icon takes image://theme/%1 what path would I need to pass?17:06
=== alan_g is now known as alan_g|EOD
mzanettinic-doffay: how did you use the search icon?17:06
nic-doffaymzanetti, I just passed in "search"17:07
nic-doffayKeeping in mind it's the Icon class.17:08
mzanettinic-doffay: yeah. try that with "filter"17:08
nic-doffaymzanetti, I've tried that.17:09
mzanettidoen't work?17:09
nic-doffaymzanetti, nope.17:10
mzanettinic-doffay: works here17:10
mzanettijust tried it17:10
nic-doffaymzanetti, hmm17:10
mzanettinic-doffay: do you have ubuntu-mobile-icons installed?17:11
nic-doffaymzanetti, yeah17:11
nic-doffaymzanetti, eod I'll have to take a look at this tomorrow. I'll ping you when I've sorted it.17:13
nic-doffaymzanetti, have a good evening though!17:14
mhall119mzanetti: pushed rev 276 of my finish-tour branch with Tingting's recommended wording17:20
mzanettimhall119: cheers. I'll approve it soon17:20
mhall119\o/17:20
dednick_larsu: hm. those UnityMenuActions arent being deleted. when not used anymore. :(17:20
mhall119second Unity8 fix!17:20
dednick_only when the model is destroyed17:20
mzanettimhall119: actually... it feels a bit weird that the first sentence has a . while the second doesn't17:20
mzanettimhall119: what's your opinion on that?17:21
mhall119mzanetti: none of the others end with a period17:21
mzanettimhall119: yeah... so the question is. Should this one do so?17:21
dednick_larsu: and basically it never gets destroyed.17:21
mzanettimhall119: or maybe without punctuation like the others, but in a new line?17:21
mhall119I decided not to, for consistency with the others17:21
mhall119can I put it in a new line?17:21
mzanettimhall119: <br> should work.17:22
mhall119mzanetti: should we get katie and Tingting to weight in again?17:23
mzanettimhall119: can you do a screenshot of both versions and paste it somewhere please? I'll ask katie then for a quick look to decide17:23
mzanettimhall119: unless you are sure that one looks way better than the other. in that case I'll trust your judgement17:23
mhall119trusting my judgement on design?  You don't know me very well :)17:24
mzanettimhall119: ok. then do the screenshots in any case :D17:33
=== dandrader|lunch is now known as dandrader
mhall119ok17:58
mhall119mzanetti: is there a way to get the tour to run in a desktop window?17:59
* greyback eod18:12
mzanettimhall119: dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User32011 org.freedesktop.DBus.Properties.Set string:com.canonical.unity.AccountsService string:demo-edges variant:boolean:true18:15
mzanettimhall119: replace with your userid18:15
mhall119mzanetti: replace /org/freedesktop/Accounts/User32011 ?18:17
mhall119with User1000 or with mhall?18:17
mzanettiUser100018:18
mhall119Error org.freedesktop.DBus.Error.InvalidArgs: No such interface 'com.canonical.unity.AccountsService'18:18
mhall119must be missing a package18:18
mzanettimhall119: yeah, you need to install unity818:18
mzanettimhall119: so that unity8-private etc are available18:19
mhall119ok18:19
mhall119mzanetti: still doesn't like it18:23
mzanettimhall119: I think accountsservice needst to be restarted, now that the service files are installed18:23
mhall119mzanetti: and how do I do that?18:25
mzanettimhall119: I rebooted :/18:25
mzanettimhall119:18:30
mzanettimhall119: easier way18:30
mzanettiedit Compoenets/EdgeDemo.qml18:30
mhall119ok, how?18:31
mzanettimhall119: search for  AccountsService.getUserProperty and replace that with true18:31
mzanettimhall119: how to edit a file?18:31
mzanettior was that just bad timing? :)18:31
mhall119sorry, in what way should it be edited18:31
mhall119found d.showEdgeDemo = AccountsService.getUserProperty(user, "demo-edges")18:32
mzanettiexactly18:32
mzanettiset it to true18:32
mhall119ok18:32
mhall119that worked18:35
mhall119mzanetti: http://ubuntuone.com/5rVPw9uOqj8UjfGZiNZQpj is a tarball with 4 options18:52
mhall119mzanetti: personally, I like taking over the skipLabel text best18:53
mhall119because having "Skip Intro" at the last page of the intro was also confusing18:59
* mhall119 wonders if mzanetti has EOD, or is just ignorning me19:36
=== dandrader is now known as dandrader|afk
mzanettimhall119: its 9:45 pm here19:45
mzanettimhall119: so yeah... sort of EOD :)19:46
mhall119no worries, catch you tomorrow19:46
mzanettimhall119: I've noticed the link and will clarify this tomorrow morning with katie19:46
mzanettimhall119: by the time you show up I will know how to proceed19:46
mhall119sounds good, thanks a bunch mzanetti19:47
mzanettimhall119: are there any docs how to create click packages?19:47
mhall119mostly I just use qtcreator to do it, but I think they had some on readthedocs19:49
mzanettimhall119: yeah, found this: https://click-package.readthedocs.org/en/latest/19:49
mzanettimhall119: but it doesn't really show how to do it19:49
mzanettimhall119: and Qtcreator can only package up qml stuff. but I need c++19:49
mhall119the C++ story for click packages and the app store isn't finalized yet19:51
mhall119dholbach and cjwatson can tell you more about the plan though19:51
mhall119mzanetti: long story short, click packages are arch-specific binaries and we have no cross-compiling support in the Ubuntu SDK19:58
mzanettimhall119: yeah. not a problem for me. I can package them up manually. just need to figure how19:58
mzanettimhall119: but I've found the scripts how qtcreator does it. so, shouldn't take me too long I guess. unless I hit troubles with the environment19:59
mhall119mzanetti: in that case you need to build your manifest.json, which maybe be detailed in the readthedocs, and run "click build"19:59
=== dandrader|afk is now known as dandrader

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