[00:06] kgunn: Ok will at least write up some sort of study on it by tomorrow [00:07] RAOF: Ping? [00:08] / anyone else who has thought about client cursor APIss [00:08] I think it might be time [00:08] xmir doesnt want the cursor [00:08] nested unity8 does [00:08] rather than add another hack to USC XMir should request to turn off the cursor I think [00:38] kgunn: just tried reproducing bug 1289058 now, but I can't even get the signon UI to appear [00:38] bug 1289058 in unity-mir "[regression] OSK focus issues" [Critical,Triaged] https://launchpad.net/bugs/1289058 [01:39] racarr_: Pong. [01:41] racarr_: I think that both XMir and Unity8 want usc to handle the cursor at some points, and to handle the cursor themselves at other points. [01:41] (Although U8 will likely want to handle the cursor more often than XMir) [01:42] racarr_: I've suggested to greyback that U8 just turn off the cursor and handle it themselves, to unblock things. [02:03] RAOF: MM its not to hard to unblock things...I was just thinking maybe its a nice excuse to add client cursor API [02:03] and figured if anyone had an opinion on how that should look it would probably be you [02:04] Ah, if you've got time to do a client cursor API then that'd be aces. [02:05] I mean its pretty simple right, MirCursor *c = mir_upload_cursor_sync(connection, pixels); mir_surface_set_cursor(surface, pointerid(?), cursor) [02:05] well we dont hae multiple cursors right now so ignore that lol [02:05] just surface, cursor [02:05] and there is not much more to it [02:05] I think? [02:06] Roughly? [02:07] The other option is to only expose symbolic pointer names in the API. [02:07] Which I think would be better? [02:09] racarr_: Don't forget the hotspot x/y parameters with each image :) [02:10] Right :) [02:10] https://bugs.launchpad.net/mir/+bug/1206780 [02:10] Ubuntu bug 1206780 in Mir "[enhancement] Clients cannot change the hardware cursor" [Low,Triaged] [02:10] https://bugs.launchpad.net/mir/+bug/1189775 [02:10] Ubuntu bug 1189775 in Mir "Mir cursor has no hotspot setting, assumes (0, 0)" [Medium,Triaged] [02:20] racarr_: So, I think the API should probably look something like... mir_cursor_set_cursor(MirSurface* surface, char const* cursor_name); mir_cursor_load_theme(char const* theme_name); [02:23] racarr_: Hm, or something similar. [02:27] racarr_: Actually, maybe a first go could be MirCursor c = mir_upload_cursor(connection, buffer_containing_xcursor_data); mir_surface_set_cursor(surface, cursor); [02:27] racarr_: And copy http://cgit.freedesktop.org/wayland/wayland/tree/cursor/xcursor.c again :) [03:47] RAOF: duflu: Aha sorry my IRC client hung [03:48] symbolic names mebbe...Im not sure [03:48] I feel like some clients will reasonably want to upload custom cursors [03:48] GIMP, etc [03:48] im not sure [03:48] so maybe thats better done at the toolkit level [03:48] maybe we should support both [03:48] I dunno [03:50] racarr_: Yeah. [03:50] racarr_: Did you get all my comments? [03:50] Particularly: racarr_: Actually, maybe a first go could be MirCursor c = mir_upload_cursor(connection, buffer_containing_xcursor_data); mir_surface_set_cursor(surface, cursor); [03:50] ... racarr_: And copy http://cgit.freedesktop.org/wayland/wayland/tree/cursor/xcursor.c again :) [03:51] RAOF: Yes I did [03:51] yeah I think that is going to be [03:51] the first go [03:52] The next cut being MirCursorTheme t = mir_cursor_theme_from_$X(connection, ); MirCursor c = mir_cursor_from_theme(t, char const* symbolic_name); === popey_ is now known as popey [08:28] rsalveti: @glmark2, sure, I will prepare a package update branch and contact you for further guidance === WebbyIT is now known as rpadovani [11:37] anpok: so i saw AlbertA's post in the bug...so do we think there's a combination of MP's that will allow mir0.1.6 to get promoted ? (...while we may have to hold back some of our bug fix?) [11:42] greyback: based on https://bugs.launchpad.net/mir/+bug/1289058/comments/8 [11:42] Ubuntu bug 1289058 in unity-mir "[regression] OSK focus issues" [Critical,Triaged] [11:43] sounds like we need a update to the namespace patch seperate from the fix for 1240400. [11:43] kgunn: I'm rebuilding as I type. Sadly the PPA disappeared [11:43] greyback: actually https://drive.google.com/a/canonical.com/?tab=wo#folders/0B4GvOYxwuvpFdm5DbXNYUzFDdG8 [11:43] i saved it off [11:43] oh yay [11:44] sorry..i should have mailed that last night..but i was getting weird [11:47] greyback: i don't want to suck you into this...so if you just want to redo your branch...anpok or i can test [11:48] we might even get a silo back up soon [11:48] ooo...maybe soon is optimistic, we're in line behind the qt landing :P [11:48] yeah I noticed that [12:08] reboot [12:22] kgunn: i tried to reproduce the issue without mir 1.6 this morning .. and could not === tvoss is now known as tovss|test === tovss|test is now known as tvoss === yofel_ is now known as yofel [13:09] anpok: thanks...when you tested 0.1.6, what did you test it with in terms of the unity-mir configuration ?? (or usc for that matter?) [13:10] ...and when you say mir0.1.6 do you mean lp:~mir-team/mir/trunk-0.1.6 ? [13:10] ...avoiding the confusion that maybe you tested mir-devel tip :) [13:14] no not yet with 0.1.6 === pete-woods is now known as pete-woods-lunch [13:36] i couldnt imagine that it could relate to mir changes so I thought to reproduce it with my current setup.. [13:36] my wifi was flaky .. [13:37] kgunn: do you already have a reduced branch that only resolves the MirSurface colision in unity-mir? [13:38] anpok: almost done [13:43] * greyback loves when a C++ error message contains more lines than his scrollback buffer [13:51] anpok: lp:~gerboland/unity-mir/namespace-to-prevent-collision2 [13:57] dandrader: "maybe" is the answer to your ques from the other channel [13:57] i think greyback's branch ^^ might do the trick [14:01] kgunn, ok, let me know if I should jump on it [14:03] kgunn: that's not fixing the bug, but it means we could land the few branches needed to unblock mir0.1.6 anyway [14:05] greyback: @"not fixing bug"...which bug :) ? [14:05] the osk one ? [14:06] kgunn: https://bugs.launchpad.net/mir/+bug/1289058 yeah [14:06] Ubuntu bug 1289058 in unity-mir "[regression] OSK focus issues" [Critical,Triaged] [14:07] greyback: oh i see...trying to reduce the outstanding MP's down to just the lp:~kgunn72/unity-mir/um-mir-0.1.6 [14:07] +1 [14:07] kgunn: right. Thought it best to shrink the landing queue to unblock mir [14:08] dandrader: yeah...so if you would take a look today at 1289058 that'd be great... [14:09] greyback: quick one...so you've basically now tests AlbertA's post and proved it wrong ? [14:09] meaning...removing the bug fix for 1240400 didn't help [14:10] kgunn: http://studio.sketchpad.cc/f2Lr8RTY8z is list I'm proposing for landing. I'm just building now to check everything is ok. [14:12] greyback: +1....i actually had the same list/idea last night....but it got late...and now we gotta wait :) [14:13] anpok: greyback dandrader...i gotta step out for some banking...bbiab [14:15] * greyback also has to step out a bit, back in 10 [14:18] greyback: ok [14:31] alf__: thanks [14:41] is it really done that way that osk forwards all input of the side or main stage application? [14:41] i mean motion input at the upper half of the surface [14:42] have to go and get some stuff.. will be back later === pete-woods-lunch is now known as pete-woods [14:46] anpok: yeah [14:48] it is a full screen surface, to support all the orientations necessary. Therefore its surface has transparent parts, and shell tries to position an InputArea over the opaque bits, so that the OSK surface gets those touch events === dandrader is now known as dandrader|afk [15:56] greyback: it looks like the namespace changes actually are the culprit [15:57] greyback: I used your new branch [15:57] o_O [15:57] greyback: if I just change the name of MirSurface instead, then focus issue is gone === dandrader|afk is now known as dandrader === bschaefer_ is now known as bschaefer [16:01] dandrader: ^ focus issue = osk issue on 0.1.6 [16:02] AlbertA: so you've done the clean-image-test, verified you're packages installed, and everything ? [16:03] kgunn: I'm manually installing (i.e. pushing with adb to /usr/lib) [16:04] AlbertA: got it...but once you see it, then a dpkg -a to double check (...at least i think its -a) [16:06] anyone have a few minutes to review https://code.launchpad.net/~gerboland/unity-mir/namespace-to-prevent-collision2/+merge/209930 ? [16:06] AlbertA: odd. What have I screwed up... [16:12] greyback, I can do it [16:12] okay, I'm just rebuilding to see [16:13] greyback, btw unity-mir is clashing with what mir symbols specifically? [16:14] dandrader: "MirSurface" [16:30] kgunn, so the mir branch to use for this bug is lp:~mir-team/mir/trunk-0.1.6 , right? [16:31] dandrader: correct [16:31] so...wanna join [16:31] https://plus.google.com/hangouts/_/calendar/a2V2aW4uZ3VubkBjYW5vbmljYWwuY29t.2k4udqa2ovs931siq3b5fprgkc [16:44] dandrader: alf__ AlbertA: hmm had connection issues again.. [16:44] Q_DECLARE_METATYPE seems to need some additional love.. [17:04] kgunn, so we have a unity-mir branch that renames MirSurface (instead of putting it in a namespace) and it solves bug 1289058 ? [17:04] bug 1289058 in unity-mir "[regression] OSK focus issues" [Critical,Triaged] https://launchpad.net/bugs/1289058 [17:05] dandrader: i think AlbertA does not have published one yet.. [17:05] dandrader: that'll work I suppose. Why namespaces breaking it still mystifies me tho [17:06] https://bugreports.qt-project.org/browse/QTBUG-15459 [17:06] greyback: ^ [17:06] anpok: yep, I knew about that [17:07] but usually a nice loud error message accompanies that [17:08] greyback: so dandrader says "we just shouldn't go there" [17:08] :) [17:09] i'm gonna leave that bug open tho....maybe it should go against Qt ? [17:11] kgunn: the fastest solution is that yes. Looks like a bug I can beat my head against for a day or two, something subtle with Qt/qml and namespaces [17:11] greyback: kgunn: I think we found the issue [17:11] greyback: kgunn: it is indeed the Q_PROPERTY in inputarea.h [17:11] Q_PROPERTY(MirSurface* surface READ surface WRITE setSurface NOTIFY surfaceChanged) [17:11] change to [17:12] Q_PROPERTY(unitymir::MirSurface* surface READ surface WRITE setSurface NOTIFY surfaceChanged) [17:12] ah feck === dandrader is now known as dandrader|lunch [17:13] AlbertA: that's if [17:13] it [17:13] greyback: we need to do that for all Q_PROPERTY items [17:13] greyback: kgunn: yep confirmed on the n4 [17:15] kgunn: greyback: so what do you want to do? [17:16] AlbertA: wow...so if that confirms it, sounds like we should just poperly use the Q_PROPERTY [17:16] ....unless, did dandrader|lunch say there was some other knock-on bug ? [17:16] AlbertA: I'm updating the namespace branches now [17:17] AlbertA: I reapproved your https://code.launchpad.net/~andreas-pokorny/unity-mir/fix-1240400/+merge/207302 since it was not to blame [17:18] anpok ^^ [17:18] kgunn: well in this particular case [17:19] kgunn: there was no qt error [17:19] kgunn: because I suppose MirSurface * got resolved to Mir's version [17:20] AlbertA: greyback anpok dandrader|lunch ...thanks all nice work, and so, the MP list should remain as it is...i'll just assume gerry's update will be on the original [17:20] https://code.launchpad.net/~gerboland/unity-mir/namespace-to-prevent-collision/+merge/208645 [17:21] kgunn: yep [17:23] ok fix pushed === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss === dandrader|lunch is now known as dandrader [17:35] kgunn, using fully qualified names in all qt macros might solve all woes indeed. It's just that I've been bitten by such issues before thus I would rather avoid this namespace vigilance if possible [17:36] AlbertA, kgunn and that includes all signal-slot connections and parameters as well, if I'm not mistaken [17:39] dandrader: just for my own curiosity, what sort of issues have you encountered? To they manifest as crashes? weird behavior? something else? [17:42] AlbertA, a connection between a signal and a slot may fail, for instance (mismatching parameters due to namespace confusion). and that failure, depending on how you do that connection in C++, will fail silently at runtime [17:42] AlbertA, but it was a while ago, so I don't recall details. [17:52] dandrader: well C++11 does give us nicer compile time signal/slot connections, which can help - it does parameter matching if I'm not mistaken [17:52] greyback, yes [17:53] adding more symbols to the global namespace will inevitably cause collisions. namespaces necessary evil. They're tricksy with Qt annoyingly [17:58] hmm ok now the nexus 4 shows a black screen with a grey sign, red letters: Download Mode Do not unplug the device until the process is complete.. [17:58] eh, its lying [17:59] probably just a wrong key combo when it was booting [18:01] k restarting [18:10] * greyback eow, but will be back online in a few [18:52] swapping the usb cable did the trick.. === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === bschaefer_ is now known as bschaefer