[09:30] <duflu> greyback: I'm auditing devices to see if we're ready for turning off input resampling. It's looking OK so far (mostly as the touchscreens are emitting events at the same rate as they redraw now). Do you have any knowledge of relevant software changes?
[09:30] <greyback> duflu: there were no software changes on my end
[09:30] <duflu> Oh, except we need to go slower than the refresh rate to overcome the nesting penalty :(
[09:42] <alan_g> greyback: is there any way I can help with the Qt integration?
[09:54] <greyback> alan_g: until I've the foundations set up, not really. I will propose a series of MPs today
[10:06] <duflu> Hmm, my touch screen test was flawed. I forgot Mir's Android platform still has https://bugs.launchpad.net/mir/+bug/1369763
[12:43] <greyback> alan_g: when you return, I need a hand with one thing
[12:43] <greyback> https://code.launchpad.net/~gerboland/miral/qt-add-window-model-qt-side/+merge/301261
[12:43] <greyback> please grab that and test the "qml-demo-shell" with a client
[12:44] <greyback> problem is that as I'm overriding the MultiThreadedCompositor implementation, there is nothing who calls WindowManager::add_display
[12:45] <greyback> do you know any handy way I can get access to the WindowManger object?
[13:00] <alan_g> greyback: A hack (that we would need to address later) would be to use a customized version of SetWindowManagmentPolicy that keeps a weak_ptr<> to the object it builds that you can grab.
[13:01] <greyback> alan_g: ack. Was what I was thinking, but wanted to run it by you
[13:03] <alan_g> I can thing of a couple of uglier hacks. But really its the Mir wiring that is wrong - if you can override MTC you ought to be able to do the stuff the default does.
[13:03] <alan_g> *it's
[13:27] <alan_g> greyback: a (slightly) better hack: std::dynamic_pointer_cast<AbstractShell>(server.the_shell())
[13:28] <anpok> you need to replace the shell?
[13:28] <greyback> only just :)
[13:28] <anpok> the AbstractShell..
[13:29] <greyback> I'm gonna rewrite it in Qt
[13:29] <greyback> because, you know
[13:29] <greyback> :D
[13:29] <greyback> (kidding)
[13:33] <anpok> Thats not funny.
[13:36] <alan_g> anpok: he just needs to call a method on AbstractShell and Mir doesn't make it easy
[13:39] <alan_g> /o\ The downcast isn't needed
[13:40] <alan_g> greyback: you can just grab server.the_shell() and call add_display() Shell IsA DisplayListener
[13:40] <greyback> alan_g: ah, not so bad
[13:41]  * alan_g must do penance for thinking Mir got it wrong
[13:46] <anpok> hehe
[13:46] <anpok> inconceiveable thought
[13:47] <alan_g> You keep using that word. I do not think it means what you think it means.
[13:59] <anpok> kdub: is there an easy way to figure out if a BufferStreamId is represented by a buffer stream and not a buffer chain
[14:00] <anpok> kdub: I dont want the client to regularly throw and catch on resize events
[14:00] <greyback> alan_g: ok, I've MPs up for your reviewing pleasure.
[14:00] <greyback> it's all a bit rough and WiP, but the main idea is there
[14:01] <greyback> and gedit is usable
[14:02] <alan_g> greyback: thanks
[14:07] <kdub> anpok, no by design, because the server has no distinction between the two
[14:08] <kdub> its really just for the benefit of the client that there's a distiction
[14:08] <anpok> so they also share the same id space
[14:08] <kdub> right, server-side they are both mc::Stream
[14:31] <alan_g> greyback: nothing really bad. Looks like progress.
[14:32] <alan_g> But I did crash it rather easily: By connecting gnome-terminal and then starting mir_demo_client_egltriangle from that.
[14:33] <greyback> alan_g: ack. I'm not claiming it is very stable
[14:33] <greyback> the model syncing stuff isn't great
[14:47] <alan_g> That's something I can help with once we have a skeleton POC
[16:52] <alan_g> greyback__: not pushed qt-add-window-model-qt-side?
[16:52] <greyback__> alan_g: pushed now
[16:52] <alan_g> ta
[16:52] <greyback__> sorry
[17:01] <greyback__> alan_g: just one nitpick with https://code.launchpad.net/~alan-griffiths/miral/add-indirection-to-stabilize-WindowManagerTools-ABI/+merge/301299
[17:02] <alan_g> greyback__: thanks - I'll get to it in the morning. (And yes, renames work pretty well in CLion.)
[17:03] <greyback__> alan_g: even -> to member access?
[17:03] <greyback__> anyway, have a nice evening
[17:07] <alan_g> that was just a global text substitution.