/srv/irclogs.ubuntu.com/2016/11/11/#ubuntu-unity.txt

tsdgeosMirv: https://code.launchpad.net/~timo-jyrinki/unity8/nochangerebuild/+merge/308027 ?09:41
Mirvtsdgeos: changed to WIP. related to a silo to try to fix the arm64 new kernel issues which didn't however give fully error free results.10:05
tsdgeosoki10:05
Mirv5.7.1 would include all the patches, if that would work good then that'd give hope for 5.6.2 + patches or 5.6.3.10:05
Mirvif only I had time to work on Qt at some point, hopefully in January10:06
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
om26ergreyback: hello13:26
om26ergreyback: you work on window management of unity8, right ?13:26
om26erIt seems under Mir/Unity8 QML elements of apps report their globalRect relative to their window container and not relative to the display. This breaks autopilot for unmaximized windows.13:29
bregmaom26er, the whole concept of "relative to the display" is nonsense, if autopilot depends it then autopilot is broken13:33
Saviq+1, autopilot should deliver events to a Mir surface with the relative geometry, only way to solve it13:34
om26erbregma: it kind of is broken, NOW ;)13:36
om26erSaviq: right, can we talk to unity to get geometry of a surface or do we need to go one level up... to Mir ?13:38
Saviqom26er, you don't want "geometry of the surface"13:40
Saviqom26er, you want to talk to Mir to send an event to the client directly, not through udev13:40
om26erSaviq: interesting, in that case, do I even need to worry which type of event(touch or click) the client should receive, or will Mir decide that on its own ?13:43
Saviqom26er, of course you do13:45
Saviqom26er, or rather, the test does, because behaviour might be different13:45
om26erSaviq: got any pointers on where I should look, to get started ?13:46
Saviqdandrader, do we have anywhere we could direct om26er about injecting input events to clients? ↑13:48
dandraderSaviq, om26er I heard about some mir api that can be used to query the mirserver (unity8) on the whereabouts of client windows on screen. and with that info you could inject the corret events on udev13:49
dandraderom26er, better ask about it on #mir13:49
Saviqdandrader, that would depend on the shell implementation though13:49
SaviqI'm not sure that's the direction we want to go13:49
dandraderSaviq, as soon as unity8 uses miral, mir will have that info, so that mir API will work (so I was told)13:50
dandraderSaviq, I don't know whats the overall plan on that area13:50
om26erdandrader: curious to know, in a confined world wouldn't injecting input events through Mir be a challenge ?13:53
dandraderom26er, I thought autopilot was injecting them at udev level, so that's not affected by confinement.13:54
dandraderbut autopilot would need uber powers on a full-snap system for that to work, naturally13:55
om26erdandrader: saviq suggests to stop injecting events through evdev and request Mir to do that on our behalf13:55
dandraderom26er, ah, ok13:56
dandraderstill don't know much about snaps, so can't say any further13:57
Saviqsure it is affected by confinement, same as the other approach (we'd somehow need to authenticate autopilot to be able to do this)13:57
greybacksorry I was at lunch13:58
om26erdandrader: the current aim is to just enable autopilot under Mir desktop (without confinement). The main blocker that we discovered just recently is that content within an app container have their globalRect relative to their window container and not to the screen. So that causes issues for unmaximized windows13:59
greybackom26er: right, work needs to be done to enable that. As was said above, there is a mir api where a client can request the absolute position of its surface on screen.14:01
greybackbut for technical reasons, we need to use the miral-based unity8 code, in order for that api to function correctly14:02
om26ergreyback: ok, that brings me to the queston, can I use it today ? or should I wait for all window management to move to MirAL ?14:03
greybackom26er: easiest is to wait for window management in Miral. Otherwise we have to do work for the short term, that we'll throw away when we land the Miral stuff14:04
om26ergreyback: hmm :/ I am kind of blocked as I was told to enable autopilot on Mir desktop before first Personal all-snap images.14:06
greybackom26er: I understand that, I wish I had better news. You could help us with the enablement with the miral-based code14:08
greybackom26er: there are a bunch of work items to be done for it, and we'd be happy for the help14:08
om26ergreyback: heh, not sure if I have the skills to help there. Is there a place to track what's remaining to be done ?14:11
greybackom26er: not yet, but I can put that together14:13
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dmj_s76Trevinho: Wanted to get some thoughts on improving hidpi support for Unity wrt 16.04, 16.10 and going forward.21:32
Trevinhodmj_s76: hey21:32
Trevinhodmj_s76: what you'd like to get.21:33
dmj_s76I've done some basic testing of https://code.launchpad.net/~kaihengfeng/unity/set-hidpi-scale-factor and verified that it enables scaling on a hidpi laptop and does the right thing with an external monitor.21:33
dmj_s76(Still need to test across the rest of our product lineup, but initially I'm quite happy with it.21:34
dmj_s76What would be your thoughts about backporting these changes to the Unity in xenial and yakkety?21:36
dmj_s76What kind of updates does Unity usually get as far as LTS point releases?21:39
dmj_s76This is part of a project at System76 to improve 4K/HiDPI support on Ubuntu.21:40
dmj_s76Trevinho: ^^21:45
Trevinhodmj_s76: ah, that one was something that I wanted to check further, I've not the hw here.. i Can simulate it though, but Andrea was looking at it more closely. The idea is ok, however problably it would be better to have such code inside unity-settings-daemon21:47
dmj_s76unity-settings-daemon seems to specifically defer to unity for some reason.21:48
Trevinhodmj_s76: however, if the change provides some fixes, we're now quite flexible on SRUing it to xenial (and yakkety, although this has less prio) after a staging period in zesty, so that we can verify it works21:48
Trevinhodmj_s76: yeah, well... Actually it was mostly an error of the past I think... I should have done that in usd instead that unity... However if it's still possible to move some logic there is fine. Otherwise I'm fine to continue in doing this in unity21:49
Trevinho(andyrock: on monday, read above ^^^^)21:49
dmj_s76Either merging these changes or pulling in the changes from gnome-settings-daemon would be a fine solution from my end.21:51
dmj_s76Either way, an SRU would be much appreciated.  We're looking to offer HiDPI soon, which means xenial and yakkety need to work well.21:53
dmj_s76I can provide testing on hidpi hardware, external displays, and a number of non-hidpi laptops to make sure there aren't any regressions.21:57
dmj_s76Trevinho: ^^21:57
Trevinhodmj_s76: good, we can work out a solution... If backporting something from gnome-settings-daemon is a solution, then we can follow also that path being tested code... But g-s-d has the problem that it only integer scaling, as all gnome. We have floating point scaling22:01
Trevinhoor sort of...22:01
Trevinhoso....22:01
Trevinhodmj_s76: that's a good conversation to do, and I'm happy to help btw... Ping me and andyrock next week, and we'll sort out the best solution.22:02
Trevinhodmj_s76: you can also ask in #ubuntu-desktop so  we can discuss also with others.22:02
dmj_s76Sure, I'll bring it up monday.22:03
andyrockhey yeah we should understand why unity is a special case22:03
dmj_s76Trevinho: andyrock: So installation and OEM firstboot should probably work correctly if the scaling code is in unity-settings-daemon23:29
dmj_s76System76 can work around OEM firstboot in our mastering process, but just working there and fixing the regular install process for hidpi would be a plus.23:30

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