/srv/irclogs.ubuntu.com/2017/03/07/#ubuntu-unity.txt

=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
zsombiltinkl: mzanetti: regarding the https://code.launchpad.net/~lukas-kde/unity8/reparent-cursor/+merge/31913512:04
zsombiwhere do you see UITK is doing the weirdo reparenting?12:04
mzanettizsombi, copy/paste popups mainly12:04
ltinklzsombi, a sec12:05
zsombimzanetti: you mean the popups in general?12:05
mzanettiyes12:05
mzanettiI think we already hacked our own dialogs to not do that12:05
mzanettibut yeah, the copy/paste ones are broken still (e.g. wrong orientation in the shell on a tablet)12:05
mzanettiand covering the mouse cursor12:06
ltinklzsombi, QQuickItem *QuickUtils::rootItem(QObject *object)12:06
zsombiwell, 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:06
ltinklzsombi, I added uitk to #166792812:07
zsombithat 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
zsombiltinkl: is that a bug related to this change?12:08
ltinklzsombi, yup12:08
ltinklzsombi, above everything == above cursor as well :)12:08
ltinklfor the case of shell12:08
zsombiltinkl: I am sorry, that cannot be fixed without breaking the APIs12:09
zsombithat's why we had not been doing much about those12:09
zsombiand it si not worth teh effort as QQC2 would bring the proper popups and dialogs we'd need12:09
ltinklzsombi, ye well... we also hope for a proper HW cursor on Mir side12:10
zsombi:)12:10
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
mterrySaviq, ltinkl: https://code.launchpad.net/~mterry/unity8/fix-two-qmluitests/+merge/319214  -- how do I turn the OSK off?14:39
mterrywhoops!14:39
mterrywrong link14:39
Saviqmterry, `gsettings set com.canonical.Unity8 always-show-osk false`14:40
Saviqor use the keyboard indicator14:40
mterrySaviq: not in the greeter -- indicator doesn't show toggle there14:40
Saviqmterry, right, then gsettings14:40
ltinklyup, that should do14:41
mterrySaviq: I was more curious from a user perspective?14:41
mterryIf I'm a user, Imma click that keyboard button at least once to see what it does14:41
Saviqmterry, it would show the switch there14:41
mterryAnd then never get rid of osk14:41
Saviqthat's part of the problem - the switch isn't there ;014:41
mterrySaviq: design didn't want that since the user can disable pulling down indicators14:41
Saviqmterry, or, if indicators unavailable, the next time you go into greeter, the switch would get overriden again14:41
mterrymm14:42
mterryWell anyway: https://code.launchpad.net/~mterry/unity8/greeter-osk/+merge/31921514:42
mterryltinkl: ^14:42
SaviqI voted for "pull down keyboard to disable it again"14:42
Saviqbut design didnae like14:42
mterryThat branch can easily be pulled into a silo if we're not off to QA yet -- just a simple shell script change14:42
Saviqmterry, nice :)14:43
Saviqyeah, let's do that14:43
ltinklmterry, nice, will that also help the lockscreen?14:44
mterryltinkl: OSK is also broken in lockscreen?  I didn't know that.  This will not help there14:45
ltinklmterry, not broken but the switch isn't accessible either14:45
ltinklmterry, nvm :)14:46
mterryltinkl: oh sure -- this branch doesn't address the bad UI design, it just fixes the OSK not coming up at all  :)14:46
ltinklmterry, for the greeter only, got it14:46
mterryyeah14:46
=== dandrader is now known as dandrader|afk
ltinklmterry, Saviq: ah reminds me, we should somehow drag in the ubuntu-keyboard-english package as a minimal dep; ppl will complain about the broken OSK14:58
ltinklto unity8-desktop-session?14:58
Saviqltinkl, ubuntu-keyboard does pull that in14:58
Saviqso as long as we depend on that14:59
ltinklSaviq, hmm... wonder how come mterry didn't have it yday when testing14:59
mterryI didn't have ubuntu-keyboard either I don't think14:59
ltinklye14:59
mterryI could have uninstalled it at some point?14:59
Saviqmaybe we're pulling maliit-framework and that's wrong14:59
mterryI dunno, my machine is insane -- not likely to be what user has14:59
Saviqor rather14:59
Saviqnothing at all14:59
Saviqand you installed maliit-framework manually14:59
Saviqso yeah, unity8-desktop-session would have to pull in ubuntu-keyboard15:00
Saviqjust one problem there... MIR15:00
mterryAnd FFe at this point15:00
Saviqor maybe not15:00
Saviqright, maliit's in universe15:00
Saviqu-k in main15:00
Saviq¿?15:00
mterrySaviq: u-k in universe15:01
Saviqah /me was looking at our silo15:02
Saviqyeah, so all of it in universe still15:02
Saviqwhich is, maybe, OK15:02
Saviqbut we should then not show the keyboard icon unless maliit-server is there, and running15:02
Saviqthat'd be the solution for 17.04 IMO15:02
Saviqand later we might decide if ubuntu-keyboard belongs in main15:03
mterryltinkl: is the keyboard icon smart about that?15:05
Saviqmterry, it's not, yet15:11
Saviqneither is the switch15:11
Saviqbut should be relatively easy to add a check for maliit in there15:11
Saviqlike, we know when we have an Input Method surface - if we don't, don't show the switches?15:12
Saviqand ltinkl gone15:12
mterrySaviq, 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
Saviq<Saviq> mterry, it's not, yet15:19
Saviq neither is the switch15:19
Saviq but should be relatively easy to add a check for maliit in there15:19
Saviq like, we know when we have an Input Method surface - if we don't, don't show the switches?15:19
Saviq and ltinkl gone15:19
mterry(Can we toggle that key in addition to ours?)15:19
ltinklSaviq, mterry: back15:19
Saviqmterry, I *think* we manage stay-hidden as well15:20
ltinklSaviq, we don't afaik15:20
Saviqoh ok, wonder if maliit should reset that, then15:20
Saviqwe've too many keys doing ~the same15:21
ltinklyeah it's confusing what is what15:21
mterryWhy did we add our own?15:21
ltinklask Elleo :)15:21
mterryltinkl: it's in your branch  :)15:21
ltinklmterry, ah you mean always-show-osk?15:22
ltinklmterry, right, I could have used stay-hidden, but hadn't known about it (we never used it)15:22
mterryltinkl: yeah15:22
mterryltinkl: is it too late?  :)15:23
ltinklmterry, yes! ;) but can be changed in a followup branch later?15:23
mterry:(15:23
mterryThat means synchronizing state later15:23
mterryAnd in meantime plenty of people (like me) may not see OSK like they intended15:23
ltinklhmm but also means now we'd have to change indicator-keyboard, unity8 and u-s-s15:24
mterryAnd whatever tools exist to toggle that state in maliit, won't work in unity815:24
mterryWell I leave it to Saviq to decide how bad it is, but that would have been a NAK during review from me15:25
Saviqltinkl, 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:25
* mterry doesn't know if the keys are perfect overlap, but seems like we use them similarly. Maybe they do have nuance that's different15:26
mterrymzanetti: (stay-hidden is a key in the com.canonical.keyboard.maliit schema to disable keyboard)15:27
=== dandrader|afk is now known as dandrader
ltinklElleo, 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
ltinklElleo, are they the same?15:28
Elleoltinkl: they're effectively the opposite of each other, I was actually just preparing a branch to remove stay-hidden from the keyboard15:29
Elleoltinkl: stay-hidden is how unity8 used to tell the keyboard to stay hidden before it took over hiding the surface itself15:29
ltinklah ok that solves it I guess ;)15:30
ltinklSaviq, mterry ^^15:30
Elleoltinkl: so it's redundant now15:30
mterrynice15:31
mterryltinkl: back to ACK then  :P15:31
SaviqWFM15:31
mzanettiSaviq, mterry, what's the question?15:37
Saviqmzanetti, keep calm, carry on15:38
mzanetti:)15:38
=== dandrader is now known as dandrader|afk
mterrytedg: 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:07
tedgmterry: Uhm.... we don't really cater to that example...19:10
tedgmterry: If it could start the first one not dbus activated, we'd pick it up easily.19:10
tedgmterry: As it'd have an instance that first time.19:10
tedgmterry: Not sure if it has a command line for that.19:11
mterrytedg: that's a pretty common GtkApplication pattern though, to spin a single-instance user daemon right?19:11
tedgmterry: I thought that they did that for first run, and then talked to it over dbus for secondary runs.19:11
tedgNot to dbus-activate it first time.19:12
mterrytedg: oh maybe that's how it's normally done then.  But gnome-terminal seems special19:12
mterryNo command line arg that I can see19:12
mterrytedg: 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
mterryAnd in this case, I'm assuming UAL isn't blessing it because it doesn't recognize it as connected to the launching process19:15
tedgmterry: Yes, basically we put them into a systemd service. If things aren't a PID of that service, we reject them.19:16
mterrytedg: hmm, how do I debug what UAL is actually doing/launching?  i.e. get a look at the temp service?19:45
mterryThe org.gnome.Terminal systemd unit is being started by UAL instead of just launching the command gnome-terminal it looks like19:46
=== dandrader|afk is now known as dandrader
tedgmterry: Probably easiest is to use the command line tools: ubuntu-app-*19:46
tedgmterry: That has most of the API pulled out for debugging purposes19:46
mterrytedg: which don't have --help or man pages  :P19:46
tedgmterry: If not that, you can also query systemd directly with d-feet/gdbus19:47
mterryThe temp units are ephemereal though right?19:47
tedgmterry: Haha, they do print if they need args19:47
tedgmterry: Correct, so they'll disappear after running.19:47
tedgBut while running, you can use dbus to get information.19:47

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