/srv/irclogs.ubuntu.com/2015/01/21/#ubuntu-unity.txt

=== charles_ is now known as charles
=== Malsasa_ is now known as Malsasa
=== sil2100_ is now known as sil2100
=== Malsasa_ is now known as Malsasa
dholbachhey hey10:35
dholbachwho has an idea what's planned for unity.ubuntu.com?10:37
dholbachwe're looking at https://bugs.launchpad.net/developer-ubuntu-com/+bug/131706510:37
dholbachand it appears like those api docs are still needed10:37
ubot5Launchpad bug 1317065 in Unity Website "Move old indicator docs to unity.ubuntu.com" [Undecided,Confirmed]10:37
dholbachseb128, bregma, ^ do you know what want to do there? or which info might be accurate and up to date?10:39
seb128dholbach, dunno10:39
dholbachdavidcalle said that the stuff which is on archive.org looks outdated10:39
davidcalleOnly the "resources" page links are outdated, the rest seems OK10:51
=== Malsasa is now known as Guest41468
=== Malsasa_ is now known as Malsasa
=== cking_ is now known as cking
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
=== MacSlow is now known as MacSlow|lunch
dandradertsdgeos, are you familiar with running unity8 autopilot tests (from a branch) on the device?13:40
dandradertsdgeos, so I went do myUnity8Branch/tests/autopilot and run "autopilot3 list unity8"13:41
dandradertsdgeos, but I got many instances of this error  "ImportError: No module named 'ubuntuuitoolkit'"13:41
* dandrader thinks a bit more and looks into installing the package that has ubuntu-ui-tookit AP tests13:42
=== marcusto_ is now known as marcustomlinson
dandraderyeah, seems to be ok now13:45
mterrySaviq, I remember an MP going by a while ago that unfocused the top app when in the greeter.  Did that land?  I couldn't find it in bzr log13:48
tsdgeosdandrader: solved it?13:50
tsdgeosmterry: he's away13:50
tsdgeosmterry: which branch?13:50
mterrytsdgeos, oh right!13:50
mterryhah13:50
mterrytsdgeos, that's the problem, I'm trying to find the branch/bug13:51
dandradertsdgeos, yes. sorry for the noise :)13:51
mterrytsdgeos, I just remember seeing something about it go by in the changelog or something, but I can't find it now13:51
dandradermterry, fixed the autopilot tests in https://code.launchpad.net/~dandrader/unity8/unifyLightDMMocks/+merge/24459313:51
tsdgeosmterry: was it yours? or by someone else?13:51
mterrytsdgeos, not mine13:51
mterrymzanetti, did you make an MP recently that unfocused the top app when in the greeter?13:53
mzanettimterry: nope13:54
dandradermzanetti, what happened with yesterday's landing?14:00
mterrygreyback_, I'm doing some bzr digging, and I see that the mirCompositor branch had some focus changes.  Is there any way it could be involved in bug 1413065? (which involves dialer losing and gaining focus when in emergency mode)14:01
ubot5bug 1413065 in unity8 (Ubuntu) "[Call]The call interface sometimes disappears when making emergency call" [Critical,Confirmed] https://launchpad.net/bugs/141306514:01
mzanettidandrader: what up with it?14:02
dandradermzanetti, it hasn't landed yet, right? I thought it was uncommon for a landing to take that long...14:03
mzanettidandrader: it should have landed14:03
mzanettirtm you mean14:03
dandradermzanetti, ah.... I thought it was also for lp:unity814:04
mzanettinope, only rtm14:04
mzanettiprepping a unity8 silo atm14:04
greyback_mterry: mirCompositor branch? That's an old one. What revision are you referring to? Note that qtmir doesn't give/remove focus, it is unity8 which does that . qtmir is only a conduit14:09
mterrygreyback_, I'm not sure which revision.  This bug may have been sitting around for a while, so I figured even an older merge might be relevant.  I'm just clutching at straws, trying to help bfiller track down a weird focus bug with the dialer and greeter14:12
mterrygreyback_, was curious if the unity8 mirCompositor focus changes seemed like they would be relevant to a dialer/greeter situation14:12
greyback_mterry: how is dialer launched? Does it run as the user?14:12
mterrygreyback_, yes, this is normal phone mode where everything is in the user session14:13
mterrythe dialer is launched by greeter's emergency dialer button14:14
greyback_mterry: note focus and being visible are 2 different things too.14:14
greyback_I was more wondering if dialer was launched outside of the user account, but no I see it's not14:15
mterrygreyback_, they are watching Qt.application.active and it is flip-flopping for them14:15
greyback_mterry: ok, so that means the MirSurfaceItem for the dialer surface has focus flip flopping too.14:16
greyback_focus is set by unity8, so you need to start there14:17
mterrygreyback_, yup, that's why I was asking about the unity8 mirCompositor branch, but I'll dig more14:17
greyback_mterry: that's ancient work, and things have moved on a lot since14:17
mterrygreyback_, fair.  It was just the most recent thing in bzr log that looked promising  :(14:18
mterrygreyback_, this bug involves actually dialing an emergency number which we rarely do during testing I think, so I don't know how old it is14:18
mterryIt also doesn't always happen14:18
greyback_mterry: where I'd start is butting a breakpoint on qtmir::Application::setFocused and see if you can figure out what calls it14:22
mterrygreyback_, would that catch "unfocuses" too?14:22
greyback_mterry: sorry, not correct place. qtmir::MirSurfaceItem::activeFocusChanged14:23
greyback_mterry: yes14:23
=== MacSlow|lunch is now known as MacSlow
kgunnmterry: can you merge trunk on ~mterry/unity8/no-shutdown-dialog-while-suspended14:41
kgunnplease and thank you :)14:41
mterrykgunn, one moment14:41
mterrykgunn, merged, no conflicts...  Why'd you want the merge then?14:43
mterryoh for mzanetti's branch?14:43
kgunnmterry: hmmm...its in a vivid silo and complained14:44
Cimimterry, https://code.launchpad.net/~cimi/unity8/fix-1363400/+merge/247129 and https://code.launchpad.net/~cimi/ubuntu-system-settings/fix-1363400/+merge/24713114:44
kgunnmterry: https://ci-train.ubuntu.com/job/ubuntu-landing-021-1-build/30/console14:44
Cimihowever qmltests looks like they failed on CI, don't know why14:44
mzanettikgunn: I already merged14:44
kgunnoops14:44
mzanettikgunn: it was conflicting with my branch14:44
kgunni should keep my nose out :)14:45
mzanettiboth touch the Key handler code14:45
mzanettino worries14:45
mterryCimi, I'm a bit busy today, I can look at them later but if you want quicker turnaround maybe ask another person today14:47
seb128greyback_, hey, did you hear back from bregma about qtmir/gtk? Still not having that in a silo I guess? is it useful if I try it (I'm about to start, checking before)14:49
greyback_seb128: nothing from him no.14:49
greyback_seb128: I think at this stage, let's just stick it in a silo :)14:50
seb128greyback_, wfm! can you do it or do you need somebody to do it for you?14:51
greyback_seb128: I can do it14:51
greyback_will ping you when it's ready14:51
seb128thanks14:52
bregmagreyback_, sorry, I had to repurpose my vivid test machine to do the testing and something else emerged in the mean time14:59
greyback_bregma: no biggie14:59
seb128bregma, hey, do you know if there is a bug about loggin not actually doing what it's supposed to do on desktop/unity8? it seems to exit unity8 which respawn but not exit the session to the greeter15:00
seb128oh,and what component to blame for that15:01
bregmaseb128, log in or log out?15:03
seb128sorry, logging out15:03
ChrisTownsendseb128: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/136031615:03
ubot5Launchpad bug 1360316 in unity8 (Ubuntu) "Logging out the desktop session just goes back to the Greeter" [Medium,Triaged]15:03
seb128ChrisTownsend, thanks, that title is misleading, going to the greeter is what you want15:04
seb128or you mean the unity8 lockscreen/insession greeter?15:04
ChrisTownsendseb128: Umm, yeah, maybe it should say Unity 8 Greeter/Lockscreen.15:04
seb128ChrisTownsend, yeah, or "session greater"15:05
seb128ChrisTownsend, thanks ;-)15:05
ChrisTownsendseb128: I'll change it.  Still trying to learn the correct names of all the different parts:)15:05
ChrisTownsendseb128: I'm also tasked to look at that issue as well.15:05
seb128ChrisTownsend, oh, great, let me know if I can help15:05
ChrisTownsendseb128: Cool, thanks15:06
seb128ChrisTownsend, I tagged it unity8-desktop ... trying to build a list of desktop specific issues (https://bugs.launchpad.net/ubuntu/+source/unity8/+bugs?field.tag=unity8-desktop)15:06
ChrisTownsendseb128: Great, very helpful.  If I see others, I'll tag as well.15:07
seb128ChrisTownsend, thanks!15:07
dholbachbregma, do you know who could have any plans wrt unity.ubuntu.com? I'm asking because bug 1317065 suggested to move some of the API docs over there15:08
ubot5bug 1317065 in Unity Website "Move old indicator docs to unity.ubuntu.com" [Undecided,Confirmed] https://launchpad.net/bugs/131706515:08
bregmadholbach, I don't know what the plans are for that stuff, most of the docs for currently supported Ubuntu development have already disappeared :(15:09
greyback_seb128: our main issue with that bug, is that we've no idea how to quit unity8 in such a way that you return to the lightdm greeter (i.e. that unity8 isn't respawned)15:09
dholbachbregma, yeah, I guess they weren't on the radar for the move - but we should be able to retrieve them from archive.org or from one of mhall119's backups :)15:09
dholbachbregma, I just wasn't sure what plans were or who was involved with unity.u.c15:09
dholbachdavidcalle also said that some of the docs were out of date15:10
bregmadholbach, I'd like to see all the docs for developing for 14.04 LTS still available somewhere and easily found until LTS support ends15:10
dholbachright15:10
dholbachmhall119, do you know who can edit unity.u.c? can that team be easily extended?15:10
mhall119dholbach: let me check15:11
dholbach<315:11
mhall119dholbach: it seems I'm only an editor there,not an admin, but ~canonical-community is the membership I used to login15:12
mhall119we'll need to ask possibly IS if there's an admin team, or to get some of us promoted to admin to change team settings15:13
dholbachcan't really find a team with that name: https://launchpad.net/people/?name=unity+&searchfor=teamsonly15:14
dholbachmhall119, jcastro also doesn't know - I think he was in charge ages ago15:15
seb128greyback_, ChrisTownsend, how to close properly a session is a good question, maybe robert_ancell knows about that. I think under unity7 gnome-session does the logout15:15
dholbachso we might have to set up a team and ask IS to make use of it15:15
dholbachI'll set up the team15:15
ChrisTownsendseb128: Is Robert going to be at the sprint?15:16
seb128ChrisTownsend, unfortunately no, but I'm sure others who are can help you on that (between desrt, larsu, didrocks, Laney and I we have enough people knowing a bit about those things)15:17
ChrisTownsendseb128: Ok, good.  Let's try to hash this out then.15:18
dholbachbregma, mhall119, davidcalle: I added us to https://launchpad.net/~unity-website-editors - anyone else you'd like to see in there?15:18
seb128ChrisTownsend, yeah15:18
ChrisTownsendseb128: Also, Unity 7 tries with gnome-session first, then failing that it tries logind, and failing that, it tries ConsoleKit...at least that how it looks to me.15:19
seb128ChrisTownsend, yeah, I think logind is the right interface, unity8 should probably do that15:20
mhall119dholbach: willcooke should be in there15:20
ChrisTownsendseb128: That's what I was thinking too and was going to go down that route first.15:20
* willcooke reads15:20
seb128+115:20
willcookedholbach, mhall119, sounds good to me, thanks15:23
dholbachwill do15:23
davidcalledholbach, ok15:23
dholbachwillcooke, davidcalle, mhall119, bregma: I'll let you know once IS moved ownership to the team15:25
tsdgeosCimi: ping15:26
Cimitsdgeos, pong15:26
tsdgeosCimi: you changed something with backgrounds in some cards recently, right?15:26
Cimitsdgeos, yes15:26
willcookethx dholbach15:27
tsdgeosCimi: can it cause this https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1411748 ?15:27
ubot5Launchpad bug 1411748 in unity8 (Ubuntu) "[Arale] News aggregator scope has a white scope background in cards" [Critical,New]15:27
tsdgeosCimi: what was the changeset?15:27
Cimitsdgeos, https://code.launchpad.net/~cimi/unity8/fix-1393008/+merge/24613815:27
Cimitsdgeos, all cards with summary can have bg15:29
Cimisth like that15:29
tsdgeosoki15:29
tsdgeospstolowski: do you know who's the devel of the news scope?15:29
Cimitsdgeos, we should probably re-read the specs and see if we implemented correctly15:30
tsdgeoswell the specs say that it was implemented fine before15:30
tsdgeosand i don't think they updated the specs :D15:30
tsdgeosit's most probably that those guys were defining a background "incorrectly" all the time15:30
tsdgeosbut we just ignored it before and we don't anymore15:30
pstolowskitsdgeos, i think it's cwayne?15:31
tsdgeosand now it's seems is "our" bug15:31
tsdgeoswhen it may have been there forever15:31
tsdgeos(or not)15:31
cwayneits someone on my team, and we don't set background at all15:34
tsdgeosok15:43
tsdgeoscan you comment on the bug?15:43
tsdgeosCimi: yeah i see the bug on your code15:45
tsdgeos var hasBackground = (hasSummary || !isHorizontal) && (template["card-background"] || components["background"] || artAndSummary);15:45
tsdgeosshould be something more like15:45
tsdgeosvar hasBackground = (!isHorizontal && (template["card-background"] || components["background"] || artAndSummary)) || hasSummary && (template["card-background"] || components["background"])15:46
tsdgeoswell i probably missed some ()15:46
tsdgeosbut see what i mean?15:46
tsdgeosyou're adding background to all cards with art and summary15:46
tsdgeoswhich i doubt is what we wanted15:47
=== dandrader is now known as dandrader|lunch
tsdgeosCimi: can you do https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1411748 then? or want me to?15:50
ubot5Launchpad bug 1411748 in unity8 (Ubuntu) "[Arale] News aggregator scope has a white scope background in cards" [Critical,New]15:50
Cimitsdgeos, I can15:55
tsdgeosCimi: cool15:56
Cimitsdgeos, why we have that artAndSummary?15:57
tsdgeosbecause on vertical cards it's speced that cards with art and summary get a background by default15:57
tsdgeosbut i guess we don't want that on horizontal ones15:57
tsdgeossince we didn't want a background at all15:58
tsdgeosin horizontal cards15:58
tsdgeosand the bug you fixed was to allow having one15:58
tsdgeosam i making sense?16:00
Cimitsdgeos, yes16:08
Cimitsdgeos, so I can change to16:08
=== Malsasa_ is now known as Malsasa
Cimitsdgeos, || (!isHorizontal && artAndSummary)16:09
tsdgeosyeah that'd work too16:09
mhall119dholbach: deej set https://launchpad.net/~unity-website-editors to be the editors team on unity.u.c16:23
dholbachmhall119, brilliant!16:23
dholbachmhall119, ok, I'll let him know that rt#25972 can be closed16:25
dholbachmhall119, davidcalle, willcooke, bregma: you should all be able to edit now, by going to unity.ubuntu.com/wp-admin/16:28
dholbachwe should probably discuss in https://bugs.launchpad.net/developer-ubuntu-com/+bug/1317065 how we want to set things up16:29
ubot5Launchpad bug 1317065 in Unity Website "Move old indicator docs to unity.ubuntu.com" [Undecided,Confirmed]16:29
bregmadholbach, thanks for taking care of this16:30
dholbachbregma, in developer.u.c we can also set up redirects16:31
dholbachlike very easily16:31
sternshello all, I have an application that behaves properly with the unity launcher when I am using a single screen.  That is, the shortcut and the running icons are the same (stacked).  However, when I plug a second display into my laptop, this stops functioning properly.  The shortcut and running are two separate icons on the launcher.  Ubuntu 14.1016:43
davidcalledholbach, since unity.ubuntu.com doesn't seem to support code highlighting, maybe we could use snippets.ubuntu.com for code samples in the pages we will revive? Old project meets new :)16:43
dholbachdavidcalle, I don't think snippets is up yet, is it?16:44
davidcalledholbach, no it's not, but it looks "finished", right?16:45
dholbachyeah... I don't know in which state it is16:45
davidcalledholbach, anyway, are you fine with me adding the content in draft pages ? To have it somewhere else than on web archive.16:49
dholbachsure, definitely16:51
davidcalleok16:51
dholbachwe probably just nee to decide on a IA16:51
dholbachor shall we just re-use the old structure?16:51
=== dandrader|lunch is now known as dandrader
dandradermterry, I believe you're the best person to review this: https://code.launchpad.net/~dandrader/unity8/launcherOverGreeter-lp1393447/+merge/24718317:28
dandradermterry,  (luckily it's a one-liner)17:29
dandraderdo I still have to do anything special to connect a bluetooth mouse to the N7?17:49
dandradermzanetti, ^17:49
mzanettidandrader: yes17:50
mzanettidandrader: well, depends on how new the devices are17:50
mzanettidandrader:  we only support pairing method "enterpin"17:50
mzanettinewer ones want "displaykey"17:51
mzanettidandrader: so what you do is:17:51
mzanettiset the device in inquiry scan mode (longpress the button or similar)17:51
mzanettithen on the phone do:17:51
mzanettihcitool scan17:51
mzanettiit should print the mac addresses17:51
dandradermzanetti, but at least there's no need to install a PPA anymore, right?17:52
mzanettithen: bluez-simple-agent hci0 <mac-address>17:52
mzanettiand then follow the pin entry procedure17:52
mzanettiand then you need to call:17:52
mzanettiqdbus --system org.bluez /org/bluez/hci0/AA_BB_CC_DD_EE_00_11 org.bluez.Input.Connect()17:53
mzanettior something like that17:53
mzanettiwhere those letters/numbers are the target device's mac address17:53
dandradermzanetti, I turned bluetooth on in the system-sesstings app but "hcitool scan" says "Device is not available: No such device"18:01
dandraders/sesstings/settings18:01
=== alan_g is now known as alan_g|EOD
mzanettidandrader: hmm... that's odd.. should work18:05
mzanettidandrader: what does hciconfig say?18:05
mzanettidandrader: ah, I guess you need to sudo it18:06
dandradermzanetti, hciconfig says nothing18:06
dandradermzanetti, just like hcitool dev18:07
mzanettidandrader: http://paste.ubuntu.com/9808050/18:07
mzanettiif this isn't working, something's wrong with your device and/or image18:08
dandradermzanetti, check what ogra is saying on #phablet18:09
dandradermzanetti, hciconfig gives me no output at all18:10
dandradermzanetti, I think I will stick with the N4 then...18:10
dandradermzanetti, ok, hciconfig shows up something on my N418:18
mzanettithen it's probably indeed your n7 hardare18:19
mzanettidandrader: just to make sure, you haven't flight mode enabled, do you?18:19
mzanettithat would turn on the rfkill for BT and shut the hci interface down18:19
dandradermzanetti, no, I even have with on the N718:20
dandradermzanetti, but the N4 is not looking great either18:20
dandradermzanetti, http://paste.ubuntu.com/9808201/18:21
mzanettihciconfig hci0 up18:21
mzanettisudo bviously18:21
mzanettiand you want: hciconfig hci0 pscan18:21
dandradermzanetti, interesting, switching it on via system-settings up doesnt seem to work18:23
dandradermzanetti, "hciconfig hci0 up" did the trick18:23
dandradermzanetti, wow, was able to connect to my bt mouse via the system-settings GUI18:25
mzanettidandrader: the mouse probably either does legacy pairing, just asking you to enter 0000 or 123418:27
mzanettior does a SSP of type "justworks"18:27
mzanettiboth are supported by the ui18:27
mzanettibut none of the other types18:27
mzanettinew keyboards use unsupported types18:27
dandradermzanetti, so what mouse events are missing again? I see that I can already move around and click and drag stuff (despite the lack of a visual pointer)18:28
greyback_dandrader: middle & right click. scroll wheel18:28
mzanettidandrader: most important, mouse hover18:29
mzanettidandrader: create MouseArea, set "hoverEnabled: true"18:29
mzanettiand make sure it genertes onMouseXChanged without clicking18:29
dandradermzanetti, btw, did you do any work to get a provisional mouse pointer on screen?18:41
dandradermzanetti, I mean, as an item inside unity8's qml scene18:43
mzanettidandrader: nope, I didn't18:44
mzanettidandrader: that would be required too, yes. not sure how to realize that. you might want to talk to gerry and racarr for that18:44
greyback_dandrader: well with mouse hover support, it wouldn't be that hard to add an event filter for mouse events and use that to track mouse position18:45
dandradergreyback_, exactly.18:45
greyback_dandrader: but I mir got software cursor support too, which maybe we can use18:45
dandradergreyback_, being a software cursos, I don't see the benefit18:47
dandradercursor18:47
greyback_dandrader: sorry, I didn't follow you18:47
dandradergreyback_, you said that mir got support for a software cursor. If it were a hardware cursor I would see the performance benefit. as opposed to a qml cursor18:49
greyback_dandrader: not all platforms have proper hardware cursor support. But software cursor drawn on top of qml could be done. It could save us work18:51
* greyback_ dropping out for a sec18:52
=== greyback__ is now known as greyback
dandradermzanetti, looking at qtmir I don't think we have any proper QMouseEvents at all yet18:59
mzanettidandrader: might well be, yes19:00
dandradermzanetti, what we have is the physical mouse entering unity8 as QTouchEvents19:00
mzanettiI only quickly looked into it and couldn't really find a place to "just add" it. seemed there was more missing19:00
* dandrader is excited to work on mouse support19:02
* greyback thanks God there are people like dandrader in this world ;D19:02
mzanetti:D19:05
mzanetti+119:05
mzanettidandrader: actually, now comes to my mind. lpotter pinged me yesterday about issues with bluetooth on his nexus 4. might be the same as on your nexus 7. do you have the same software versions running on both?19:13
dandradermzanetti,  hmmm, probably not19:13
mzanettidandrader: there might be an issue upcoming with the very latest images19:14
dandradermzanetti, cannot use image number as a comparison as they differ between devices19:15
mzanettiyeah, that's odd19:15
muser /part19:26
EncryptHello there o/19:41
EncryptI'm looking for the libmessaging documentation19:41
EncryptI've found no doc on the web19:41
EncryptA user here gave me an example however19:42
EncryptBut I'd really need the doc to be able to use it well19:42
EncryptOh, ok19:46
EncryptGoogle finally showed me the doc page19:46
kgunnjosharenson: ping22:39
josharensonkgunn: pong22:39
kgunnjosharenson: hey, so got unity8 on my desktop...doing the build, but how do you run the qml ui tests suite?22:40
kgunncrap22:40
kgunnnvmd22:40
kgunni see it now22:40
josharensonhaha ok22:40
josharensonmake qmltest22:40
josharensonyeah?22:40
kgunnat the bottom of the CODING file22:40
kgunnyeah...to be precise "make qmluitests"22:41
josharensonah yeah22:41
kgunnsorry to bother...22:41
josharensonoh no problem22:41
kgunnmzanetti: fyi, silo21 approved...waiting on migration, i'll check back in a bit and create an rtm staging branch23:38

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