[00:26] evening everyone === chriadam|away is now known as chriadam [00:40] man, this X-Type is addictive [00:40] I'm not sure how, but I got it scales up to the screen size [00:40] no sound though [00:40] but I'm like 10 levels into it [00:52] glad I didn't install this during work hours :) [00:53] UBUNTU CAN PROVIDE IDE FOR C,C++ PROGRAMMING | http://askubuntu.com/q/355601 [03:02] Hi all, is there anyone familiar with rdesktop? [03:03] ping? [03:05] I run into a problem that after updating of hardware and software of my box, my rdesktop app becomes a very poor performance. [03:05] And after a long way of debug, I found that the glyph drawing module costs a lot of time, the cpu usage of which is alway 100%. [03:05] Then I add XSync() and timestamps for the suspicious X functions to get the executing time separately, it shows that XFillRectangle() [03:05] takes a long time to finish, which is abnormal. Following is the consuming time(unit: ms) of the suspicious X functions: [03:06] target box: [03:06] cnter 4808(), flush time op1 56, op2 51, op3 3440[x1 302, y1 952, w 8, h 10] [03:06] mylaptop for comparing: [03:06] cnter 7745(), flush time op1 14, op2 12, op3 15[x1 153, y1 697, w 2, h 7] [03:06] PS: op1 op2 op3 represent to XSetStipple() XSetTSOrigin() XFillRectangle() separately, following is the debuged codes: [03:06] -------------------------------------------------------------------------------- [03:07] #define DO_GLYPH(ttext,idx) \ [03:07] XSetStipple(g_display, g_gc, (Pixmap) glyph->pixmap);\ [03:07] XSetTSOrigin(g_display, g_gc, x1, y1);\ [03:07] FILL_RECTANGLE_BACKSTORE(x1, y1, glyph->width, glyph->height);\ [03:07] #define FILL_RECTANGLE_BACKSTORE(x,y,cx,cy)\ [03:07] { \ [03:08] XFillRectangle(g_display, g_ownbackstore ? g_backstore : g_wnd, g_gc, x, y, cx, cy); \ [03:08] -------------------------------------------------------------------------------- [03:08] It seems that the video driver(or the Xorg) doesn't work well with the target cpu for some X functions and in this case is XFillRectangle(). [03:08] But now I can't change the hardware or the fundamental software such as Xorg, video driver, so is there someway that I can improve my [03:08] rdesktop's glyph drawing module? Since XFillRectangle() takes a long time, I want to call it as less as possible, for example for a screen [03:08] of glyphs to draw, can I cache the XSetStipple() XSetTSOrigin() and call XFillRectangle() only once? [03:09] Finally I'm not familiar with Xlib so seek help here. Thanks in advance :) [03:14] Anyone can help me? :) === _salem is now known as salem_ === salem_ is now known as _salem [03:53] linfeng_: sorry, too low level for me. I did use X directly at a time for a home screen / screen lock program on Openmoko but it was awful trial-and-error ;) [03:55] haha, thanks your reply. I guess that we can play some tricks on this if someone is familiar with Xlib ;-) [07:25] good morning [08:11] Good morning all; happy World Post Day! :-D [08:17] Hi morning [10:20] mhall119: which version are you running ? [10:26] oSoMoN: the game is packaged now and available on the store [10:28] daker: awesome, I’ll check it out right away! [10:28] daker: what’s the name again? [10:28] oSoMoN: X-Type [10:28] oSoMoN: but popey found some issue with the webview not scaling http://popey.com/~alan/device-2013-10-08-231347.png [10:29] but on mhall119's phone it's works perfectly https://plus.google.com/109919666334513536939/posts/DVQ8QvJZTPW [10:31] i did submit another update yesterday(still waiting review), i did remove the flickable but not sure what's causing that https://bazaar.launchpad.net/~daker/+junk/x-type/files [10:44] daker: I’m seeing the same issue as popey [10:44] oSoMoN: on a phone ? [10:44] daker: yep, on a galaxy nexus [10:46] oSoMoN: is the flickable cause ? [10:46] the* [10:47] daker: I don’t think so, it looks to me like a DPR (devicePixelRatio) issue, let me dig a little [10:47] daker: btw, in https://bazaar.launchpad.net/~daker/+junk/x-type/view/head:/click/x-type.qml, since the webview is anchored to its parent, specifying its width and height is useless [10:49] oSoMoN: the code your are running on the phone is with the flickable, the code on the branch is still waiting review on the store(without the flickable) [10:49] daker: ah, got it [10:49] daker: why the flickable? [10:50] oSoMoN: i did create an HTML5 touch UI on qtcreator [10:52] daker: if I set "experimental.devicePixelRatio: 2.0" on the webview, I get the game fullscreen [10:53] daker: problem is, the DPR is device-dependent [10:53] oSoMoN: :( [10:54] daker: also, the game becomes super slow when fullscreen, and the hud icon gets in the way when using the controls because it thinks I’m dragging the toolbar up :/ [10:55] oSoMoN: how do you explain this https://plus.google.com/109919666334513536939/posts/DVQ8QvJZTPW ? [10:56] daker: must be on a nexus4 [10:56] daker: which is a faster device [10:58] daker: the value of the dpr should be set from the value of the env var QTWEBKIT_DPR [10:58] daker: unfortunately you’ll need a minimal C++ wrapper to do that [10:59] daker: see how it’s done here: http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/webbrowser-app.cpp#L36 [10:59] oSoMoN: ok, so not an easy task [10:59] daker: i tried on a nexus 4 and nexus 7 [10:59] gave you two screenshots last night [11:00] popey: ya it's works for mhall119 https://plus.google.com/109919666334513536939/posts/DVQ8QvJZTPW [11:00] yeah, i saw [11:00] daker: I’ll file a bug to ensure that the default dpr is correct when using an UbuntuWebView [11:00] dunno why it works for him and not me [11:01] oSoMoN: ok [11:10] oSoMoN: let's say when drp bug is fixed, if i use Ubuntu.Components.Extras.Browser i'll be able to override the UA ? [11:10] daker: I think so, let me check [11:13] daker, I just saw your X-Type upload - it seems like there's no compiled code in the click... do you think you could set the architecture to 'all' instead? [11:13] daker, that way it'd be available for all architectures [11:14] not that it makes a huge difference right now anyway === MacSlow is now known as MacSlow|lunch [11:14] dholbach: ok, don't approve that update now, it will need some adjustment [11:15] daker, gotcha, I'll comment on it [11:16] popey, not sure if you saw that in your review yesterday ^ [11:16] popey, not a big deal, just mentioning it [11:17] daker: mmm, this is embarrassing, it looks like it’s not going to work, I’ll file a bug and fix this too [11:17] oSoMoN: no worries :) [11:17] dholbach: i accepted because it passed the tests [11:18] dholbach: I wasn't aware we had to do additional checks over and above what the check script does.? [11:18] popey, there's no test for that bit it seems - I just noticed it right now and thought I'd bring it up [11:18] ok [11:23] popey, filed bug 1237356 [11:23] Launchpad bug 1237356 in Canonical Click Reviewers tools "Add check for unnecessarily specified architecture" [Undecided,New] https://launchpad.net/bugs/1237356 [11:32] t1mp: o/ [11:33] jppiiroi1en: did you really cut your hair? [11:33] :D [11:33] just my mustache ;) [11:33] ahh ;) [11:34] jppiiroi1en: and did you lose your superpowers because of that? [11:34] must be! ;) [11:43] daker: I fixed the DPR issue: https://code.launchpad.net/~osomon/webbrowser-app/dpr-in-plugin/+merge/190096 [11:44] oSoMoN: \o/ [11:46] daker: on to the UA override issue, https://bugs.launchpad.net/webbrowser-app/+bug/1237365 [11:47] Launchpad bug 1237365 in webbrowser-app "Client application using an UbuntuWebView can’t override the UA string" [Undecided,New] [11:48] oSoMoN: thanks! [11:53] jkeyes0: have you seen rottinrobs progressions? [11:59] oSoMoN: ping !! [11:59] mihir_: pong [12:00] oSoMoN: i just did push for Edit event..if you could test it it would be great :) [12:00] oSoMoN: link :- https://code.launchpad.net/~mihirsoni-123/ubuntu-calendar-app/editEvent/+merge/190106 [12:00] mihir_: going to lunch now, will test when I get back [12:00] oSoMoN: no issues :) === MacSlow|lunch is now known as MacSlow [12:11] GuidoPallemans: I looked at them yesterday, yes. [12:14] have you got that application to work? [12:14] with me, it shows the ui and then spits out some errors when I try to connect [12:14] jkeyes0: ping === _salem is now known as salem_ [12:25] GuidoPallemans: same here. complaining about the nsClient ID, if I remember right. [12:25] yup [12:25] seems like he got his imports wrong or something [12:25] or just committed half his work [12:27] which is pretty much where I was with my own stuff. I brought in the evernote JS sdk, was able to access the Thrift portions of the SDK, but nothing else. NoteStoreClient said it was undefined [12:28] yeah, but I don't see where he would get the type Notestoreclient from [12:40] I didn't see anything in his code actually telling it to pull in the SDK, so yeah, it may just be a half-complete idea at this point. === caribou_ is now known as caribou [12:58] nik90: is there any easy way to change SDK back call ?? from toolbar ?? [13:00] mihir_: not that I know of..I am assuming you are referring to a pagestack [13:00] yeah i know pagestack but I want to change the pagestack of BACK action [13:01] mihir_: I can think of reasons why you might need that..but not sure how that can be implemented [13:02] mihir_: although may be you could check the depth of the pagestack and then if the depth is a certain number, do a special action [13:02] nik90: okay I shall try that :) === vila is now known as vila-laaaate-lun === vila-laaaate-lun is now known as vila-late-lunch [13:27] daker: I got it to scale to fit if I rotated my phone to landscape and then back to portrait [13:28] mhall119: ahahh === fugue88_ is now known as fugue88 === vila-late-lunch is now known as vila [13:40] mihir_: I’ve started looking at your MR, unfortunately something urgent came up so I’m switching context, dunno if I’ll be able to get back to it today [13:40] mihir_: if you can find someone else to review, it might be faster (otherwise I’ll get back to it tomorrow for sure) [13:44] oSoMoN: Okay I'll wait for someone :) [13:44] oSoMoN: if it is still unreviewed then you can take it up..as we have to finish this [13:45] mihir_: will do, sorry about that… [14:06] mhall119, I guess on http://developer.ubuntu.com/apps/qml/overview/ the "Now you’re all set to start writing a phone app." link should go to the tutorial? [14:06] right now it goes to an anchor on the same page [14:15] dholbach: makes sense [14:15] the anchor looks leftover from the old get-started page [14:15] ok, I'll fix it [14:16] ah, you're looking at it right now too :) [14:17] yeah [14:18] I changed the link before I realized you were on the edit page, hope I didn't overwrite your changes [14:19] no, it's all good :) [14:19] thanks [14:36] hi, if I have a ListeModel, which is delegated, and in this delegation I have a button to show something, how do I also stop showing that same thing if its already showing in another item from the delegation? I only want the thing to be visible at one item at them time [14:38] danielholm: https://code.launchpad.net/~tiheum/ubuntu-themes/new_icons/+merge/189904 icons you were looking for? [14:46] bfiller: that’s the MR that adds the screenshot for the browser: https://code.launchpad.net/~osomon/webbrowser-app/screenshot/+merge/190043 [14:49] oSoMoN: ack === gatox is now known as gatox_lunch === gatox_lunch is now known as gatox [17:44] ahayzen, ping [17:44] balloons, pong [17:44] ahayzen, I'm working on trying to land your branch now [17:44] balloons, i just did a merge of trunk on mine if tht helps as i saw lots of new stuff landed today [17:44] ahayzen, things are running locally and in the vm, but there's some tweaks needing to be done [17:45] ahayzen, yes I regrabbed your branch and it had a conflict [17:45] ahayzen, https://code.launchpad.net/~nskaggs/music-app/new-toolbar-autopilot/+merge/190201 [17:45] balloons, cool [17:46] ahayzen, I just kept your version of the file, but if you have a proper merge I'll take it :-) [17:46] ahayzen, it was MusicAlbums.qml [17:46] balloons, i think this is up to date now https://code.launchpad.net/~andrew-hayzen/music-app/toolbar-rewrite-1/+merge/188917 [17:46] balloons, yep they are using sheets now [17:46] ahayzen, perfect I'll modify off that then [17:46] balloons, thanks [17:51] ahayzen, is there an activity indicator for the startup/ [17:51] balloons, there is a spiny thing i think it is an activity indicator [17:51] yes, exactly :-) ty [17:52] balloons, there is also a property u can use to tell when grilo has finished [17:52] basically we need to add something to wait for the app to finish loading [17:52] balloons, griloModel.loaded will tell you when grilo has finished... let me check how the activity indicator works [17:53] ahayzen, it has a .animating property I believe [17:53] balloons, there is a Timer { id: timer } which sets it to invisible [17:54] balloons, my branch just passed Jenkins! [17:54] balloons, also not tht the listviews are loaded in a background worker thread [17:54] *note [17:55] ahayzen, :-) We should still make these tweaks to make it more robust [17:56] balloons, :) [17:57] balloons, shall i put my branch to WIP or comment failed so it doesn't get merged/top approved by someone else yet? [17:57] ahayzen, since I want to make the changes, perhaps we let yours merge, and then I'll merge mine after [17:57] balloons, ok cool [17:58] I top approved [17:58] :) [17:58] it'll just be easier.. GIANT merges are no fun [17:58] easier to keep them smaller and saner [17:58] hehe then u get giant merge conflicts :) [17:58] right. Ok, so I'll keep tweaking this and update my mp and we'll get that merged also.. that should fix us :-) [17:59] balloons, awesome thanks for ur help with this [17:59] you are most welcome.. music has been quite a bit of fun as of late, heh [17:59] yeah we've had alot to do [17:59] the app has come a long way, and the challenges while annoying at times are worth it ;-) [18:40] ahayzen, you still there? [18:40] balloons, yep :) [18:41] ahayzen, ok, so lots of fun stuff. So it looks like you moved the title and artist listings. what qml page they on tnow? [18:41] balloons, wht do u mean by title and artist listings? [18:41] you leave the mainview now when you play a song [18:42] as in u go to the now playing page? [18:42] ahayzen, yes.. musicnowplaying.qml I'd guess. I need to check the currently playing artist property [18:43] ah tht was on the main somewhere hang on [18:43] it was.. did it change? [18:43] I mean, it had to have, lol.. the screen changes now [18:44] mm.. property string currentArtist: "" [18:44] mainView has currentArtist and currentTitle? [18:44] currentTracktitle not currentTitle [18:45] they get set in updateMeta() [18:46] hmm [18:54] hi, can someone give me any hints on debugging why my app does not open after upgrding to latest ro image [18:54] ? [18:54] it does work with surfaceflinger but not with mir [18:57] also it seems that SDK does not work when you try to run app on device [19:00] ahayzen, ok I think it's all set: https://code.launchpad.net/~nskaggs/music-app/new-toolbar-autopilot/+merge/190201 [19:01] balloons, awesome :) [19:04] balloons, u need me to approve? [19:04] ahayzen, yea, have a look over things if you don't mind [19:04] :) [19:08] beuno_: why did you leave "Noise." as feedback on my app? [19:09] mhall119, sorry, we updated something somewhere we weren't suppose to, and it was the cheapest way to get rid of these apps in the review queue === beuno_ is now known as bueno [19:09] ah, ok [19:10] mhall119, and because I missed you a bit [19:10] liar [19:10] :) [19:10] should of said that first [19:11] it usually works better to start with the lie, yeah [19:11] balloons, i've approved ur branch... top approve it when ur happy and want it to land :) [19:13] ahayzen, ty.. woot! === salem_ is now known as _salem