/srv/irclogs.ubuntu.com/2016/11/04/#ubuntu-mir.txt

=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
om26erRAOF: hello07:39
dufluom26er: He seems to be away today07:41
om26erduflu: oh, ok. I was told to contact RAOF regarding libmirclient-debug as I needed the mouse pointer co-ordinates from it. Do you know if there are any docs on that somewhere ?07:42
dufluom26er: The debug extension provides only two headers and we keep the docs in the headers.... dpkg -L libmirclient-debug-extension-dev07:44
dufluSo that would be the place if any07:45
dufluOh, one header. Duplicated :)07:45
dufluSeems the feature isn't there07:45
om26eryeah seems the co-ordinates of a surface are available only07:47
om26ereven more, does this extension require mir to be running in debug mode ?07:48
dufluom26er: Not sure. I'm not aware of such a feature but that doesn't mean it doesn't exist07:48
om26erduflu: I did send an email to Chris last night so, will probably get a reply next week07:49
dufluom26er: Yeah sorry. He just seems to be absent today07:50
dufluanpok_: Progress. I now have in-server clients (render_surfaces) working in VirtualBox. 100FPS at 1320x910 in a VM :)10:03
=== dandrader_ is now known as dandrader
dandraderalan_g, greyback, regarding immediate miral-qt work: I think we should now propose branches for lp:~unity-team/qtmir/miral-qt-integration instead of lp:miral. Then, once lp:~unity-team/qtmir/miral-qt-integration lands, propose directly for lp:qtmir10:53
dandraderalan_g, greyback, sounds like a plan?10:54
greybackdandrader: can we get a silo together with a working miral-ised unity8, just to assess where we are right now10:55
dandradergreyback, need miral 0.4, as I told on the e-mail10:55
greybackdandrader: which doesn't stop us making a test silo, including miral10:55
alan_gdandrader: greyback there are pros and cons to each approach, it depends where we think most of the remaining work lies.10:55
alan_gI have a somewhat biassed view because I'm just looking at the interaction with Mir and MirAL.10:57
* greyback changing office, bbiab11:01
* alan_g thinks miral will need work for packaging to work on vivid (because of the g++ ABI)11:12
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== hikiko is now known as hikiko|ln
alan_ggreyback: in my review of miral-qt I'm looking at orientation. So far, MirAL doesn't expose orientation of displays or surfaces and I'm not sure that matters to /window management/. That is, I think it's a /compositing/ concern. And for compositing I think we need a different abstraction than miral::Window (with a way to map between of course). Other stuff that belongs to that abstraction are buffers_ready_for_composit11:42
alan_gor(), occlusion, generate_renderables(). Does that make sense to you?11:42
greybackalan_g: are you including preferred_orientation in that assessment>11:43
greybackdisplay rotation causes a geometry change, the window manager may want to do work to reposition/resie surfaces to suit11:44
greybackbut the WM might also want to notify the app of the orientation it wants it to display at11:45
* greyback ponder11:45
greybacks11:45
alan_gI'm not entirely sure about orientation (or preferences) it isn't yet clear to me11:49
greybackok, quick summary: windows can have a list of preferred orientations (orientations the UI supports)11:50
alan_gyep11:51
greybackthen the shell should limit the system orientation to match those preferences11:51
greybackwithin reason11:51
alan_gthat's the wibble word11:52
greybackso if surfaceA specifies it prefers portrait orientation, and it is focused, shell should be in portrait11:52
greybackright, because it's not straightforward - if you are on desktop, shell isn't going to change from natural landscape to portrait, just because the surface prefers it11:53
alan_gAck. that convinces me that there's a WM component.11:54
greybackfor a traditional desktop, everything will be landscape. But on a tablet or phone, preferred orientations may cause the shell to decide to change orientation11:54
greybackyeah, I believe the WM needs to care11:54
* alan_g has seen portrait desktop setups11:55
greybackoh sure, they exist. But you can't easily switch orientation just because the app prefers it. Alt-Tabbing between portrant & landscape surfaces shouldn't force you to rotate your monitor on its stand11:55
alan_ggreyback: thanks, I need to think some more11:55
greybackbut changing display orientation on a phone/tablet is trivial11:56
alan_gUnless "locked" by the user11:57
greybackindeed11:57
alan_gSo MirAL's next big feature should be an orientation model that supports choices11:59
* alan_g thinks hard12:01
greybacktake note that unity8 orientation support is all done in unity8 - Mir is not doing any rotation of the shell12:01
alan_gack12:01
=== alan_g is now known as alan_g|lunch
greybackwhich isn't ideal, we're not updating the display config with the "correct" orientation - it something I need to look at again. It was mainly blocked due to bug 155614212:03
ubot5`bug 1556142 in Mir "Changing scale, formFactor or DPI in display configuration causes renderer teardown/recreate unnecessarily" [High,In progress] https://launchpad.net/bugs/155614212:03
=== alan_g|lunch is now known as alan_g
alan_ggreyback: I know RAOF has been chipping away at that, could be worth re-examining post Mir-0.2512:37
greybackalan_g: ack12:38
=== hikiko|ln is now known as hikiko
dandraderalan_g, miral no longer builds in V+O http://pastebin.ubuntu.com/23425346/12:48
alan_gdandrader: "interesting"12:49
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandradergreyback, while I wait for miral 0.4 I gonna start experimenting with exposing child miral windows to unity8 (popups, menus). with a separate branch on top of lp:~unity-team/qtmir/miral-qt-integration15:44
greybackdandrader: perfect!15:45
greybackdandrader: I believe we both agree that any new work on qtmir is done on top of that branch15:45
alan_gdandrader: greyback quick review? https://code.launchpad.net/~alan-griffiths/miral/update-changelog/+merge/31007716:15
greybacklooks good, acked16:16
=== kenvandine_ is now known as kenvandine
=== JanC is now known as Guest51811
=== JanC_ is now known as JanC
=== JanC_ is now known as JanC

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