/srv/irclogs.ubuntu.com/2014/04/28/#ubuntu-unity.txt

=== jamesh_ is now known as jamesh
Saviqmhr3, hey, we should drop qtdeclarative5-dee-plugin from unity8 deps, should we not?07:53
mhr3Saviq, aren't we using it anywhere?07:55
Saviqmhr3, will check07:55
mhr3Saviq, but yea, from my pov, it isn't needed07:55
tsdgeosSaviq: hud?08:00
mhr3tsdgeos, do you know where can i find sailfish-specific qt patches?08:12
tsdgeosmhr3: maybe in mer?08:13
mhr3i was hoping for a link with directory listing of bunch of .patch files :)08:13
Saviqtsdgeos, HUD uses the C++ APIs internally, not the plugin anywhere?08:15
Saviqtsdgeos, i.e. grepping for Dee does not come up with anything QML08:16
tsdgeosmhr3: i have no idea tbh08:17
tsdgeosSaviq: but08:18
tsdgeos./Hud.qml:431:                            model: hudClient.results08:19
tsdgeos./hudclient.h:37:    DeeListModel *results() const;08:19
tsdgeoswe need dee, no?08:19
tsdgeosok, but maybe not the model since we don't use DeeListModel {} in qml08:21
tsdgeoss/model/plugin08:21
=== davidcalle_ is now known as davidcalle
Saviqtsdgeos, yeah exactly, the HUD plugin exports everything itself08:23
pstolowskiseb128, ping08:26
seb128pstolowski, hey08:27
pstolowskiseb128, hi! where do I find source files for translations of unity-lens-applications (trusty), for let's say - italian? i'm looking at https://bugs.launchpad.net/bugs/1312401 (which I can repro with it, but not pl), seems like there is a messup in translation08:29
ubot5Launchpad bug 1312401 in unity-lens-applications "Filter type names incorrect after upgrade to 14.04 and results don't correspond to the selected types" [Undecided,New]08:29
seb128pstolowski, https://translations.launchpad.net/ubuntu/trusty/+source/unity-lens-applications/+pots/unity-lens-applications/it/+translate08:30
=== shiznix is now known as Guest98474
pstolowskiseb128, thanks!08:31
seb128yw08:31
seb128pstolowski, if it timeout, try again, I had it to load after a few tries08:32
mhr3not surprised that translations cause bugs if rosetta keeps timing out :P08:35
pstolowskiseb128, mhr3 hmm, no luck, timing out...08:35
seb128lol08:36
seb128pstolowski, what string are you looking for?08:36
seb128pstolowski, https://translations.launchpad.net/ubuntu/trusty/+source/unity-lens-applications/+pots/unity-lens-applications/it/9/+translate08:36
seb128that's "Games"08:36
seb128pstolowski, you can also use https://translations.launchpad.net/ubuntu/trusty/+source/unity-lens-applications/+pots/unity-lens-applications/it/+translate?batch=10&show=all&search=Games and replace the search=08:37
pstolowskiseb128, yeah, that url works just fine (I can browse the strings and they look fine I think), but I cannot download a .po, not entire branch with bzr08:38
seb128pstolowski, why do you need a po?08:38
pstolowskiseb128, i'm not sure yet, just want to understand while PL locale works while IT is broken :/08:39
seb128pstolowski, you can download https://launchpad.net/ubuntu/+source/language-pack-gnome-it-base/1:14.04+20140410/+build/5900514/+files/language-pack-gnome-it-base_14.04%2B20140410_all.deb08:39
seb128that's what has the .mo08:39
seb128you can use msgunfmt the .mo to see the content08:40
pstolowskiseb128, cool, thanks for the hint. yeah, i've that installed on my system and I can reproduce the problem with IT08:41
* greyback waves hello08:49
* tsdgeos waves back to greyback08:49
Saviqtsdgeos, believe it or not it still conflicts... bzr is stupid :|08:52
Saviqgreyback, o/08:53
* Saviq leaves killqt51 merge for later :|08:54
tsdgeosSaviq: ?Ç¿08:55
tsdgeosok :/08:55
tsdgeosSaviq: are we landing this for utopic?08:55
tsdgeospaulliu: you there?08:56
Saviqtsdgeos, yes08:56
paulliutsdgeos: yes08:58
Saviqtsdgeos, FYI: http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qtdeclarative.git;a=shortlog08:59
tsdgeospaulliu: about the zooming branch, it is much better now08:59
tsdgeosbut it still feels a bit weird08:59
Saviqtsdgeos, all the → lines are package renames08:59
paulliutsdgeos: what's the weird thing?08:59
Saviqthat we're inheriting from debian08:59
tsdgeosSaviq: damn debianites :D08:59
larsupete-woods: your comment makes me wonder whether we should just limit the amount of items you can put into a gmenumodel09:00
tsdgeospaulliu: let me try to take a photo, probably will make it easier to show what i mean09:00
larsupete-woods: the added parameter is a gvariant list of the new items to add09:00
paulliutsdgeos: btw, I'm running unity8 on Galaxy Nexus, it is a bit slow now.09:00
pete-woodslarsu: ahh, okay, didn't realise, I was just thinking about all the same checks I added to HUD09:00
tsdgeospaulliu: it's not about speed :)09:00
paulliutsdgeos: ok09:00
larsupete-woods: but I guess if I restrict section size to something like 1000 you'll have problems with the hud? how many items do you usually have in there?09:00
larsuwould you be okay with any limit=?09:00
pete-woodslarsu: I think you're spot on with the idea of there being some sort of safety valve, though09:00
larsupete-woods: right. Normal menus will be totally fine with 1000 as a max, but will the HUD?09:01
pete-woodslarsu: the biggest app is Gimp, at least as far as I've discovered so far09:01
pete-woodslarsu: HUD is only dealing with normal menus09:01
pete-woodson the phone they're even smaller09:01
pete-woodslike 10 entries09:01
larsupete-woods: so total amount of menu items for the whole menu bar is the max for the hud09:02
larsumakes sense now that I think about it :)09:02
pstolowskiseb128, ok, I found where the problem is, it's in the translation file of home scope; it's also shipped with  language-pack-*-base - what should be the project to report the bug against?09:03
pete-woodslarsu: I'd be much happier with someone complaining their app needs a bit more space in HUD, than for someone to just blow HUD / unity-panel-service's memory usage through the roof09:03
seb128pstolowski, ubuntu-translations09:04
pstolowskiseb128, ty09:04
seb128yw09:04
larsupete-woods: I agree on the memory usage part, but what do you mean by "their app needs a bit more space in HUD"=09:05
larsu?09:05
pete-woodslarsu: I mean, say their menu had been truncated somehow09:05
pete-woodsand it only indexed the first 1000 items..09:05
pete-woodssomething like that09:05
seb128pstolowski, that bug already has a component for that, reassign the ubuntu part ot language-pack-gnome-it-base I guess09:05
larsupete-woods: cool, I'll do that than. Thanks09:06
larsu*then09:06
pete-woodslarsu: thanks :)09:07
tsdgeospaulliu: so this is the original situation http://imgur.com/txGuDoa and this after i do some zoom+pan http://imgur.com/P0NyuLo09:10
tsdgeospaulliu: i don't think it makes sense i can pan "past" the image09:10
tsdgeosand end up with 70% of empty space09:10
tsdgeospaulliu: am i making sense?09:10
seb128pstolowski, do you have specifics about what is wrong in those translations?09:19
paulliutsdgeos: ok. I got it.09:19
Saviqtsdgeos, there's transitional packages in place fortunately, but we still might get bitten here and there (I already have a branch to switch unity8's deps to the new names)09:23
tsdgeosgood :)09:31
* greyback back in 5, hoping reboot solves bluetooth bugs09:32
pstolowskiseb128, yes, i've added it to bug report09:33
seb128pstolowski, saw that, thanks09:33
SaviqCimi, re bug #1210458 - it's irrelevant now I'd say09:58
ubot5bug 1210458 in unity8 (Ubuntu) "Dash should scroll down before previewing if the previewed item is not fully on screen" [Undecided,New] https://launchpad.net/bugs/121045809:58
SaviqCimi, it was about the "see-through" part of the preview, which we don't have any more09:58
CimiSaviq, didn't realise we don't have it anymore :)09:59
Cimiyep, irrelevant09:59
SaviqCimi, already marked as such09:59
Saviq/food09:59
Cimiinteresting https://bugs.launchpad.net/unity8/+bug/128854810:15
ubot5Launchpad bug 1288548 in Unity 8 "can drag from all four edges simultaneously" [Undecided,New]10:15
tsdgeosbrrr, i got some cold tonight, feeling a bit sick-ish :/10:19
sil2100Trevinho: hello! I would like to ask some questions regarding LIM10:30
Trevinhosil2100: hi10:31
sil2100Trevinho: actually, I need to know if a bug someone reported to appmenu-qt5 is a bug in appmenu or LIM itself10:31
sil2100Trevinho: so, we got this bug reported: https://bugs.launchpad.net/unity/+bug/130208410:31
ubot5Launchpad bug 1302084 in appmenu-qt5 (Ubuntu) "Menu in the global title bar is missing after a window child in Qt5 applications" [Critical,In progress]10:31
sil2100Trevinho: it seems the bug only happens with LIM enabled, with global menu all works ok and the menu is correctly exported - with LIM it seems the system gets confused on where the menu should be located for Qt5 apps10:32
sil2100Trevinho: I checked from my appmenu-qt5 side, and it seems we're not doing anything specific in this case - when the child window appears no re-parenting happens, there's actually no action from the appmenu10:33
Trevinhosil2100: yeah, I know about that, but it's not an unity issue10:33
Trevinhosil2100: indicator-appmenu just doesn't give us the menus back in that case10:33
sil2100Trevinho: oh?10:33
Trevinhosil2100: yaeh, just try to call10:34
Trevinhogdbus call --session --dest com.canonical.Unity.Panel.Service.Desktop --object-path /com/canonical/Unity/Panel/Service --method com.canonical.Unity.Panel.Service.SyncOne 'libappmenu.so'10:34
Trevinhoafter that you've opened a child iwndow10:34
sil2100Trevinho: I'm a bit out-of-date in how LIM works, but is indicator-appmenu still used when LIM is enabled?10:34
Trevinhosil2100: indeed10:34
sil2100Trevinho: ok, so it's a known indicator-appmenu issue then - I'll try what you mentioned to double check :) THanks - do you know if we have a bug for that already?10:35
sil2100(besides this one?)10:35
Trevinhosil2100: mh, wait.. I've done another check now and it seems that the mnenus are there... IT's another issue then... We don't get the signal of the menus being updated, and that's probably the case, then... I was wrong about that10:38
Trevinhosil2100: I checked that long time ago, and it had all the symptoms of a weird indicator issue, but it seems only partially a problem10:38
Trevinhosil2100: I mean, the appmenu-qt should not, imho, expose menus for dialog windows10:39
=== MacSlow is now known as MacSlow|lunch
sil2100Trevinho: hmmm10:39
sil2100Trevinho: from appmenu-qt side of things, it so happens that we're not actually exporting anything new - it's like, we're exporting the main menu of the parent application when it's starting and then even when the dialog window is opened, we simply do not do anything - the previous menu is left exported and no additional action is performed10:41
sil2100Trevinho: is that not correct?10:41
sil2100Since theoretically, the child dialog window will never have a menu of its own, so Qt5 apps expect the main menu to be still used10:41
Trevinhosil2100: imho appmenu-qt should notify that menus changed anyway, and not exporting menus for child windows10:42
sil2100I'll try looking if that's possible, since hm, it's Qt5 that's deciding things like that most probably10:42
TrevinhoI think by design dialog windows should never expose menus (unless they don't provide one)10:42
sil2100Trevinho: ok, thanks for the info, I'll dig into that a bit more and poke you later if I have anything :)10:43
karnimhr3: any hits what could be the reason?10:50
karniSmartScopesClient.get_search_results(): Failed to retrieve search results for query 1210:50
karniSSQueryObject::run(): unity::LogicException: Node does not contain a string value10:50
karnimhr3: I can see the message, I just don't know what "Node" conceptually maps to in SSQueryObject10:51
karnimhr3: result set seems fine to me http://paste.ubuntu.com/7351649/10:51
mhr3karni, it will be json node10:51
karnioh10:51
mhr3so trying to read a string from the json, but can't10:51
mhr3karni, perhaps missing dnd_uri?10:52
mhr3not sure10:52
mhr3the error msg isn't overly helpful :)10:52
karniresult 'uri' is there, not sure what you mean by dnd_uri. also, found this https://code.launchpad.net/~stolowski/unity-scopes-api/optional-dnd-uri/+merge/20500210:53
mhr3karni, doesn't mean the json parser finds it optional too ;)10:56
mhr3of course if that's the issue, we need to fix it10:57
karnimhr3: this used to work on Friday, so I think it's not that :D must be my mistake somewhere.10:57
karniIgnore me for now.10:57
mhr3karni, ah, hm10:57
karnimhr3: ah, I was supposed to bug you about scope:// uri support ;D Although it's not as important as it was for me already. So, low prio.10:58
mhr3karni, :) i want to get to that today, but doing reviews and stuff atm11:00
karnikewl11:00
karnibesides having multiple JSON root elements, json formatter claims it's correct. what is up.11:01
mhr3karni, well, the only thing that isn't string is the use_background11:08
karnimhr3: it wasn't it. preparing an interesting paste for you.11:08
karnimhr3: sent you PM11:10
=== alan_g is now known as alan_g|lunch
karnihttps://bugs.launchpad.net/unity-scopes-api/+bug/131367311:36
ubot5Launchpad bug 1313673 in unity-scopes-api "Category JSON parser expects string in render_template" [Undecided,New]11:36
Cimihttps://bugs.launchpad.net/unity8/+bug/1234730 ?11:39
ubot5Launchpad bug 1234730 in Unity 8 "Scopes still visible with all plugins disabled" [Undecided,Triaged]11:39
mhr3Cimi, invalid now11:42
=== MacSlow|lunch is now known as MacSlow
=== alan_g|lunch is now known as alan_g
MacSlowSaviq, so after all https://code.launchpad.net/~macslow/unity-api/version-bump-to-0.1.3/+merge/216122 is not really needed, if the package-bump is happening with lp:~mhr3/unity-api/localized-strings12:36
SaviqMacSlow, read the second sentence in https://code.launchpad.net/~macslow/unity-api/version-bump-to-0.1.3/+merge/216122/comments/51634912:36
Saviqor third, actually12:37
mhr3Saviq, we really need to split up the shell interfaces12:37
mhr3they shouldn't be in lp:unity-api12:37
Saviqmhr3, it does get confusing a bit indeed12:37
Saviqmhr3, maybe they should just live with lp:unity8...12:37
MacSlowSaviq, there's no unity-notifications.pc.in12:38
mhr3Saviq, hm.. perhaps, didn't think where to put it12:38
Cimimhr3, still valid? https://bugs.launchpad.net/unity8/+bug/126324612:38
ubot5Launchpad bug 1263246 in Unity 8 "[Dash] clicking on search result causes click scope to receive two activations" [Undecided,New]12:38
SaviqMacSlow, sorry, it's set(Version...) in include/unity/shell/notifications/CMakeLists.txt12:40
MacSlowSaviq, or did you imply "unity-notifications-impl-3" with "unity-notifications.pc.in"?12:40
SaviqMacSlow, it ends up as unity-notifications.pc in the package12:40
MacSlowSaviq, oh... I didn't know that.12:40
MacSlowSaviq, on of those magic-behind-the-doors things of cMake?!12:41
SaviqMacSlow, not really, we're configuring the file explicitly, only using a single template instead of per-component ones12:41
mhr3Cimi, well, none of the code it points to gets executed these days12:41
mhr3Cimi, so i'd say no12:41
Cimimhr3, incomplete then12:42
Cimithx12:42
mhr3Cimi, is incomplete code for "let's hope it auto-expires in 60days"?12:42
Cimimhr3, ideally yes12:43
Cimimhr3, the point is to make sure valid bugs are not marked as invalid12:43
CimiSaviq, going to eat some kielbasa francuska12:45
=== _salem is now known as salem_
SaviqCimi, french don't do sausage :P12:46
mhr3Cimi, it's good you did that in polish, english would sound dirty :P12:46
Saviqsounds equally dirty in polish ;)12:46
CimiSaviq, bought in a polish shop12:47
CimiI just read the label :D12:47
Cimithey are pretty good12:48
Saviqright, so it's polish "french sausage", that makes (almost) more sense :)12:48
seb128Saviq, stop trolling the frenches!12:49
seb128"french don't do sausage"12:49
seb128where did you get that?!12:49
mhr3seb128, might be just french living near german border :)12:50
seb128shame that didrocks is not there to defend himself12:50
mhr3he's surely busy eating snails :)12:50
MacSlowSaviq, the version used in include/unity/shell/notifications/CMakeLists.txt needs to be 3 I assume12:51
SaviqMacSlow, yes12:51
MacSlowSaviq, ok... I hope now everything is finally in order12:57
SaviqMacSlow, k, will look12:57
=== jhodapp|afk is now known as jhodapp
CimiSaviq, was this due to openEffect? https://bugs.launchpad.net/unity8/+bug/128386513:17
ubot5Launchpad bug 1283865 in Unity 8 "Opening the dash preview causes high CPU usage" [Undecided,New]13:17
SaviqCimi, I doubt that13:17
SaviqCimi, this one would need evaluation still, but I don't think this is the case any more13:18
=== ken__ is now known as kenvandine
karniSaviq: hey man, howzit going :)? wanted to ask if we have already any support built in for departments or other fancy scope features, or still "just" search and categories.13:45
Saviqkarni, we still don't have those fancy things *designed*, dude13:45
Saviqor, to call it the other way, we have them designed 6 times over already13:45
Saviqand now we're waiting for another ;P13:46
karniSaviq: ah, kewl dude. was just wondering, cose I could make use of them now :D so, needed a small update. thanks :)13:46
karniSaviq: hehe, gotcha!13:46
Saviqbut yeah, there's first visuals incoming, so we'll be jumping on it soon, first tsdgeos is fixing the performance issues13:46
Saviqwe'll probably tackle emblem + attributes first, after ↑ is done13:47
Saviqbut that'd be small, and then departments here we come13:47
karniSaviq: very cool, thanks Michał!13:47
=== dandrader is now known as dandrader|afk
karnimhr3: actually, I take that back - I could make use of scope:// uris ;D (new work assigned, hehehe)13:56
mhr3karni, you might actually want the annotation results13:57
mhr3karni, facundo was just talking with pstolowski about them13:58
karniorly13:58
* karni chases facundo13:58
karnipstolowski: unless you want to tell me more about it? ↑13:58
pstolowskikarni, hi :)13:59
karnipstolowski: hi! so, any work going on around annotations?13:59
pstolowskikarni, scopes-api wise they're implemented, also scopes:// uris are there. take a look at the Annotation class. Annotation is meant to carry a canned query link(s) with label(s) and optional icon, with no ability to define their look. Once shell handles scopes:// uris, you will be able to put them in Result uris, and they will invoke search with arbitrary scope14:03
pstolowskikarni, to make it clear (I think putting everything in one paragraph made it confusing):14:04
karnipstolowski: lovely. so, we're basically waiting for ubuntu-scopes-shell work14:04
karnipstolowski: no, it made sense :)14:04
pstolowskikarni, there is Annotation class that you can use for simple links that are going to be displayed between categories14:04
karnipstolowski: is there a design doc for this?14:04
pstolowskikarni, and there are scopes:// uris which you'll be able to use as normal uris14:04
pstolowskikarni, the one and only big UX spec14:05
karnipstolowski: just wondering - so, if it's a remote scope, how would it make use of an Annotation class? has this been already figured out?14:05
karnipstolowski: the future dash ux doc?14:05
pstolowskikarni, yup14:06
pstolowskikarni, no, we've just been discussing this with facundobatista today14:07
karniaha14:07
CimiSaviq, https://bugs.launchpad.net/unity8/+bug/1201106 shall I write the JS math in C++?14:08
ubot5Launchpad bug 1201106 in Unity 8 "horizontal swipe of Videos Carousel makes unity consume as much as 90% cpu" [Low,Triaged]14:08
SaviqCimi, first this would require profiling14:08
SaviqCimi, to see that this actually is where the CPU is being eaten14:09
CimiSaviq, ok let's do it14:10
=== dandrader|afk is now known as dandrader
Wellarkhey! Any unity8 autopilot tooling experts around?14:32
balloonsWellark, also have a look in #ubuntu-autopilot14:33
WellarkI have specific questions about unity8 setup, but I will go there14:34
paulliudandrader: Can re-review? https://code.launchpad.net/~paulliu/unity-mir/logout/+merge/21633614:39
cwayneSaviq: mterry: hey, now that U is open, anything stopping the greeter-ux-fixes branch from landing?14:39
mterrycwayne, no.  It's approved, it will be in next unity8 landing I believe14:40
Saviqcwayne, Qt is stopping it14:43
Saviqcwayne, as in syncing from Debian, should be sorted today / tomorrow14:43
cwayneSaviq: ah, i gotcha.  thanks!14:44
dandraderpaulliu, ok14:46
dednickSaviq: I've found a way to get the current call from the telephny service with all the info I need for the active call display. But I believe we only want it to display if we havent got the phone app in focus. Any way you can think to do that?14:56
Saviqdednick, good question...14:57
dednickSaviq: i guess we could sniff the application manager for it?14:57
Saviqdednick, the obvious, hackish, solution would be to hardcode dialer-app somewhere14:57
dednickSaviq: yeah14:57
Saviqdednick, a potentially better way would be to route the info through the telephony service14:58
Saviqdednick, this would have the advantage of anything that was allowed talking to the service inhibiting the in-call hint14:58
dednickSaviq: hm. yeah. possibly through some registration mech.14:59
Saviqdednick, last, but not least, you interrogating telephony service, sounds limited - are we thinking to support 3rd party apps to use this hint?14:59
dednickSaviq: do apps know when they are "unfocused"?14:59
Saviqdednick, they might not know right now, but mterry is working on that AFAIK15:00
dednickSaviq: the telephony serices uses telepathy i think15:00
Saviqdednick, well, yeah, I'm just wondering what's the plan to support Skype, WhatsApp, G+ Hangouts etc.15:01
Saviqdednick, if all of them are meant to bind into telepathy - we're good - if not, we might need to think more about it15:01
mterrySaviq, I'm not especially working on the app side -- but apps do get mir lifecycle events in the form of Qt ApplicationActive events15:01
dednickSaviq: i'm pretty sure we discussed this awhile ago with telephony peeps, and we decided that if we want integration, we need it all to go through telepathy15:01
mterrydednick, ^15:01
Saviqdednick, ok, then I think all the info for that hint needs to come from there15:02
Saviqdednick, especially since we need to know what app to focus, and I think there will still be a separate Skype app, even if it will all go through telepathy15:03
Saviqthat's somewhat of a design / architecture question, too...15:03
Saviqsounds like we need a Malta session for this15:04
dednickSaviq: ya. good idea.15:04
Saviqkgunn, ↑ "support for 3rd-party voice / video calls (Skype, WhatsApp, Hangouts)"15:04
Saviqkgunn, I'm worried we need to inject that into the first week, though, and join remotely15:05
Saviqor maybe not, is phone "Core"?15:05
Saviqnope, Bill's folks are there for the first week15:06
dednickkgunn: speaking of breakouts - I remember you saying there should be one for trust sessions?15:08
CimiSaviq, tsdgeos is there a way to profile the carousel from make tryCarousel?15:10
SaviqCimi, sure, only you need to run qmlscene yourself15:11
SaviqCimi, and pass -qmljsdebugger=port:BLAH15:11
Saviqmaybe we should enable ↑ by default in try*15:12
Cimiyes please!15:12
CimiI was editing the cmake :)15:12
SaviqCimi, patches welcome!15:12
CimiSaviq, 3768 ?15:14
SaviqCimi, whatever15:14
SaviqCimi, that's the default probably15:14
Cimiyes15:15
CimiSaviq, you sure is the right flag? http://paste.ubuntu.com/7353052/15:17
CimiI see on the shell QML Debugger: Waiting for connection on port 3768...15:17
SaviqCimi, yeah, and?15:17
Cimibut when I start remote profiling in the IDE doesn't seem to work15:17
CimiUbuntuSDK15:17
SaviqCimi, you need to stop it15:17
SaviqCimi, to get data15:18
CimiI did15:18
Cimino data15:19
SaviqCimi, did you switch the tab?15:19
SaviqCimi, I get data in Timeline15:19
Saviqand Events15:20
Cimiof course I did15:20
SaviqCimi, SOA#1 then15:20
CimiSaviq, First I run the command15:21
Cimithen I enable external profiling in ubuntusdk15:21
CimiI go back to the qmlscene app and play with it15:21
Cimistop the profiling15:21
Cimino data...15:21
Cimihttp://paste.ubuntu.com/7353064/15:21
Cimifull make command line called15:21
SaviqCimi, works for me15:22
Saviqbut wow the rendering is b0rked :|15:22
CimiSaviq, hah like tsdgeos15:23
Saviqyeah15:23
CimiSaviq, well I can propose the branch but doesn't work here :D15:23
Cimialso tried running the command manually15:23
SaviqCimi, find out why it doesn't work, then :)15:23
Cimi/home/cimi/Development/unity8/carousel-perf/builddir/tests/uqmlscene/uqmlscene -qmljsdebugger=port:3768 /home/cimi/Development/unity8/carousel-perf/tests/qmltests/Components/tst_Carousel.qml -I /home/cimi/Development/unity8/carousel-perf/builddir/tests/utils/modules -I /home/cimi/Development/unity8/carousel-perf/builddir/tests/mocks15:23
Cimimaybe I am missing some qml modules?15:24
Saviqnot likely15:24
SaviqCimi, try telnetting into that port15:24
Saviqdoes the timer run in QtCreator?15:24
CimiSaviq, http://paste.ubuntu.com/7353064/15:25
Cimiops15:25
Cimicimi@draco:~/Development/unity8/carousel-perf/builddir$ telnet 127.0.0.1:376815:25
Cimitelnet: could not resolve 127.0.0.1:3768/telnet: Name or service not known15:25
Cimianyway no15:25
dandradermzanetti, Saviq, if you guys could chime in... https://code.launchpad.net/~paulliu/unity-mir/logout/+merge/216336/comments/51719015:26
mzanettidandrader: ack15:26
SaviqCimi, telnet doesn't understand colon15:26
SaviqCimi, space instead15:27
dandraderto me it feels like this logout api and how things are wired together deserves a bit more thought15:27
CimiSaviq, ok I can connect, but cannot see anything15:27
SaviqCimi, that's because QtCreator sends some commands to actually start the debugging15:30
SaviqCimi, it's some internal protocol15:30
CimiSaviq, but from telnet I see my commands like echoing in the app15:31
Cimion the terminal, output15:31
Cimiso maybe I can write that command in telnet15:31
mzanettidandrader: yeah. I don't think this belongs in the applicationmanager15:31
mzanettidandrader: feels more like a session API. Don't we get this from lightdm?15:32
dandradermzanetti, no idea15:35
mzanettidandrader: what exactly is the purpose of that? just to close down all apps on logout?15:35
dandradermzanetti, from AppManager's point of view: yes15:36
* mzanetti doesn't feel like we should expose a D-Bus iface for that... rather connect the AppMan to something else and react to a logout signal of some sort15:36
dandraderbut I just jumped on the subject when I saw that MP. not aware of the grand plan (if any)15:36
mzanettiI guess knowing the grand plan would be helpful here... Saviq, seems we need you on this when you have a minute15:37
Saviqdandrader, mzanetti, there indeed isn't a grand plan yet, I don't know enough about the legacy session management interfaces and mechanisms15:38
Saviqsomething we are planning to get through on Malta15:38
dandradermaybe mterry could add some insight?15:39
mzanettimaybe mterry can shed some light too, given he's our local lightdm expert15:39
mzanetti:)15:39
dandraderditto :)15:39
=== jhodapp is now known as jhodapp|lunch
* mterry reads back15:39
SaviqTrevinho, kudos!15:39
Saviqdavmor2, you too!15:39
TrevinhoSaviq: thank you! :)15:40
=== alan_g is now known as alan_g|afk
davmor2thanks15:40
mterrymzanetti, dandrader: are you guys talking about logging out?15:40
mzanettimterry: yes15:40
mzanettiwho triggers that, and how would re react in unity8 to it?15:40
mzanettis/re/we/15:40
mterrymzanetti, dandrader: lightdm doesn't actually manage that.  I think in GNOME and unity7 there is a DBus name owned by the shell that handles that15:41
mzanettimterry: so the whole session management thing is handled by the shell?15:41
mterrymzanetti, dandrader: and then lightdm notices that the process it started died and shows a greeter15:41
Saviqyeah. org.gnome.SessionManager15:41
mzanettiah... I see15:41
Saviqand that's from gnome-session15:41
mterrymzanetti, dandrader: note that for locking or switching to a new user, lightdm does get involved15:42
mzanettiok15:42
mzanettibut its the shell probably that calls LightDM::startNewSession() or similar15:42
Saviqmterry, also, for power button, right? 'cause if there's no session manager, power button or ctrl+alt+del goes through to the vt and acts directly even from X15:42
mterrymzanetti, greeter asks lightdm to start a new session when user logs in, then lightdm starts the appropriate process15:42
Saviqorg.gnome.SessionManager is rather big15:43
mterrymzanetti, so lightdm launches shell, not the other way around15:43
mzanettiyeah sure, I meant when you're in a session and want to start a second one15:43
mzanettibut anyways... I got the idea15:43
mterrySaviq, shell handles power button today yeah15:43
mterrySaviq, and likely in future too15:43
mzanettiok... so we need an interface in the shell.15:43
Saviqmterry, sure, but it's not a simple key event, is it15:43
mterrymzanetti, ah yeah.  If you want to switch to another user, there is a lightdm DBus interface for asking for that15:44
Saviqmterry, since if you have an empty X11 server, power button and c+a+d do halt/reboot15:44
Saviqmterry, so it's the session manager that prevents that from happening, seb128 mentioned some inhibition mechanism15:44
Saviqmzanetti, dandrader, in any case, what Paul was doing was a quick'n'dirty thing to allow logging out from the unity8 preview session15:45
mterrySaviq, I'd have to confirm, but I think it's just that whichever session has input focus gets the press, eh?15:45
seb128Saviq, mterry: http://www.freedesktop.org/wiki/Software/systemd/inhibit/15:45
mzanettiSaviq: ok... do we want the quick'n'dirty?15:45
Saviqmzanetti, dandrader, looking as we don't have a grand plan on that yet, I'd rather land something that's good-enough15:45
mterryseb128, OK. Saviq ^ new and shiny way to do it15:45
mzanettidandrader: Saviq: imo it still should be a own plugin, not in the ApplicationManager plugin15:47
=== alan_g|afk is now known as alan_g
mzanettishould still be quick enough15:47
Saviqmzanetti, sure, I actually have no hard opinion on this... not until we come up with a grand plan ;)15:48
Saviqso I'll let you guys compromise :)15:48
Saviqdandrader, ↑15:49
mzanettiyeah... so especially if this is quickndirty I don't think the already complex applicationmanager should get more quick'n'dirty stuff15:49
mzanettijust a Unity.Session plugin with a signal logoutRequested() and a slot logout() should do I guess15:50
dandradermzanetti, there are two kinds of logout calls coming through d-bus: one that should just logout immediately and another that will prompt the user for acknowledgement15:53
mzanettidandrader: ah ok... so yes, slightly more then, but still a sepearate plugin for the dbus iface, no?15:56
dandradermzanetti, and if it's quick and dirty, we don't need to change AppMan at all. just but that loop to close all apps in unity8 and be done with it15:56
mzanettiand then just close all the apps through AppManager's unity-facing API15:56
mzanettiyep15:56
dandraders/just but/just put15:57
dandraderright15:57
mzanettiwell, I could see a use for ApplicationManager::closeAll() in the future too... but yeah, to not have to bump unity-api and everything we can just loop over them in qml15:57
mzanettiand add the closeAll in the next unity-api iteration15:58
dandraderok, so we have an agreement. will update the MP.15:58
mzanettithanks15:58
CimiSaviq, tried still no luck16:02
SaviqCimi, dunno how to help you, didn't hear anyone having such issues - try with a small QML UI project started from QtCreator itself16:03
CimiSaviq, qmlprofiler -p 3768 -attach 127.0.0.1 works for me16:06
CimiSaviq, with qmlprofile you press r to start/stop recording16:06
Cimithen it saves to a file I import in the sdk16:06
SaviqCimi, so sounds like qtcreator fails?16:07
CimiSaviq, yeah16:07
SaviqCimi, wonder if the ubuntu plugins cause that (I don't have them installed)16:07
CimiSaviq, https://code.launchpad.net/~cimi/unity8/qmljsdebugger/+merge/21747416:10
=== jhodapp|lunch is now known as jhodapp
CimiSaviq, confirm is the ubuntu plugin that breaks qtcreator profiling16:41
=== dandrader is now known as dandrader|lunch
* mterry upgrades to utopic17:41
cwaynemterry: freals?17:42
mterrycwayne, felt wrong to be on a stable release17:42
cwaynemterry: welp, i might as well do it too17:42
mterrycwayne, that's the spirit!  ;)17:43
cwaynei need some challenge, ya know17:43
cwayne14.04 is too boring :P17:43
mterrykgunn, what has to happen to transition a silo like 002 to utopic?18:14
=== dandrader|lunch is now known as dandrader
kgunnmterry: i think they have to "take down the silo" and retarget it18:47
kgunnmterry: do you want that to happen now ?18:47
mterrykgunn, sure?  And add lp:~mterry/lightdm/resettable while there, if you can18:48
kgunnmterry: ok...the main thing, you'll lose whatever packages are there right now18:48
kgunnof course, you'll get new utopic ones soon after18:49
kgunnmterry: btw, i already had that mp in there....18:50
mterrykgunn, I know we talked about it last week, but I didn't see it in the PPA, so wasn't sure18:53
kgunnmaybe it didn;t build ?... i'll double check it this go round mterry18:54
mterrykgunn, I solved a merge conflict with the branch today, maybe that conflict happened last week before you built it18:56
SaviqCimi, filed bug?19:49
=== dandrader is now known as dandrader|afk
=== salem_ is now known as _salem
=== dandrader|afk is now known as dandrader

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