[07:53] <slvn_> Hi,
[07:54] <slvn_> Just want to let you know that I have publish a few games, native game based on sdl2
[07:55] <slvn_> so there are directly using mirclient, through sdl2, and they can be a way to test mir
[07:55] <slvn_> (indeed, it seemed one app have made mir crashed,  when disconnecting)
[07:56] <slvn_> so if you want to try, here's the link : https://uappexplorer.com/app/com.ubuntu.developer.1bsyl.cartes
[08:11] <gatobaubau> slvn_, hehe i have almost all of them installed :))
[08:11] <gatobaubau> slvn_, negative space is really nice
[08:12] <slvn_> thanks, great you enjoyed !
[08:13] <gatobaubau> slvn_, was it hard to port your games to ubuntu phone? i you also have android versions
[08:13] <slvn_> usually people gives up quickly with negative space :)
[08:13] <gatobaubau> they run out of ink )))
[08:14] <slvn_> not really hard to port .. actually there were developed first under ubuntu and android
[08:14] <slvn_> there was a few issue with mir ... for orientation .. and couples of bugs..
[08:15] <slvn_> and, since I use sdl2, I can re-use all the code for all platforms
[08:18] <slvn_> gatobaubau, I was told then when quitting my app, sometime mir crashed ... maybe you could double check ... because I have no ubuntu-deice :D
[08:20] <gatobaubau> slvn_, i never had any problems with your apps, i'll check to logs later :P just in case
[08:48] <anpok> slvn_: hm mir as in the unity8 nested server? or unity-system-compostior? or really a shutdown crash of the application?
[08:49] <slvn_> I just copy paste, since it's short ...
[08:49] <slvn_>  qtmir.mir: SessionListener::stopping - this= SessionListener(0xb194a134) session= 0x5f935c
[08:49] <slvn_>  terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'
[08:49] <slvn_>    what():  Failure sending input event : Unknown channel provided
[08:49] <slvn_> ()
[08:50] <slvn_> to be confirmed ...
[08:51] <anpok> ah
[08:52] <anpok> this is actually possible..  and if not handled by the input dispatcher the server would be affected
[08:52] <anpok> *plausible
[08:53] <anpok> hm since qtmir has its own we need to fix that there too
[09:00] <slvn_> .. don't really understand this :) ... but, maybe one should double check if this really happens with an official version ... my app were a use-case to reproduce this ..
[09:02] <anpok> well i guess you need to hit the right point in time to trigger the problem.. looking at the code.. it is caused by the fact that the input communication is done in a separate thread and keeps track of active surfaces..
[09:02] <anpok> and in the case described the component knows that the surface is already gone, before it gets the request to dispatch the event..
[09:04] <anpok> hmm so I either change the way the input channels of surfaces are tracked and kept alive a little longer or we fix the caller to handle the case..
[09:05] <anpok> https://bugs.launchpad.net/mir/+bug/1521529
[09:06] <anpok> one of things that could be reworked.. the abstraction around InputChannel is still kind of odd becaue we use the android input framework for that..
[12:15] <alan_g> sometimes I see line of code that makes me wonder...
[12:15] <alan_g> if (write(p.write_fd(), "a", 1)) {}
[12:25] <mcphail> write returns non-zero on error and success, doesn't it?
[12:25]  * mcphail doesn't have "man" installed on this machine
[12:36] <alan_g> Yes, but is this really the clearest way to ignore the return code.
[13:00] <mcphail> Those curly brackets were actually empty? Probably meant to check for success but couldn't understand why write() was still returning true on failure and deleted the block.
[16:10] <slvn_>   /join #ubuntu-touch
[17:07] <k1l> is there a daily iso for testing unity8+MIR?
[17:08] <k1l> the desktop-next daily-live is gone, but that is what most wiki pages link to
[17:12] <alan_g> k1l: I don't think so (we don't create/publish ISOs etc around here, just churn the code). There is a package: unity8-desktop-session-mir - does that help?
[17:13] <k1l> i just wanted to give it a test run to see what the state is, while not touching my actual system.
[17:14] <k1l> (just tested a fedora rawhide iso which should have wayland as default now but that didnt boot to the login/desktop so i was curious what the MIR/unity is doing on my thinkpad hardware)
[17:17] <alan_g> I guess you could boot a vanilla ISO, and install unity8-desktop-session-mir before switching sessions.
[17:17] <k1l> will try that, thanks