=== dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader [12:04] ltinkl: mzanetti: regarding the https://code.launchpad.net/~lukas-kde/unity8/reparent-cursor/+merge/319135 [12:04] where do you see UITK is doing the weirdo reparenting? [12:04] zsombi, copy/paste popups mainly [12:05] zsombi, a sec [12:05] mzanetti: you mean the popups in general? [12:05] yes [12:05] I think we already hacked our own dialogs to not do that [12:05] but yeah, the copy/paste ones are broken still (e.g. wrong orientation in the shell on a tablet) [12:06] and covering the mouse cursor [12:06] zsombi, QQuickItem *QuickUtils::rootItem(QObject *object) [12:06] well, that is a f* up, indeed, and it is a result of one MWC quickie that never got the opportunity to be cleaned properly :/ [12:07] zsombi, I added uitk to #1667928 [12:08] that was the way it has been specified, and without proper window mangement at that time there was no way to have an overlay which would have been residing on top of everything :( [12:08] ltinkl: is that a bug related to this change? [12:08] zsombi, yup [12:08] zsombi, above everything == above cursor as well :) [12:08] for the case of shell [12:09] ltinkl: I am sorry, that cannot be fixed without breaking the APIs [12:09] that's why we had not been doing much about those [12:09] and it si not worth teh effort as QQC2 would bring the proper popups and dialogs we'd need [12:10] zsombi, ye well... we also hope for a proper HW cursor on Mir side [12:10] :) === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader [14:39] Saviq, ltinkl: https://code.launchpad.net/~mterry/unity8/fix-two-qmluitests/+merge/319214 -- how do I turn the OSK off? [14:39] whoops! [14:39] wrong link [14:40] mterry, `gsettings set com.canonical.Unity8 always-show-osk false` [14:40] or use the keyboard indicator [14:40] Saviq: not in the greeter -- indicator doesn't show toggle there [14:40] mterry, right, then gsettings [14:41] yup, that should do [14:41] Saviq: I was more curious from a user perspective? [14:41] If I'm a user, Imma click that keyboard button at least once to see what it does [14:41] mterry, it would show the switch there [14:41] And then never get rid of osk [14:41] that's part of the problem - the switch isn't there ;0 [14:41] Saviq: design didn't want that since the user can disable pulling down indicators [14:41] mterry, or, if indicators unavailable, the next time you go into greeter, the switch would get overriden again [14:42] mm [14:42] Well anyway: https://code.launchpad.net/~mterry/unity8/greeter-osk/+merge/319215 [14:42] ltinkl: ^ [14:42] I voted for "pull down keyboard to disable it again" [14:42] but design didnae like [14:42] That branch can easily be pulled into a silo if we're not off to QA yet -- just a simple shell script change [14:43] mterry, nice :) [14:43] yeah, let's do that [14:44] mterry, nice, will that also help the lockscreen? [14:45] ltinkl: OSK is also broken in lockscreen? I didn't know that. This will not help there [14:45] mterry, not broken but the switch isn't accessible either [14:46] mterry, nvm :) [14:46] ltinkl: oh sure -- this branch doesn't address the bad UI design, it just fixes the OSK not coming up at all :) [14:46] mterry, for the greeter only, got it [14:46] yeah === dandrader is now known as dandrader|afk [14:58] mterry, Saviq: ah reminds me, we should somehow drag in the ubuntu-keyboard-english package as a minimal dep; ppl will complain about the broken OSK [14:58] to unity8-desktop-session? [14:58] ltinkl, ubuntu-keyboard does pull that in [14:59] so as long as we depend on that [14:59] Saviq, hmm... wonder how come mterry didn't have it yday when testing [14:59] I didn't have ubuntu-keyboard either I don't think [14:59] ye [14:59] I could have uninstalled it at some point? [14:59] maybe we're pulling maliit-framework and that's wrong [14:59] I dunno, my machine is insane -- not likely to be what user has [14:59] or rather [14:59] nothing at all [14:59] and you installed maliit-framework manually [15:00] so yeah, unity8-desktop-session would have to pull in ubuntu-keyboard [15:00] just one problem there... MIR [15:00] And FFe at this point [15:00] or maybe not [15:00] right, maliit's in universe [15:00] u-k in main [15:00] ¿? [15:01] Saviq: u-k in universe [15:02] ah /me was looking at our silo [15:02] yeah, so all of it in universe still [15:02] which is, maybe, OK [15:02] but we should then not show the keyboard icon unless maliit-server is there, and running [15:02] that'd be the solution for 17.04 IMO [15:03] and later we might decide if ubuntu-keyboard belongs in main [15:05] ltinkl: is the keyboard icon smart about that? [15:11] mterry, it's not, yet [15:11] neither is the switch [15:11] but should be relatively easy to add a check for maliit in there [15:12] like, we know when we have an Input Method surface - if we don't, don't show the switches? [15:12] and ltinkl gone [15:19] Saviq, ltinkl: So I had the stay-hidden maliit gsettings key set to true from some past adventures I guess. What percent of users are going to hit same problem and not be able to see OSK? Is there a reason we toggle our own key instead of that one? [15:19] mterry, it's not, yet [15:19] neither is the switch [15:19] but should be relatively easy to add a check for maliit in there [15:19] like, we know when we have an Input Method surface - if we don't, don't show the switches? [15:19] and ltinkl gone [15:19] (Can we toggle that key in addition to ours?) [15:19] Saviq, mterry: back [15:20] mterry, I *think* we manage stay-hidden as well [15:20] Saviq, we don't afaik [15:20] oh ok, wonder if maliit should reset that, then [15:21] we've too many keys doing ~the same [15:21] yeah it's confusing what is what [15:21] Why did we add our own? [15:21] ask Elleo :) [15:21] ltinkl: it's in your branch :) [15:22] mterry, ah you mean always-show-osk? [15:22] mterry, right, I could have used stay-hidden, but hadn't known about it (we never used it) [15:22] ltinkl: yeah [15:23] ltinkl: is it too late? :) [15:23] mterry, yes! ;) but can be changed in a followup branch later? [15:23] :( [15:23] That means synchronizing state later [15:23] And in meantime plenty of people (like me) may not see OSK like they intended [15:24] hmm but also means now we'd have to change indicator-keyboard, unity8 and u-s-s [15:24] And whatever tools exist to toggle that state in maliit, won't work in unity8 [15:25] Well I leave it to Saviq to decide how bad it is, but that would have been a NAK during review from me [15:25] ltinkl, mterry, not really too late, is it, but is stay-hidden the right thing? mzanetti, why didn't we use stay-hidden to inhibit OSK? [15:26] * mterry doesn't know if the keys are perfect overlap, but seems like we use them similarly. Maybe they do have nuance that's different [15:27] mzanetti: (stay-hidden is a key in the com.canonical.keyboard.maliit schema to disable keyboard) === dandrader|afk is now known as dandrader [15:28] Elleo, we were discussing the usefulness of having "always-show-osk" in our u8 schema when com.canonical.keyboard.maliit already has "stay-hidden" [15:28] Elleo, are they the same? [15:29] ltinkl: they're effectively the opposite of each other, I was actually just preparing a branch to remove stay-hidden from the keyboard [15:29] ltinkl: stay-hidden is how unity8 used to tell the keyboard to stay hidden before it took over hiding the surface itself [15:30] ah ok that solves it I guess ;) [15:30] Saviq, mterry ^^ [15:30] ltinkl: so it's redundant now [15:31] nice [15:31] ltinkl: back to ACK then :P [15:31] WFM [15:37] Saviq, mterry, what's the question? [15:38] mzanetti, keep calm, carry on [15:38] :) === dandrader is now known as dandrader|afk [19:07] tedg: so I'm looking at launching gnome-terminal on deb-based-unity8 on zesty. It fails to start because its backend user daemon can't connect to Mir (says "not accepted by server") -- is there some UAL magic around configuring a process such that unity8 will deign to talk to it, that might not be happening here for a dbus-activated user daemon? [19:10] mterry: Uhm.... we don't really cater to that example... [19:10] mterry: If it could start the first one not dbus activated, we'd pick it up easily. [19:10] mterry: As it'd have an instance that first time. [19:11] mterry: Not sure if it has a command line for that. [19:11] tedg: that's a pretty common GtkApplication pattern though, to spin a single-instance user daemon right? [19:11] mterry: I thought that they did that for first run, and then talked to it over dbus for secondary runs. [19:12] Not to dbus-activate it first time. [19:12] tedg: oh maybe that's how it's normally done then. But gnome-terminal seems special [19:12] No command line arg that I can see [19:15] tedg: what is technically happening behind the scenes here? I'm not familiar with not being accepted by the server -- are processes denied access to Mir unless UAL blesses them? [19:15] And in this case, I'm assuming UAL isn't blessing it because it doesn't recognize it as connected to the launching process [19:16] mterry: Yes, basically we put them into a systemd service. If things aren't a PID of that service, we reject them. [19:45] tedg: hmm, how do I debug what UAL is actually doing/launching? i.e. get a look at the temp service? [19:46] The org.gnome.Terminal systemd unit is being started by UAL instead of just launching the command gnome-terminal it looks like === dandrader|afk is now known as dandrader [19:46] mterry: Probably easiest is to use the command line tools: ubuntu-app-* [19:46] mterry: That has most of the API pulled out for debugging purposes [19:46] tedg: which don't have --help or man pages :P [19:47] mterry: If not that, you can also query systemd directly with d-feet/gdbus [19:47] The temp units are ephemereal though right? [19:47] mterry: Haha, they do print if they need args [19:47] mterry: Correct, so they'll disappear after running. [19:47] But while running, you can use dbus to get information.