=== duflu_ is now known as duflu === chihchun_afk is now known as chihchun [06:33] Hm. [06:33] It occurs to me that what I really want is mir::observing_ptr. [06:41] ALL ABOARD THE MIR TRAIN [06:41] DEPARTURE SOON [06:41] *whistle blowing* [06:42] Happy new years everyone :) See you all tomorrow. [07:54] Morning and happy newyear [07:54] RAOF: don't we all want that? :D === chihchun is now known as chihchun_afk === tsdgeos_ is now known as tsdgeos [13:04] good morning [13:43] alan_g: hello! Happy New Year to you [13:44] quick question, the new mir Server api doesn't have a getter for the_placement_strategy - omission or intentional? === tedg is now known as ted [14:03] greyback_: Healthy New Year! [14:03] mornin' & happy new year to all [14:04] o/ [14:04] We've exposed the stuff that is in use [14:04] kdub: kgunn : Healthy New Year! [14:05] alan_g, thanks [14:11] alan_g: https://bugs.launchpad.net/mir/+bug/1407687 - I'd like it re-instated as I've a qtmir patch to use it. Far from urgent tho [14:11] Launchpad bug 1407687 in Mir "request: mir::Server provide the_placement_strategy getter" [Undecided,New] [14:25] camako: seems like we should probably cherry pick this into stable [14:25] https://code.launchpad.net/~vanvugt/mir/fix-1401488/+merge/245443 [14:26] * camako looks [14:26] ...lemme know what ya think [14:26] showing up here also [14:26] https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1405687 [14:26] Launchpad bug 1405687 in unity8 (Ubuntu) "unity8 crashes while using webbrowser-app" [Undecided,Incomplete] [14:26] ...with people confirming [14:27] kgunn, yeah I think so [14:27] * kdub wonders why we're wrapping the binaries [14:28] kgunn, we'll be making a release though.. will start it today.. [14:28] cool [14:36] kdub: wrapping is an [in]elegant way to locate the platforms directory [14:40] yeah... guess its too late to object [14:43] If I (or duflu) had had a better idea then we would have objected [14:47] yeah, something to improve on later [15:17] Good morning [15:17] morning racarr_ [15:19] morning [15:20] hey :) Happy new years guys [15:21] happy new year to you too :-) [15:29] hello, is mir supposed to generate hover-exit motion events when the mouse cursor leaves a surface? === alan_g is now known as alan_g|tea [15:33] sort of yes [15:33] as it stands cursor stuff doesnt work very well espescially under unity8 [15:34] qtmir will drop the hover exit event afairc (it would be hard for it to know what to do with it currently atm) [15:38] qtmir is missing many useful mouse events yet [15:38] so yeah, is on the list === alan_g|tea is now known as alan_g [15:40] racarr_: happy new year [15:41] camako: racarr_ Healthy New Year! [15:48] MirPointerEvent coming soon :) [15:48] PointerInputEvent rather [16:14] maybe this is a good time to inbox 0 [16:15] BOOM [16:15] good luck [16:16] ....you'll likely get stuck on the riveting cla email [16:21] greyback_: I'm curious: how is the_placement_strategy() useful outside of Mir? Is it a workaround for a better API? [16:24] alan_g: I want to push the placement decision into qml. I do this by making the place() call emit a synchroneous signal, that qml can catch and make the decision [16:25] alan_g: https://code.launchpad.net/~gerboland/qtmir/initialSurfaceGeometry/+merge/231725 is how I'm using it [16:26] greyback_: OK but that just needs override (which is supported). [16:26] I'll take a look [16:26] alan_g: yeah, my workaround is just to save a copy of the shared pointer to the PlacementStrategy [16:26] ...in the override [16:28] I think it is similar to my saving the WindowManager in https://code.launchpad.net/~alan-griffiths/mir/tiling-window-mamagement/+merge/245228 (but I want the WindowManager, not the PlacementStrategy interface [16:37] alan_g: yes indeed. I've always let Mir create the objects and then relied on getters for them (not doing this was buggy with the old api). Perhaps I should relax that now [16:39] greyback_: it seems you actually want a MirPlacementStrategy* (not a ms::MirPlacementStrategy). So, rather than an accessor in Mir and a downcast (BTW wouldn't dynamic_cast be safer?), why not keep a weak_ptr? That would automatically give you your nullptr too. [16:40] alan_g: fair point, and yes fair point [16:41] Can I mark lp:1407687 invalid? [16:42] alan_g: just an FYI on why I'm implementing ms::MirPlacementStrategy - I received complaints from some clients where the surface size returned by the PlacementStrategy would be changed later when the surface is added to the scene. I.e. the surface would get a resize event shortly after creation. Some clients don't like that [16:42] that seems sensible [16:43] And what ms::PlacementStrategy is for [16:43] alan_g: you can. But it does open up a slight API inconsistency in mir::Server - as many overrides do have accessor methods, and only a few do not [16:44] * greyback_ not sure "accessor" is the correct term [16:46] "accessor" or "factory method" or ... [16:46] ack [16:48] I'd rather only expose things that are actually useful [16:49] that fair. I'm not that opinionated on this, just wanted to raise the question as to how you expect the api to be used [16:51] Sure. I'm not opinionated either. The interface is already public so there's little cost to exposing it - except that folks might use it (and write bad code). [16:52] I'll let you have the final call so. [16:56] Do you have an opinion on my example above? After writing my WindowManager example code think there's too much "wiring" in the example and not enough in the library. (I could push the "Tracker" and "Factory" wiring into Mir and give it a msh::WindowManger interface) [17:04] I do like the basic design of WindowManager, and think TilingWindowManager is a nicely written bit of example code. It is a bit surprising for me that different methods of WindowManager will be called in different threads tho, but as long as that's clearly documented it is fine [17:05] yeah the tracker is pretty typical, I had expected it to be in Mir [17:06] if you intend to push WindowManager into Mir, then yeah think it logical the Trackers will have to go in too [17:07] will mir support the same kind of pointer hover enter/exit behaviour as in X? per http://tronche.com/gui/x/xlib/events/window-entry-exit/normal.html [17:08] attente_: Yes [17:09] I'm not sure the design is yet mature enough to put in the API (e.g. no focus switching) but it does seem to be that stuff is missing that would make Mir usable. [17:09] attente_: Currently support is spotty, I guess it wont work under unity8 and should work otherwise [17:09] soon it will work fine :) [17:10] racarr_: thanks! [17:10] racarr_: qtmir/unity8 will generate the hover enter/exit events for the client, if mir supports such an event [17:11] greyback_: DO you think so? I think it will drop it in QtEventFeeder [17:12] the bit that [17:12] switches based on the touch action [17:12] just drops hover enter/exit afairc [17:13] QtEventFeeder::dispatchMotion...are you saying they are then [17:13] generated again later? [17:14] racarr_: we'll generate them in the MirSurfaceItem - which lives in our scene and knows when mouse in/out occurs [17:14] oh [17:14] future perfect [17:14] will [17:14] not [17:14] present perfect [17:14] will [17:14] haha [17:14] yes sorry [17:15] No its ok :p yea [17:15] h [17:15] that is where to do it. nothing atm I think though [17:15] Hayy New Year btw! [17:15] Happy new year! [17:15] There are some pointer event changes upcoming that should make this possible to implement correctly [17:15] currently you cant really differentiate between [17:15] touch points hovering [17:15] and the pointer [17:15] yeah, mouse support need work still, will be dandrader's first mission when back [17:16] ah cool [17:16] im cleaning up the mir end :) [17:16] SYNERGY [17:16] nice [17:16] it could do with it [17:16] any idea how's the libinput integration going too? [17:16] new model is touch/pointer event are seperate event types [17:16] hmm [17:16] not really [17:16] definitely some progress on the [17:17] infrastructure to [17:17] +1 for the different event types anyway [17:17] well like support libinput based devices and [17:17] also use the android stack [17:17] etc [17:17] gotcha [17:17] I wouldnt be expecting 2 finger scroll this month though :( [17:17] maybe thats pessimistic or anpok was working over holidays or something lol [17:18] greyback_: Did you have nice holidays? [17:19] racarr_: yeah, was the perfect length to forget everything work related [17:19] you? [17:19] see the family? [17:19] Yeah excellent :D Also forgot everything. Went to see family [17:19] they gave me a violin [17:19] A+! [17:23] nice! [17:23] I wouldn't like to be your neighbor right now... [17:24] we have an old family violin which my mother used to play when she was young. We got it restored and gave it to my sister's daughter [17:24] ofc no such thing as a free gift - she's now eternally obliged to play it at family gatherings :) [17:36] hehe of course [17:57] racarr_: kdub I could do with another vote on https://code.launchpad.net/~alan-griffiths/mir/tiling-window-mamagement/+merge/245228 [17:57] alan_g, okay === alan_g is now known as alan_g|EOD [18:00] alan_g, will review probably after your EOD, my brain is spooled up with how to improve android display construction [18:01] kdub: np [18:14] wow this vacation stuff [18:14] really works [18:14] I actually had fun reviewing the managed surface branch [18:16] * alan_g|EOD thinks he needs a vacation then [18:28] I think its ok to land this yeah? https://code.launchpad.net/~mir-team/mir/port-examples-off-mir-event-access/+merge/245240 [18:32] hmm I guess anpok is still gone [18:40] evdev-input-platform isnt easy === Nothing_Much is now known as something === something is now known as Nothing_Much [19:48] Finished reviews gonna take a niec long lunch [19:48] back in ~1 hour [21:08] camako: are we fully swtiched over from asio to glib mainloop? [21:08] ...guessing not on rtm [21:08] kgunn, yes [21:09] kgunn, correct .. not on rtm [22:58] kdub: for "Make nested & offscreen an actual platform" it's marked ready for release...so we really have a sw FB for offscreen on devel ? [23:02] That would be pretty rad. [23:04] Hi RAOF! [23:04] Happy new years :D [23:04] racarr_: Happy new year!