/srv/irclogs.ubuntu.com/2014/03/28/#ubuntu-app-devel.txt

gruioHello00:01
gruioAnyone else had the bug with the multiple opening windows in QT?00:03
mario__I came in late, but from what I have heard, the community is very welcoming of people developing on ubuntu00:12
=== jhodapp|afk is now known as jhodapp
=== jhodapp is now known as jhodapp|afk
=== chihchun_afk is now known as chihchun
zsombinik90: ping06:27
akiva-mobileA bit curious; does anyone here maintain a seperate ubuntu os install for just testing and running code? Because i am planning to muck around with unity, I am tempted to do this.06:40
AskUbuntuUbuntu Studio for Ubuntu SDK | http://askubuntu.com/q/44019307:09
=== maclin_ is now known as maclin
binarykingfor the app showdown, which ubuntu touch version should I use? framework 14.04 or 13.10? also, which architecture should I use and can Qt4 apps be deployed to Ubuntu Touch?07:44
akiva-mobilebinaryking, why do you want qt4?07:59
DanChapmangood morning08:04
justCarakasgood morning08:05
binarykingakiva-mobile: actually, that app I am thinking of porting to Ubuntu Touch is built upon Qt408:09
akiva-mobilebinaryking, really? From my experience, it should not be too hard to upgrade to Qt508:10
akiva-mobileThe syntax has largely stayed the same08:10
akiva-mobilebinaryking, what app is it?08:10
nik90zsombi: pong08:30
zsombinik90: we have some issues with the clock app AP tests08:30
zsombinik90: http://pastebin.ubuntu.com/7166706/08:31
zsombinik90: and this http://pastebin.ubuntu.com/7166749/08:31
nik90zsombi: Both are UITK failures08:31
zsombinik90: the first one is in ubuntu_clock_app.tests.test_alarm.TestAlarm.test_delete_alarm_must_delete_from_alarm_list08:31
zsombinik90: looks so, I just wanted to ask you whether you had seen this before :)08:32
zsombinik90: I've received your video, just didn't had time to look at it yet08:32
nik90zsombi: yes I have seen before happen rarely. I believe elopio has a MR to fix the tab switching timing issue.08:33
akiva-mobileThe desktop session preview; is it supposed to be tablet mode?08:34
akiva-mobilefor mir unity808:34
nik90zsombi: https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/tab_selection_timing/+merge/21021908:34
nik90zsombi: btw can you merge trunk for the alarm timezone MR? I can then test and state the results in it.08:34
zsombinik90: aaaaaaaaaah, you got the bastard!!! ;)08:37
zsombinik90: thx, I'll ping timp for that!08:38
nik90;)08:38
zsombinik90: so, checked the video.... omg... I see a nasty bug there, so report one! Seems Qt5.2 brought us more pain that we thought, so I need to re-work the layouting a bit...08:42
nik90zsombi: will do. I will create a sample app to help reproduce the bug. I was wondering if I was going crazy and doing something wrong at the most basic level :D08:44
zsombinik90: nopez. when you have the green rectangle disappearing, that means the item is not "waken" (hidden: false) when the default layout gets back. On the other hand, the reason the Label does not appear on the default layout is unknown to me, but seams the property change is not executed correctly for that component.. I am wondering, if you'd have more components to move08:47
zsombibetween layouts, what would happen with all of those...08:47
nik90zsombi: I will try that08:48
zsombinik90: the MR you pointed from elopio is included in the package we are getting the clock AP errors08:49
zsombinik90: so that cannot be guilty fo rthat, or the fix is not enough.08:49
nik90zsombi: oh. Let me talk to elopio and see if we can fix the issue. That's one of the reasons why I use the UITK emulator helpers. The emulators are more fail-proof and supposed to work reliably.08:51
nik90zsombi: I think he should come online in a few hours08:51
zsombinik90: ok... meanwhile I've updated both alarm MPs08:51
nik90zsombi: thnx.I will have to wait for the deb package to install on phone08:52
zsombinik90: yope, unless you wanna build it on teh device yourself ;)08:53
nik90;)08:54
nik90zsombi: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/129888609:56
ubot2Launchpad bug 1298886 in Ubuntu UI Toolkit "Layout incorrectly sizes the children in the default layout when using Components{}" [Undecided,New]09:56
nik90zsombi: btw I think Ubuntu Layouts works fine, the bug is most likely in how I use the UITK components09:57
JamesTaitGood morning all!  Happy Friday, and happy Something On A Stick Day! :-D10:00
justCarakaslike this JamesTait http://t1.rbxcdn.com/035ee1eedeb11605053ecfbcdc079aa710:04
* JamesTait eyes the URL suspiciously.10:07
justCarakasits SFW :)10:07
JamesTaitjustCarakas, *anything* is safe for work when you're the only one home. :-P10:07
justCarakashaha :) I'm not at home, I'm at work :p10:08
justCarakasjamestait, but we use IRC here so why not also be on this channel10:08
JamesTaitjustCarakas, I'm at home, and at work.10:08
justCarakaslucky you JamesTait, I'm traveling 4 hours a day to and from work10:09
JamesTaitjustCarakas, I am *very* fortunate - I get to work from home, I get to occasionally visit nice places, all expenses paid, *and* I have *amazing* colleagues.10:32
justCarakasJamesTait, what is your job than ?10:36
JamesTaitjustCarakas, currently, mostly this: https://wiki.ubuntu.com/AppStore/Interfaces/ClickPackageIndex10:38
gcolluraWhen using ItemLayout { } should I always specify its height and width?10:39
JamesTaitjustCarakas, so when you're searching for software on your Ubuntu phone and it's not returning the result you know is there, that's probably my fault. ;)10:40
gcolluraapparently the answer is: yes10:43
gcollurapopey, if you want to prepare your lunch today, it is better for you to approve the last saucybacon update :P10:44
popeyhaha gcollura10:49
popeygcollura: I'm on it..10:50
gcollurapopey, thanks ;)10:50
justCarakasJamesTait, ahh :p nice job10:50
popeygcollura: approved10:51
gcollurathanks popey10:52
popeyand it starts fine on my phone too10:52
gcollurapopey, great10:53
JamesTaitQuestion to throw out there for my personal project, while I remember: what's a good way of mocking a remote HTTPS API for unit testing my QML app?11:11
* nik90 is interested in JamesTait's question as well.11:22
popeyyeah, we need that for reminders too11:32
popeyJamesTait: you should ask this on au ☻11:35
JamesTaitpopey, that's a good idea, you know. :)11:36
JamesTaitWhy didn't I think of that?11:36
JamesTaitI thought maybe weather-app would offer some clues, since it pulls data from a variety of online sources, but I didn't find anything. :(11:38
popeyindeed, balloons wants to implement this but I dont think he has enough round tuits11:39
popeybut I'd like to see this answered publicly somewhere so devs can do it, so yeah, put it on AU and we can all upvote and when it doesn't get an answer, add a bounty11:39
JamesTaitMmmm, bounty. :)11:41
AskUbuntumodule "QtQuick.Dialogs" is not installed on 14.04 | http://askubuntu.com/q/44028111:47
zsombinik90: checking the layouts bug: so if the Page containing layouts goes straight into PageStack, then everything works well?11:48
nik90zsombi: that's right.11:55
nik90zsombi: I am not sure if me adding the Tabs{} inside a Component{} is supported officially though.11:56
t1mpnik90: I don't see a reason why that should not work11:59
t1mpany Item can be added inside a Component right?11:59
t1mphmm you are talking about a specific Tabs instance? well you cannot refer to it outside of the Component11:59
zsombit1mp: we're talking about layouts :)12:01
nik90t1mp: I am not sure if you saw the sample code I attached in the bug report, but essentially I put that Tabs{} instance inside a Component{} so that it gets loaded only when required.12:01
nik90t1mp: but yeah the bug is triggered with the Ubuntu Layouts. Otherwise Tabs{} in Component{} works as expected :)12:02
mihirpopey, ping !!12:20
popeymihir: pong!12:20
mihirpopey,  could you comment on this bug ?12:21
mihirhttps://bugs.launchpad.net/ubuntu-calendar-app/+bug/129467412:21
ubot2Launchpad bug 1294674 in Ubuntu Calendar App "Editing events not working" [Critical,Triaged]12:21
* popey looks12:21
mihiri have posted video , and it works fine just need confirmation on that12:21
popeyyeah, works here12:22
mihirHmm shall we close this?12:23
popeycommented12:23
popeyonce we push to the store, yes12:23
popeyfix committed12:23
mihirpopey, thank you :)12:24
popeyno, thank _you_! :D12:24
mihirand almost all of dogfoods are either in progress or released12:24
mihirhttps://bugs.launchpad.net/ubuntu-calendar-app/+bugs?field.tag=bacon-dogfood12:24
mihirso we are good to go in that :)12:24
=== jhodapp|afk is now known as jhodapp
zsombinik90: ok, as I anticipated: The Rectangle is always hidden, which is a bug :(12:30
zsombinik90: the rect from teh default layout I mean12:30
zsombinik90: ok... so th ecause of the problem is that the default layout is not visible when you get it from the components... the original state is restored to the Rectangle, however that vas still having visible = false, so that's why the rect is hidden12:54
zsombinik90: so, at least we know the problem :)12:57
JamesTaitpopey, nik90: askubuntu.com/questions/44029712:58
akiva-mobileAdd the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set13:02
akiva-mobile  "Qt5Core_DIR" to a directory containing one of the above files.  If13:02
akiva-mobile  "Qt5Core" provides a separate development package or SDK, be sure it has13:02
akiva-mobile  been installed.13:02
akiva-mobileqtcreator is giving me this error when running cmake13:02
akiva-mobileIs this a setting I need to do in Qt creator, a missing package, or do I need to branch it?13:04
AskUbuntuWhat's a good way to mock a remote HTTPS API for unit testing my QML app? | http://askubuntu.com/q/44029713:13
sergiusenspopey, hey, latest images and shorts seems to show wrong dates, have you noticed?13:15
popeyi had not13:17
popeytalking to dev now13:17
=== _salem is now known as salem_
JoeyChansergiusens    I'm dev of shorts    same happen to me13:28
JoeyChandebug ing now13:28
nik90JamesTait: thnx. Bookmarked it13:28
nik90zsombi: ah okay..good to know. Anything I can do on my end to fix it?13:29
sergiusensJoeyChan, great; might be related to the move to qt 5.213:30
sergiusensbut I'm just guessing with the basis on when it started13:30
JoeyChanwow   r250 using 5.2 ?13:30
JoeyChanI didn't notice that13:30
JoeyChanI found shorts works well in my desktop13:31
JoeyChan5.0.2 in my desktop13:32
zsombinik90: nope, I managed to get a fix for it :)13:54
zsombinik90: just need to clean up the branch from teh debug mess I've added :D13:54
balloonsJamesTait, on an AP level, you can see an example of it in stock ticker and some other places. The idea is to mock a simple python webserver and call against that.13:56
nik90zsombi: cool13:57
JamesTaitballoons, I'll take a look later on, thanks!13:58
balloonsJamesTait, https://code.launchpad.net/~veebers/stock-ticker-mobile-app/mock-server-for-testing/+merge/19497113:59
JamesTaitOh, brilliant!14:00
iBelievenik90, ping14:36
nik90iBelieve: pong14:36
iBelievehi nik90, I have a question about your instructions for uploading to the PPA. As the last step, it says to use the file project-dashboard_version_all.changes, but I only see  *_source.changes and *_amd64.changes files14:38
iBelievenik90, Should I use the _source one?14:38
nik90iBelieve: I was referring to the file that ends with .changes. On my computer I got a file called, project-dashboard_0.2_source.changes14:39
nik90iBelieve: and that's what I uploaded to the PPA14:39
iBelievenik90, okay, thanks14:40
nik90iBelieve: ignore the *_amd64.changes file14:41
nik90iBelieve: you just need the one with *_source.changes14:41
popeycorrect14:42
popey*_source.changes14:42
iBelievenik90, I'm uploading the _source.changes file right now. Thanks for your instructions, they're very easy to follow and make the process so simple14:42
nik90iBelieve: yw :)14:42
iBelieveI just updated v0.2.1 to the PPA, now I'm going to publish it to the click store and then I'll publicize this version14:43
nik90iBelieve: awesome..looking forward to it14:44
jesseflbhow does it work?14:54
jesseflbanyone?14:54
nik90jesseflb: how does what work?14:55
iBelievejesseflb, how does what work?14:55
nik90iBelieve: lol..coincidence :P14:55
iBelievenik90, lol14:55
iBelievesnwh, ping14:58
popeynik90: i was watching a film last night on netflix... and as i was scrolling around films / shows it really made me think of Flashback.15:24
nik90popey: yay :)15:24
popeyhmm i want https://github.com/juj/emscripten-scummvm on my phone15:43
=== chihchun is now known as chihchun_afk
=== salem_ is now known as _salem
iBelieveIs there anyone around with a device who could test a click package for me? I'd like to make sure it's launching and working correctly before uploading it to the store.16:18
popeyiBelieve: sure16:20
popeyiBelieve: have you tested with the click-reviewers-tools?16:20
iBelievepopey, thanks, I'll get you the link in a second once it finishes uploading. Yes, I tested it with the click reviewers tools but I'm a little confused about the desktop_Exec flag. It's passing, even though the Exec= line is a hard-coded path (for the Debian package)16:22
mzanettiiBelieve: hit me16:22
mzanettioh, sorry. wasn't at the end of the log. still can test it too if you want16:22
=== gatox is now known as gatox_lunch
iBelievemzanetti, popey here's the link: http://ubuntuone.com/7Ld2sv4qNSoj0qB94JWhko16:23
popeyiBelieve: i get a warning16:25
popey      "link": "http://askubuntu.com/questions/417342/what-does-functional-qml-application-uses-qtwebkit-mean/417343",16:25
popey      "text": "Found files that use unsupported QtWebKit (should use UbuntuWebview or Oxide instead): backend/services/OAuthPage.qml"16:25
popeydoesnt start here iBelieve16:26
popeyi get a black screen16:26
popeyExec=aa-exec-click -p com.ubuntu.developer.mdspencer.project-dashboard_project-dashboard_0.2.1 -- qmlscene $@ /usr/share/project-dashboard/project-dashboard.qml16:27
popeyyeah, that's never gonna work16:27
popeyneeds to be qmlscene $@ ./project-dashboard.qml16:27
nik90popey: that's how it is for Flashback, Sockworld and so on16:27
nik90socketworld*16:27
popeyits not16:27
popeyExec=aa-exec-click -p com.ubuntu.developer.nik90.flashback_Cliffhanger_0.3.3 -- qmlscene   $@ Flashback.qml16:27
popeythats from the .local/share/applications/foo.desktop file16:28
nik90hmm..in my .desktop file, I have Exec=qmlscene $@ /usr/share/flashback/Flashback.qml since qmlscene $@ Flashback.qml didn't work on the desktop16:28
=== _salem is now known as salem_
iBelievepopey, thanks for testing. I had a feeling that would happen. Now I've got figure out how to maintain a separate .desktop file for Debian and Click16:29
popeynik90: do you have Path set ?16:29
nik90popey: yeah I do16:29
nik90popey: I followed what was given in Socketworld to help with having the same .desktop file for both debian and click package16:30
popeyExec=aa-exec-click -p com.ubuntu.developer.majster-pl.socket-world_socket-world_0.9 -- qmlscene   $@ socket-world.qml16:30
popeysame16:30
popeyExec=qmlscene   $@ socket-world.qml16:30
popey^^ thats the one thats in the opt/click.ubuntu.com/com.ubuntu.developer.majster-pl.socket-world/current directory16:31
popeywhhich is what ships with the click16:31
popeythe one in ~/.local is the one munged by the click installer to add the apparmor wrapper16:31
nik90popey, iBelieve: I just cloned project-dashbaord from the git repository and then installed it on the phonen using qtcreator. It installed and I was able to launch it properly16:31
popeyI dont know what voodoo makes that work16:32
iBelievenik90, weird...16:32
iBelievenik90, wonder if it's not using the .desktop file?16:32
popeymaybe "click build" futzes with the .desktop file? I dunno16:34
nik90popey: did you install the click on the desktop using pkcon?16:34
popeybut I just grabbed the com.ubuntu.developer.majster-pl.socket-world_0.9_all.click from the store and unpacked it with ar -x and tar zxvf and the desktop file definitely doesn't have path specified in exec16:34
popeynik90: i never install clicks on the desktop16:34
nik90popey: because my .desktop file (in trunk) has Exec hardcoded and that's what I uploaded to store as well.16:35
nik90so I guess during the click creation, it somehow changes that or something16:35
popeylemme unpack the click i got from the store16:36
nik90I just unpacked the click I uploaded few hours back, it has Exec=qmlscene $@ flashback.qml.16:36
nik90however my trunk has the hardcoded path16:36
popeynik90: http://paste.ubuntu.com/7169296/16:36
nik90so the click package changed it16:37
popeyyeah16:37
popey\o/ click magic16:37
nik90so why didnt that magic work with project-dashboard?16:37
popeyiBelieve: how did you build that click?16:37
nik90iBelieve: also in your click package I see .qmlproject.user files which shouldn't be there16:37
iBelievepopey, I have a script that copies everything into a release dir, removes some files (like .git), inserts the version number, and then builds the click16:38
iBelievenik90, thanks I'll remove that16:38
nik90popey: yup something is wrong with the way that iBelieve created the click16:38
nik90popey: I just created the click using qtcreator of project-dashboard and there everything is fine16:38
popeycool16:39
popey^ do that iBelieve ☻16:39
=== chihchun_afk is now known as chihchun
iBelievenik90, click didn't change it - qtcreator did. Same thing happened when I used qtcreator to make the package16:40
iBelievenik90, (refering to a few lines back about the hardcoded path)16:40
iBelievepopey, can you try the same link again (new package, same version number though)16:41
popeysure16:41
nik90iBelieve: the new click package is now correct16:42
iBelievenik90, you used the same link I gave popey?16:42
nik90iBelieve: yup16:42
nik90but let's wait to hear from popey16:42
popeyhttp://popey.com/~alan/phablet/device-2014-03-28-164254.png16:43
iBelievepopey, yeah!16:43
popeyhttp://popey.com/~alan/phablet/device-2014-03-28-164314.png16:43
iBelievenik90, cool, because that was built using my same script just with the Exec= line changed so it's not hardcoded. I plan to make a second script for packaging the deb16:43
popeyhttp://popey.com/~alan/phablet/device-2014-03-28-164338.png16:43
iBelievenik90, then I can have my desktop icon for the deb :)16:44
popeyhttp://popey.com/~alan/phablet/device-2014-03-28-164402.png16:44
popeyhehe, the timer sometimes leaps seconds16:44
nik90iBelieve: indeed :)16:44
popey1->316:44
iBelievepopey, awesome, glad to see it's working. Thanks for the screenshots16:44
popeyhttp://popey.com/~alan/phablet/device-2014-03-28-164441.png16:44
popeynp16:44
popeyenough now? ☻16:44
nik90popey: lol the same issue as with the clock app from long time ago :P16:44
popey16:45
iBelievepopey, it's a bug in the SDK probably. because I have it set to redisplay every second. However, the time is based on the time elapsed since the timer was started, so it won't affect the accuracy of the results.16:45
popeyright16:46
nik90iBelieve: actually it is a timing issue. The timer you run isn't being executed every second due to activity in the same thread16:46
nik90iBelieve: btw what is the activity indicator on the top right with a number inside it indicate?16:46
iBelievenik90, interesting.16:46
nik90iBelieve: also I get connection error dialog boxes after the project import is done16:46
iBelievenik90, oh, the number was for debugging to make sure it works. I forgot to remove it.16:47
iBelievenik90, that's odd about the error. Did you connect to a valid project? I don't have checking set up yet to make sure the repository you connected to exists16:47
kalikiananik90: have you had a chance to look at the SortFilterModel API? https://docs.google.com/a/canonical.com/document/d/1B0yHmPr5yOHri3zZLtRba7eYhTR_K374zZAdED7xgy8/edit16:48
nik90iBelieve: I imported one of my old github projects. The import went fine and I see the issues and pull requests. But I still see the connection error dialogs sometimes. I have to press couple of times to hide them16:48
iBelievenik90, the activity indicator runs the first time you create a project. After that synchronization happens in the background.16:48
nik90kalikiana: yeah I had a look at it briefly. I was trying to cross-check with all the use cases in mind16:49
iBelievenik90, hmm, did it give the URL that failed to load?16:49
nik90iBelieve: the error I got was "Connection Error. Unable to complete action: undefined"16:49
kalikiananik90: cool, no rush just checking16:49
iBelievenik90, would you mind giving the name of the repo (assuming it's public) so I can debug it?16:49
nik90and the activity indicator is still running all the time16:49
nik90iBelieve: sure.16:50
iBelievenik90, I'm still working on adding better error messages16:50
nik90iBelieve: https://github.com/krnekhelesh/NSTrain16:50
snwhiBelieve, you rang?16:50
nik90kalikiana: I am making notes of the document.16:50
iBelievenik90, weird - I didn't get any errors16:51
iBelievenik90, can you turn off the GitHub plugin and then try again?16:51
nik90iBelieve: ok. let me try16:52
iBelieveoh... and I also changed the issue body to display the JSON for debugging and accidentally committed that :)16:53
iBelievesnwh, I was wondering about the 256x256 icon for Project Dashboard - it looks like there's transparent whitespace at the top and bottom, so it looks funny when I use, i.e. on my Google+ page. Is there anyway to get the icon to extend to the edges and be a perfect square?16:54
nik90iBelieve: okay I don't get the connection error any more. Just got it once while navigating into an issue, but couldn't reproduce it.16:54
iBelievenik90, thanks for reporting it. I'll work on better error checking/messages and see if I notice it at all.16:55
nik90iBelieve: a few UI behaviour seems a bit strange. I will report bug reports for that.16:55
iBelievenik90, thanks, much appreciated16:56
snwhiBelieve, it's true16:57
snwhiBelieve, https://dl.dropboxusercontent.com/u/7027392/pd.png17:01
popeyI like that icon.17:02
iBelievethanks snwh, my google+ page will be very happy :)17:02
snwhiBelieve, for the G+ I can give you the hires version17:03
iBelievesnwh, that would be cool too17:03
snwhsame link17:03
snwhpopey, :)17:04
snwhiBelieve, ^17:06
iBelievesnwh, thanks17:07
=== salem_ is now known as _salem
=== bfiller is now known as bfiller_afk
=== _salem is now known as salem_
=== gatox_lunch is now known as gatox
=== bfiller_afk is now known as bfiller
=== salem_ is now known as _salem
iBelievenik90, ping18:22
jdstrandmzanetti: weird, authenticator is telling me that no accounts are set up... I used it earlier today (I think, definitely yesterday). did something change on google's end?18:29
jdstrandno, that should be it. iirc, this doesn't even have the networking permission18:29
jdstrandshouldn't*18:29
=== _salem is now known as salem_
candelibasHi guys, I'm developing a sound recorder application for ubuntu.I'm using Cordova API and trying to find a way for pausing record.Anyone have an idea?18:40
candelibasI didn't find any pause method for recording.I think I will extend media plugin or create own plugin18:46
sarnoldcandelibas: what would a 'pause' provide that 'stop' and 'start' don't provide?18:46
candelibassarnold: 'stop' method finishes record session.So,I can't resume for recording.There is no already method for this(asking if any).Therefore, I must find another way.18:53
=== gatox_ultra is now known as gatox
=== bfiller is now known as bfiller-afk
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!