=== chriadam|away is now known as chriadam [01:26] Hi. I've got several problems with my Qt 5 app on Ubuntu 14.04. It uses a global shortcut to hide/show window its window. The first problem occurs when window appears (after it's been hidden with a shortcut) and its global menu is missing. [01:26] Another bug is about widgets missing focus highlighting after window is shown again. For example, QLineEdit not showing focus higlight, while it is focused in fact and accepts user input. [01:27] I am building the app with Qt 5.2.1 which is provided by 14.04. [01:28] DE: Unity === chriadam is now known as chriadam|away [08:04] trollixx: https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5 is the place for global menu related bugs [08:06] trollixx: the latter one could be a Qt bug. we're already at Qt 5.4.1 within the phone development. [08:06] Mirv: hm, I haven't tried 5.4.1 on Ubuntu 14.04 [08:07] I guess there's no PPA for end users... [08:07] This https://bugs.launchpad.net/ubuntu/+source/appmenu-qt/+bug/775278 looks like my bug [08:07] Ubuntu bug 775278 in appmenu-qt (Ubuntu) "Global menu disappearing on KDE Apps that minimize to tray" [High,Fix released] [08:07] But it was fixed long time ago [08:34] Mirv: Should I reopen the old bug or create a new one? It's so old, but looks exactly like my problem. The only difference I use app indicator instead of tray icon to hide app window. [08:56] trollixx: no, no 5.4.x PPA for 14.04 unfortunately. bug 775278 sounds like yours except that it's for 'appmenu-qt' ie Qt 4. [08:56] bug 775278 in appmenu-qt (Ubuntu) "Global menu disappearing on KDE Apps that minimize to tray" [High,Fix released] https://launchpad.net/bugs/775278 [08:58] trollixx: one can use Qt 5.4 inside the Ubuntu SDK emulator though, but the emulator is currently targetting phone only so it's not really an option.. [08:59] trollixx: I've asked sil2100 to join here who has worked on appmenu-qt5, to ask whether he'd like the same bug to be reused or not [09:00] sil2100: just asking whether bug #775278 could be marked as affecting appmenu-qt5 too, or a new bug opened? trollixx is seeing a similar problem when using app indicator to hide/show an app [09:00] bug 775278 in appmenu-qt (Ubuntu) "Global menu disappearing on KDE Apps that minimize to tray" [High,Fix released] https://launchpad.net/bugs/775278 [09:02] hm, I would maybe create a new bug as this one is very old [09:02] And basically the codebase for appmenu and appmenu-qt5 is different [09:03] trollixx: ok, ^ so create a new bug, against appmenu-qt5 [09:19] trollixx, Mirv: if you could give me the link to the new bug once it's created I would be grateful [10:01] hi, anyone knows what happened to https://developer.ubuntu.com/api/qml/sdk-14.10/ ? [10:05] mivoligo, it moved to https://developer.ubuntu.com/api/apps/qml/sdk-14.10/ [10:05] mhall119, ^ can we do a redirect maybe? [10:05] dholbach: thanks, would be nice to have some redirection or something [10:07] dholbach: mhall119: also links from here do not work: https://developer.ubuntu.com/en/apps/qml/api/ [10:08] thanks mivoligo - do you think you can file a bug for this on https://bugs.launchpad.net/developer-ubuntu-com/+filebug? [10:08] dholbach: yes [10:15] dholbach: https://bugs.launchpad.net/developer-ubuntu-com/+bug/1451768 [10:15] Ubuntu bug 1451768 in Ubuntu App Developer site "Links to API do not work" [Undecided,New] [10:16] thanks mivoligo! === MacSlow is now known as MacSlow|lunch === dholbach_ is now known as dholbach [12:40] dholbach: there should have been a redirect in place, let me check on it [12:41] thanks mhall119 [12:51] mivoligo: I'm working on getting the old links working again, but for now you can still browse the new docs [12:52] mhall119: thanks :) [12:56] mhall119: btw, is there API for 15.04 somewhere? [12:57] mivoligo: not yet, it'll require another (smaller) update to the website to add those, hopefully after UOS [12:57] mhall119: great :) [12:58] mivoligo: old links should work now [12:59] mhall119: \o/ [13:08] bzoltan: pmcgowan: new prettier API docs are now live! https://developer.ubuntu.com/api/apps/qml/current/ === MacSlow|lunch is now known as MacSlow [13:30] mhall119: \o/ good job! === _salem is now known as salem_ === jgdxx is now known as jgdx [14:58] mhall119, i just got this back "* Cannot join #ubuntu-uos-appdev-2 (Channel is invite only)" ? [14:58] any ideas how to join it lol [14:59] mhall119, oh no it works now ignore me :) [15:00] ahayzen: yeah, we've been fixing room names [15:14] zbenjamin, balloons so after updating to 15.04, autopilot stopped running [15:14] I get this error: [15:14] border.color: "black" [15:14] oopw [15:14] this error: [15:14] RuntimeError: Unable to find package 'flash.rickspencer3' in the click manifest. [15:14] I'd like to demo autopilot in 46 minutes, does this look familiar? [15:15] rickspencer3, you should build your app before running [15:15] presumably that's why it's looking for the click, when you want to run a local instance [15:15] rickspencer3, i'll join you :) considering I have written a plugin for it [15:17] balloons, I hit the build button, then ran the run script and got the same error [15:17] I have run it on the device many times, so I assume that it has built a click package [15:17] rickspencer3, does your app contain compiled code? I didn't think it did, but that's when I've seen that error. A bigger log would help, plus I can try locally if you give an lp branch [15:17] no it does not [15:18] balloons, https://code.launchpad.net/~rick-rickspencer3/+junk/flash2 [15:20] balloons, http://pastebin.ubuntu.com/10990430/ [15:22] i get : RuntimeError: Unable to instantiate any backends X11: UnicodeDecodeError('utf-8', b'\xc0\xa8\xb2\x14', 0, 1, 'invalid start byte') [15:22] zbenjamin, what does it all mean? [15:22] seems i cannot run any autopilot tests .... [15:22] this used to work fine [15:22] oh, autopilot in general is broken? [15:22] nice [15:23] hmm maybe related to that? https://bugs.launchpad.net/autopilot/+bug/1432700 [15:23] Ubuntu bug 1432700 in autopilot (Ubuntu) "Autopilot3 on vivid desktop fails: "RuntimeError: Unable to instantiate any backends"" [Undecided,New] [15:23] rickspencer3: but you seem to not get that error [15:26] zbenjamin, am I dead in the water? is there way to run them in my emulator? [15:26] that I can learn and set up quickly? [15:27] rickspencer3: good question, i only ran them locally .. But afaik there is a way to run tests on a device. [15:27] balloons: ^^do you know how? [15:27] sorry, pc crashed [15:27] ok, so let me look at your code finally [15:29] ok, so indeed it seems the error is simple. It's attempting to launch the click (because that's the default if it fails to find anything else) [15:29] balloons, oh jeepers. I don't have a phone (ironically.), so I can't verify my youtube account, which means I can't create a hangout [15:29] akiva-thinkpad, but you can join one right? [15:30] yeah I think so... [15:30] akiva-thinkpad, then I'll make it [15:30] balloons, thanks [15:30] its after lunch [15:31] zbenjamin, didn't the qml template updates land? this is old stuff [15:31] balloons: which ones? [15:31] jdstrand, do you think we should SRU bug 1449368? [15:31] bug 1449368 in click-reviewers-tools (Ubuntu) "Invalid framework "ubuntu-sdk-15.04"" [High,Fix committed] https://launchpad.net/bugs/1449368 [15:32] balloons: https://code.launchpad.net/qtcreator-plugin-ubuntu/+activereviews nothing related to that is open [15:33] ohh, I think this is related to the file naming thing [15:33] since he migrated to 15.04 [15:34] balloons: filenaming thing? [15:35] I seem to remember something about autopilot and the default qml file name matching the qml object type.. perhaps not [15:36] balloons: can we fix it inside rickspencer3's project so he has something to show? [15:37] zbenjamin, already on it.. it's just poorly written logic in the launch_application() function [15:38] balloons: yeah just figured out too, it does not find the Main.qml [15:39] zbenjamin, right.. he has the project_name hardcoded to Flash, and the _get_app_qml_source_path is weird [15:42] rickspencer3, I'm trying to redo the file to be more sane, but if you want a 2 second fix, change the projectname from 'Flash' to flash2 (in my case, since I branched and that was the folder name. make it match) [15:43] balloons: http://pastebin.ubuntu.com/10990545/ [15:43] in which file? [15:43] that makes it work [15:43] rickspencer3, in __init__.py [15:43] rickspencer3: http://pastebin.ubuntu.com/10990545/ [15:43] right, just like zbenjamin shows [15:44] balloons: the problem seems to be that the initial project used Flash as the directory name. But downloading it from the bzr renamed the dir to flash2 [15:44] right.. again, that __init__.py file really needs help [15:44] thanks guys [15:44] that "flash2" came from my naming scheming when I branched :/ [15:44] but it works now [15:44] so \o/ [15:44] rickspencer3: \o/ [15:45] rickspencer3: hah you where faster to cheer :D [15:50] balloons: we should file a bug for that... "Removing the root directory of a project breaks running tests" [15:50] zbenjamin, it's all in the template [15:51] which I notice is different now.. not sure when rick created this [15:51] balloons: does a new one not have the same prob? [16:01] jdstrand: dholbach: I do suggest to SRU both the c-r-t and the qtc-u-p [16:02] in fact we are already working on the release to be SRUd [16:02] ok [16:59] mhall119, popey said you would be best to ask this ;) ... a while back i changed my lp username and i don't think i logged out of summit.ubuntu.com, now when i try to login i get "The username (ahayzen) with which you tried to log in is already in use for a different account.", any ideas how i can resolve this? [17:19] sil2100: https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1451946 [17:19] Ubuntu bug 1451946 in appmenu-qt5 (Ubuntu) "Menu disappears if a window is hidden and then shown again" [Undecided,New] [17:19] sil2100: I've attached a simple test to show the bug [17:19] trollixx: thanks! I'll try to find some cycles this week for appmenu-qt5 work [17:19] trollixx: oh, excellent [17:22] sil2100: I've seen that Python apps have to re-register through D-Bus (https://github.com/kovidgoyal/calibre/commit/085809422605b410f9571bdfc51b18884c4fa502) to avoid that problem, but I just use plain Qt menu bar. [17:23] So no idea how to do that. [17:43] dholbach, Almost ready for the UOS? [17:46] DS-McGuire, yes :) [17:47] dholbach, Awesome :) [17:48] dholbach, Do you want me to be in the IRC or hangout? [17:48] whatever works best for you :) [17:48] DS-McGuire, join the hangout if you can [17:48] it makes things more lively [17:49] we're going to be in #ubuntu-uos-appdev as well [17:55] akiva-thinkpad: who is creating the hangout? [17:55] akiva-thinkpad: is it already created? [17:56] zbenjamin, someone besides me [17:56] my account is not verified [17:56] balloons, ping? [17:57] akiva-thinkpad, making it now [17:57] okay [17:58] * akiva-thinkpad tries to get this stout finished [17:58] akiva-thinkpad, zbenjamin https://plus.google.com/hangouts/_/hoaevent/AP36tYfUK1dWleM0wYo8saNyYGcGDEQXMZLJZC6w5ymn0caOm7Kf5g?authuser=1&hl=en [18:02] balloons: whats the IRC channel? [18:03] #ubuntu-uos-showandtell [18:03] zbenjamin, ^^ [18:03] thx [19:24] Hi, someone tries to use sensors in an app ? [19:24] Inglebard, hmmmm? [19:25] Inglebard, right now the ubuntu online summit is happening. Would you like to join some of the sessions? [19:25] Inglebard, are you having a specific problem? [19:25] i've used the accelerometer, works fine [19:25] and there's the level app, works [19:26] Hi akiva-thinkpad, i'm sorry but i can't join a session. [19:27] hi Kenvandine, i would like to use a compass sensors but I didn't know why onreadingchanged done nothing. [19:28] did you start it? [19:28] i know for the Accelerometer i added to add this [19:29] Component.onCompleted: start() [19:30] s/i added/i had/ [19:30] I set active:true [19:30] not sure that's enough [19:30] I just try Component.onCompleted: start() but it changed nothing [19:30] :/ [19:30] But I use a bq aquaris 4.5 [19:31] http://www.bq.com/gb/ubuntu.html : it says ecompass, it is a problem ? [19:31] i dont think the sensor is hooked up to the framework yet [19:32] there is "SensorStatus" in the store ... check with that [19:33] Inglebard, you can also check for the return value from start() [19:33] it returns a bool, true if it started successfully [19:35] kenvandine: it returns false [19:35] maybe that doesn't work on the bq [19:35] ogra_: I am dowloading, I check [19:37] looks like the backend for the compass isn't hooked up, or something [19:37] i see no data on mako and krillin [19:37] ogra_: On SensorStatus compass tab says : No data available [19:37] but Accelerometer is fine [19:38] ok ogra_ and kenvandine, so I will wait. [19:41] And I have also a completely different question, someone knows if it's or will be possible to use spinbox and colordialog ? [19:49] bfiller, ping: sorry, I missed the phone roadmap session earlier, but am watching it now, and you mention that browser tabs will restore their navigation history. Has the thing where they get killed and so reload almost always when you switch away and back also been fixed? [19:50] aquarius: that is a separate issue where there are being killed or partially killed by OOM killer, that's being worked on but is a different issue [19:51] aquarius: we're looking at ways to optimize memory/cache so the views don't use as much memory in the first place [19:52] bfiller, ah, OK. I wasn't sure if they were losing history just because they were being OOMed. No worries. The reloading thing is, I have to say, really annoying, especially since it prevents file uploads because the tab gets OOM killed while we're in the content picker :) [19:52] aquarius: this is on BQ? [19:53] bfiller, yep. [19:53] aquarius: does it happen all the time or only if you have a lot of apps open? [19:54] bfiller, good question. I'm not sure. (Although surely it shouldn't matter? Background apps are suspended, right? That's the point of the lifecycle stuff?) [19:54] I can test that. [19:55] aquarius: right they are, but something must be putting memory pressure on the system in addition to a single tab in the browser [19:57] bfiller, ok, I have just tried it with no other apps running and I can actually upload images! [19:57] so it's got something to do with either lots of apps running, or memory leaks which have eaten all the memory (because my phone's been running a while) [19:57] aquarius: probably a combo [19:58] I rebooted it before doing this test, so everything works as expected in a brand new booted phone running nothing but the browser. Which is nice, but most of the time it's not in that environment :) [19:58] bfiller, that upload thing and not being able to copy/paste from web apps are my top two throw-the-phone-at-the-wall infuriators with the phone, other than the word suggestions which don't belong to you :-) [19:59] DS-McGuire, are you a member yet? [19:59] akiva-thinkpad, Sorry I have been AFK. What do you mean? [19:59] aquarius: word suggestions are me too :) we're working on it. you can switch it off for now if it's not working well for you [19:59] well my team anyway [19:59] bfiller, ah, right. I have already spoken to Elleo about it :) [20:00] copy/paste is a huge limitation [20:00] DS-McGuire, ubuntu member [20:00] need support in oxide for it [20:00] akiva-thinkpad, Oh right. No I am not :P [20:00] if most apps were not web apps then I wouldn't mind the copy/paste stuff so much, but when 75% of the apps I use are oxide and I can't c/p in them, it's proper irritating. But you already know this :) [20:01] DS-McGuire, neither. Apparently they want more people applying [20:01] akiva-thinkpad, I will apply for sure [20:01] aquarius: I agree [20:01] aquarius: a crappy workaround for the upload, close apps you are not using [20:01] DS-McGuire, cool. Do you have a wiki yet? [20:01] aquarius: until we resolve the issue [20:01] akiva-thinkpad, Yeah :D [20:01] bfiller, I missed the phone user feedback session too 'cos was in a meeting, otherwise I'd have said all this there. [20:02] at least there *is* a workaround for that, so I can, in extremis, upload stuff [20:02] that helps [20:02] I never thought to test that. [20:02] might have to reboot and *then* upload stuff ;) [20:02] DS-McGuire, also on that, someone from the community team will give us a guide for membership on the subreddit [20:03] also, install web app to home screen is coming to the browser! Big kisses for the man Filler. :) [20:03] akiva-thinkpad, Awesome. When will they do that? [20:32] aquarius: i think the phone user feedback session was moved to thursday [20:32] ooh, maybe I can attend then! cool [20:33] yeah, thursday at 1400Z [21:20] good evening, ubuntu touch question === aaron__ is now known as ahoneybun [21:32] Hy guys! [21:33] somebody can tell me how to make not resizable html5 app in ubuntu touch [21:34] the good old css trick with the body tag is not working [21:39] Hello people, could anyone explain if ubuntu touch can be trusted on non ubuntu devices ie androids, or if there's a downloadable Ubuntu touch zip file to be had? [21:40] streaky_, hey [21:40] hows it going? [21:41] hello akiva...good to meet a fellow thinkpad [21:42] streaky_, so just to make sure you understand, ubuntu touch is a different linux distribution than android. [21:42] some hardware that runs android, can run Ubuntu Touch [21:43] yes thanks for checking, that's why I'm asking [21:43] :) [21:43] streaky_, The most supported phone right now is the nexus 4, a BQ phone, and the Meizu MX4 [21:44] streaky_, there are other devices that do not have official support, but which do have good community support [21:44] streaky_, for that, you are best to check into this channel here: #ubuntu-touch [21:45] they tend to be more focussed on the hardware side of things. This channel is more geared towards application development [21:45] streaky_, and to that end, if you are interested in learning some application development, then stick around :) [21:46] and also for the next two days, we have the ubuntu online summit where you can join many of the teams in meetings, and see how things are coming along [21:46] streaky_, does that answer your inquiry at all? [21:46] speck84, yes, however not me, as I am not a html5 guy [21:47] akiva-thinkpad, ok lol, can't say it would ever make much sense to me...I'm linux gui based for years but don't resort to command line very often [21:47] streaky_, np; we've all been there :) [21:48] but I will follow your advice and take a look at #ubuntu-touch [21:48] streaky_, here, what phone are you interested in putting ubuntu-touch on? [21:48] ...you've all been there...but some of us stay there [21:49] streaky_, I know that too. when I first used linux, I had this impression that I would naturally become a developer. After 6 years, I was the same as when I got there, and I really had to push myself to learn programming [21:49] I bought a Dell Streak pro several years ago and it's solid, but it quickly became obsolete and extra roms wheren't forthcoming [21:49] it is a huge hump to get over [21:50] dell streak pro? [21:50] * akiva-thinkpad looks it up [21:50] what? Dell has a phone? [21:50] gosh... how long was I asleep...? [21:51] What year is this? [21:51] yes, dual core 1.5+ they were selling it in 2011-12 [21:51] streaky_, https://wiki.ubuntu.com/Touch/Devices/streak7 [21:51] infact they were selling them off cheap [21:52] if its the dell streak7 then you may have a chance to boot [21:52] streaky_, here is a full list of devices : https://wiki.ubuntu.com/Touch/Devices [21:52] yes I've seen the streak 7 device being catered for but am not sure if the two are compatible [21:53] streaky_, unlikely. Porting these roms are extremely complicated and difficult tasks [21:53] I'd say the best option is getting a nexus 4 for cheap, or get the meizu or bq, or wait for the mystery phone mark spoke about [21:53] yes as I've been learning [21:53] that will see the first convergence [21:55] speck84, if I knew html5, I'd let you know. [21:55] sure...it is obviously a different world to these amazing ISOs which can boot any pc you throw them at [21:55] streaky_, yes it is, and the reason is because x86 follows much closer to an ISO standard [21:55] akiva thats life [21:56] speck84, are you a html5 developer? [21:56] i choose html5 because i much better than qml [21:56] i'm a student who choose UT development as a project [21:57] speck84, give qml another shot; its a really fun and easy language. [21:57] i'm a bit everithing but nothing serious I learned java c# html5 css php js [21:57] not 4 me [21:57] speck84, ah well qml is basically js [21:57] speck84, there is also golang, interested? [21:57] i want ale to do the excercise project [21:58] and Qt if you are up for a challenge [21:58] maby if i have time [21:58] i choose html5 app to finish untildeath line [21:59] speck84, I can probably help you with qml for your app. What kind of app will you be making? [21:59] interface is beautifull functioning properly it just some bug to need to solve [21:59] speck84, what is the bug? [21:59] Do u know the icurrencypad in ios? [21:59] speck84, nope. [21:59] i'll do the same in here [22:00] have a look pls [22:00] it is basicly a currenctconverter with calculator [22:00] u know what do u want to have a look? [22:01] but is just alpha preview [22:01] speck84, what is the bug though? [22:01] do you have a launchpad for it? [22:02] noo not yet [22:02] the bug is you can resize the app === salem_ is now known as _salem [22:03] and its allowed to put on landscape mode [22:03] speck84, and you want it to not be resizable? [22:03] yep [22:03] and not landscaped? [22:03] akiva-thinkpad: thanks I'll take a look at that list and the nexus 4, cheers [22:03] yep [22:03] at the moment [22:03] streaky_, if you got the money, might want to save for the meizu mx4 [22:04] many other thing is missing but thats what i wan to do at the moment [22:04] akiva-thinkpad: cool...and then mess with it's mind [22:06] streaky_, heh yep [22:07] streaky_, btw, have you seen this: https://www.youtube.com/watch?v=TShKZLeZzWE [22:15] i got it [22:15] [22:16] speck84, nice work :) [22:16] akiva-thinkpad: I'd checked out a few but hadn't seen that one...some very slick videos around...enducing more interest by the day me thinks [22:17] streaky_, yah there is also a proper ad that goes with that, [22:18] streaky_, https://www.youtube.com/watch?v=-dpfHYpfEXY [22:18] its shorter [22:18] but neat and artsy [22:19] akiva-thinkpad: I'm impressed that first things first they brought out a basic model for programmers to work on [22:19] streaky_, yah it was a smart way to do it. [22:21] streaky_, and the SDK is great. You can use QML if you are ui focussed. You can use HTML5 if you are web development focussed. You can use Qt if you are more technically oriented and want more power, and you can use golang if you are on the cutting edge [22:24] akiva-thinkpad: hmm I use Ubuntu studio for video editing and that's my area of meditation...I've never programmed anything but did enjoy "complete linux installer+VNC" and managed to boot up debian on the streak pro === benoitc_ is now known as benoitc [22:32] akiva-thinkpad: now if there was a zipped up image of ubuntu-touch that could be initiated using complete linux installer and rendering in VNC then yep, more phones could use it [22:34] streaky_, I wish it were that easy. I tried porting ubuntu to a device... it is terribly terribly terribly complex. [22:34] Had to give up. [22:35] akiva-thinkpad: I can imaging, but good for you [22:36] streaky_, do you use kdenlive for editing? [22:37] akiva-thinkpad: yes, kdenlive [22:37] streaky_, I love it. I used to use final cut, and while final cut is more stable... [22:37] kdenlive's gui is just plain superior [22:37] akiva-thinkpad: really [22:38] streaky_, I havn't tried the revamped final cut, but yeah [22:38] it's got to be easier than the linux alternatives that's for sure [22:38] streaky_, being able to window everything like you can in kdenlive, really shows the power of Qt. [22:38] ok so that's Qt [22:38] streaky_, well qt with kde libraries [22:39] a bit different. [22:39] it gives the user to experience real editing standards, layouts etc [22:41] timelines and their user logic [22:41] yep [22:42] akiva-thinkpad: good to chat, I'd better shut down for the night [22:46] does anyone know if the clock app can show timezones? [22:51] mhall119: my app has over 800 downloads [22:51] night [22:52] ahoneybun, lol nice, and yes I am pretty sure it can. [22:52] ooh [22:52] darn was making a app for it