[00:36] www.google.pt/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CD8QFjAB&url=http%3A%2F%2Fwww.computerworld.com%2F&ei=2NEnUvXwOoiRhQeSj4GoCw&usg=AFQjCNGWIgkWtnvRRqA8PHdgccurO6diMA&bvm=bv.51773540,d.ZG4 [00:37] hacker apply [00:54] iBelieve, how;s the merge coming? [00:55] balloons, I saw that the one test failed, so I ran it locally, and it passed. I tried to re-run the jenkins bot, but I don't think it ran. Maybe you could try running it again? [00:55] balloons, I have no idea why the test failed [00:55] iBelieve, sure, let me help you push this through [00:55] I'm just as ready as you to get this in :-p [00:56] iBelieve, there is only one failure, perhaps you missed the link I sent on it [00:56] http://91.189.93.70:8080/job/generic-mediumtests/232/testReport/ubuntu_filemanager_app.tests.test_filemanager/TestFolderListPage/test_copy_file_with_mouse_/? [00:57] balloons, yeah, I saw that. That's the test that I was referring to. [00:57] balloons, I don't understand that error message, especially when that test passes locally for me [00:57] right, so let's look at the test together righ tnow [00:57] the trace is really confusing at first glance [01:00] balloons, if I remember correctly, that same test was failing with the same error awhile back, but then was working again. [01:00] iBelieve, so this is very very similar to the cut.. I would make a note that we could probably function out some of the common code as we go.. makes it easier to maintain and read going forward [01:01] iBelieve, yea, I kicked it off again if that happens to be the case.. which is :-( [01:01] balloons, that would be nice to do. Just made a note to do that [01:03] balloons, I have no idea how dbus connects to the File Manager app, but could it be that the copy operation is blocking dbus from sending a reply to autopilot? [01:03] yea, just that one test fails again [01:04] http://91.189.93.70:8080/job/generic-mediumtests/233/testReport/ubuntu_filemanager_app.tests.test_filemanager/TestFolderListPage/test_copy_file_with_mouse_/? [01:04] so the trace seems to indicate most the test runs [01:05] it seems like the paste happens at least [01:05] how can i develop applications that can be used in ubuntu desktop? | http://askubuntu.com/q/341509 [01:06] iBelieve, what's the u1db dependency btw? [01:07] balloons, I switched settings storage from LocalStorage to U1db. Once the actual settings API lands we'll switch to using that for settings storage. [01:07] iBelieve, since cut works but copy for some odd reason doesn't I would be tempted to pull out the common code from cut and use it in copy to narrow done the issue.. it's definitely not giving us much to work with why it's failing [01:08] it copies and then pastes the file, that's it [01:08] balloons, I'll try pulling the common code into a separate shared function [01:09] iBelieve, k, that should help [01:10] balloons, I need to go now, I'll let you know tomorrow after merging the code [01:10] iBelieve, ok.. if you don't mind I'll keep hacking on it [01:10] if I get it to work, I'll supersede your MP and merge it, ok? [01:13] balloons, that's more than fine with me :) [01:53] nik90, perchance are you about? [06:49] good morning [08:24] Good morning all, happy Be Late For Something Day! :-D === chriadam is now known as chriadam|away [09:05] popey, the other day you showed me the codecs that the gstreamer*-ugly package provided. How can I find out which codecs are provided by a gstreamer package? (the .deb package descriptions are usually no good for those) [09:05] I'm trying to find out which packages we actually need to play mp3 [09:06] dpm: is apt-cache show not sufficient then? [09:06] it tells you what packages it pulls in, and mime types [09:06] apt-cache show gstreamer0.10-plugins-ugly | grep mp3 [09:06] shows libmp3lame0 which is the mp3 decoder [09:07] yeah, that looks like it, thanks [09:07] however someone was mentioning on that thread that gstreamer-ffmpeg should be enough and that we probably already install it in the image, but I'm not entirely sure [09:14] so lool, you were saying that gstreamer*-ffmpeg is included in the touch images and apps that use Qt Multimedia (which use gstreamer as the backend) should be able to play mp3 files already? [09:15] dpm: that's the theory [09:15] * dpm tests the theory :) [09:16] * dpm flashes [09:16] dpm: looking again, I see we're seeing gstreamer0.10-ffmpeg [09:16] dpm: but most stacks should be using gst 1.0 now [09:17] lool, yeah, but we can't do much for the apps that use Qt Multimedia, it's Qt Multimedia that chooses the gst version to use [09:17] hum [09:17] we shouldn't ship ffmpeg on an official image, those codecs are not free [09:17] (or rather some might have patent issues) [09:17] dpm: ok, confirmed you do need gstreamer-ugly [09:18] dpm: /usr/bin/gst-launch-0.10 filesrc location=timpany.mp3 ! mad ! audioconvert ! audioresample ! pulsesink [09:18] that doesn't work until you install -ugly [09:18] WARNING: erroneous pipeline: no element "mad" [09:18] obviously technically you need libmad [09:19] popey, ah, thanks that was quick! [09:19] try that command with and without -ugly (and libmad0) installed [09:20] (need an mp3 of course) [09:20] yeah, just setting up the image now [09:20] * popey rewards himself with bacon [09:28] popey, what type of bacon is it? Jono? [09:29] eating bacon [09:29] but all bacon is eating bacon to me [09:31] lool, popey so yeah, I can confirm too that the music app only plays mp3 files with gstreamer-0.10-plugins ugly (it does not with gstreamer-1.0-plugins ugly or gstreamer-0.10-ffmpeg) [09:32] lool, you were suggesting to file a bug to request an autopilot test for the music app for that. I think we'll need that in any case, but I'm not sure how the bug for the Music app would help solving the issue? [09:41] anyway, I replied to the thread now [09:45] dpm: do you know the size of the n4 in units.gu? - see https://plus.google.com/u/0/102664273545395284930/posts/SGNDfvq4Est [09:46] Is there a way to include an image in a TextField? Like https://wiki.ubuntu.com/TimeAndDate?action=AttachFile&do=get&target=phone-settings-time-zone-manual.png [09:47] is that what primaryItem is/ [09:47] ? [09:48] popey, I don't know, sorry. I think the only place where we document grid units in relation to devices is here, but that's not directly tied to N4 or the full screen size: http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/resolution-independence.html [09:49] it might be a good askubuntu question :) [09:49] mzanetti: ping [09:49] tmoenicke: pong [09:53] dpm: on it! [09:54] :) [09:55] Laney: yes it is a primary item [09:55] Laney: I use it in the clock app search field [09:55] nik90|Office: ah ok, nice [09:55] is it in the theme [09:55] ? [09:56] Laney: the search icon? yes [09:56] w00t [09:56] in ur clock app, stealin ur code [09:57] Laney: http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/view/head:/clock/WorldClock.qml [09:57] ty [09:58] nik90|Office: you ship the icon with the app? [09:58] Laney: all core apps ship all icons with the app atm. The mobile icon theme does not work for us properly [09:58] hrm [09:58] Laney: there are 2 bug reports regarding this which I cannot find atm [09:58] ok [09:59] I might leave out doing this until it works [09:59] or that :) [10:05] dpm, popey: gst-launch-0.10 filesrc location=hollandemoi.mp3 ! audio/mpeg, mpegversion=1, layer=3 ! ffdec_mp3 ! audioconvert ! audioresample ! pulsesink [10:05] it says it plays, but I get no sound [10:05] but then I rarely get sound out of grouper [10:05] dpm, popey: Now maybe this isn't supported by decodebin/playbin [10:06] lool: do you have -ugly installed? [10:06] popey: no [10:06] ok [10:06] * popey tries [10:06] guys, how can I test an ubuntu touch app with autopilot on my PC? [10:07] ooh! [10:07] that works lool [10:08] i just flashed my phone with latest image, install gstreamer-tools and that command produces audio on my mako [10:08] PaoloRotolo: https://wiki.ubuntu.com/Touch/Testing/Autopilot [10:08] PaoloRotolo, and http://developer.ubuntu.com/resources/tutorials/quality/how-to-write-autopilot-tests/ [10:08] (near the end) [10:08] popey: ok, so it seems we had enough modules without -ugly, but they aren't hooked up properly to playbin [10:08] Thanks! [10:09] dpm: whats the url for app reviews? I'm seeing desktop apps at https://myapps.developer.ubuntu.com/dev/reviewer/ [10:09] nik90|Office, I think autopilot doesn't work with new Timer's presets. https://bugs.launchpad.net/ubuntu-clock-app/+bug/1220998 [10:09] Launchpad bug 1220998 in Ubuntu Clock App "clock app autopilot tests fail" [Undecided,New] [10:09] you've got a click missing in there [10:09] popey, https://myapps.developer.ubuntu.com/dev/click-apps/reviewer/ [10:10] ah [10:10] ta [10:10] np [10:13] PaoloRotolo: I knw :). for some reason they fail on the phone [10:13] PaoloRotolo: the tests pass on the desktop [10:13] popey, dpm: I've checked with gstreamer 1.0, and decodebin doesn't pick up avdec_mp3 either [10:14] popey, dpm: Sounds like we have a range of gstreamer cleanups to do: moving to 1.0, making sure apps use qtmultimedia when possible, making sure the right set of 1.0 packages/codecs are pulled [10:15] So I can't do nothing :( I've only the desktop version. [10:15] lool, where would you suggest to track this? It's critical for the Music app (and any other multimedia apps) to work before release [10:16] dpm: Yes, I was thinking about that actually [10:16] and also thinking I ought to ping Pat [10:16] dpm: Got to go for lunch [10:16] dpm: maybe a plain Ubuntu bug [10:16] ok, let's follow up later, thanks lool [10:18] PaoloRotolo: np [10:19] PaoloRotolo: btw thnx for your help with the clock app. You have fixed over 5 bugs in 2-3 days alone :) [10:19] nik90|Office, no problem, It's a pleasure for me :) === jo-erlend__ is now known as jo-erlend === MacSlow is now known as MacSlow|lunch [10:57] PaoloRotolo: can you take https://bugs.launchpad.net/bugs/1197908 [10:57] Launchpad bug 1197908 in Ubuntu Clock App "Timer sometimes does not reset its clock hands after stopping it" [Medium,Confirmed] [10:57] PaoloRotolo: First see if you can reproduce it without your solution and then try your fix by stopping before resetting it === ondra is now known as ondra-lunch === gusch is now known as gusch|lunch [11:28] in Qt5.1, is there any way to set a Qtoolbar as primary-toolbar an style it as the GTK unity's toolbar ? [11:28] hey popey do you know someone who can enable armhf for my ppa https://launchpad.net/~rad.io-devs/+archive/rad.io ? [11:30] daker: hmm, I don't know what the process is now.. let me see [11:30] tyt [11:31] Ubuntu Components Tutorials ? [11:31] Ubuntu.Components Tutorials [11:31] Ubuntu.Components Tutorials ? [11:32] hello Programin [11:33] hello [11:33] I programin with QML [11:33] QML not Ubuntu.Components 100% [11:36] Programin: our documentation can be found at http://developer.ubuntu.com/ [11:45] daker: thanks to smartboyhw .. https://dev.launchpad.net/CommunityARMBuilds [11:45] daker, do follow the instructions on build times and builds per week:P [11:45] knowing his app I doubt that will be a problem [11:46] popey: why a problem ? [11:47] typo [11:47] I meant "not a problem" :D [11:47] sorry [11:47] ok ok :) [11:50] thanks popey smartboyhw [11:51] daker, no need to thank me, thank Launchpad docs;) [11:58] Hi, this is Joey from RSS reader team, any questions are welcome :) === MacSlow|lunch is now known as MacSlow [12:24] hi JoeyChan, nice to see you here, thanks for coming! :) [12:24] :) === gusch|lunch is now known as gusch [13:04] wgrant do yo know why it's still only build i368 https://code.launchpad.net/~rad.io-devs/+recipe/rad.io-daily ? [13:04] 386* [13:24] how weird would it be if the first time you ran an app, it took a while to set up sqlite database with the local storage API? [13:25] rickspencer3, not so much if you can tell people you're doing a one-time setup [13:25] thanks beuno [13:25] I'll give it a try [13:26] if first time you ran rss reader, it will add some feeds for testing, that's it [13:29] rickspencer3: to be 21st century and "hip" it would need to say cool things on a splash screen like "Reticulating splines..." while you wait [13:29] people love that nonsense [13:31] popey, i hate it when my splines aren't properly reticulated [13:39] popey, ok, I'll think of something [13:40] popey, it's a calorie tracker app, so maybe I'll make it food related :) [13:40] "burning calories"? :) [13:41] if I import a module, but never use it, does that consume memory? [13:56] mehow: ping [13:57] mehow: can you propose a solution for https://bugs.launchpad.net/bugs/1200594 [13:57] Launchpad bug 1200594 in Ubuntu Clock App "[clock-app]Font in world city list are too big" [Low,Incomplete] [13:57] mehow: it is a low hanging fruit which can be easily fixed. [13:58] my favour kind of fruit ;) [14:06] mehow: lol [14:07] lI am working on it now, I think we did discuss it before saying that the country would appear on the second line below the name of the location [14:07] I will send you a visual in 1 h ;) [14:07] working on it now ;) [14:07] mehow: thnx [14:07] mehow: when we previouslty discussed we brainstormed about it but did not arrive at a decision [14:08] ok ok ;) [14:24] PaoloRotolo: I also assigned this bug to you https://bugs.launchpad.net/ubuntu-clock-app/+bug/1221252 [14:24] Launchpad bug 1221252 in Ubuntu Clock App "Search button icon is not as per design specifications" [Low,Triaged] [14:25] PaoloRotolo: All you need to do is create an icon as shown and propose a merge. I will worry about changing the text to display the icon. Would that be okay>? [14:26] nik90|Office, yes of course :) I'll try to edit the code too [14:27] PaoloRotolo: You can edit the code if you want, however only after I merge in my proposal which is regarding the search box layout [14:27] PaoloRotolo: otherwise it will create a code conflict for you [14:28] PaoloRotolo: my merge proposal will go in tonight [14:28] * nik90|Office hugs PaoloRotolo [14:28] nik90|Office, ok :D [14:46] gusch, hey [14:48] om26er: hi [14:48] gusch, with the share app fix in the gallery a few days ago, every time the gallery is started opening the first image takes more than normal time.. like you tap on an image and it will take 2 seconds for it to open [14:49] things get better after that though, seems like it loads the share component for 2-3 seconds [14:49] om26er: oi - bad - please file a bug [14:50] om26er: I should hide the share behind a loader [14:52] gusch, bug 1221266 [14:52] Launchpad bug 1221266 in gallery-app (Ubuntu) "opening a photo takes 2-3 seconds on first run" [Medium,New] https://launchpad.net/bugs/1221266 [14:53] om26er: thx === caribou_ is now known as Caribou === mohammed is now known as Guest12435 [15:00] nik90|Office, done: http://img40.imageshack.us/img40/1031/87h5.png ;) [15:01] PaoloRotolo: nice. That was quick [15:02] PaoloRotolo: you might need to consider some points though such as are you going to insert that into a ubuntu shape widget or whether you are going to add an image and add a mouseArea to it. [15:03] PaoloRotolo: I think you can use a normal button which displays only an icon instead of text [15:03] PaoloRotolo: and set the background color of that button to that pinkish tone [15:03] PaoloRotolo: so your icon should essentially comprise of only the 3 white dots [15:04] PaoloRotolo: on a transparent background [15:04] PaoloRotolo: but anyways let me let you implement it :) [15:05] nik90|Office, if you insist, I'll mail you the .svg ;) What about the edges of the button? They're "half rounded" [15:06] PaoloRotolo: As long as the implementation follows the design specs closely, I am fine [15:06] PaoloRotolo: I think we can ignore the edges of the button for now [15:07] PaoloRotolo: Give it a shot and let me know if it comes close to design mockup [15:08] nik90|Office, the apps will be tested on pc or phones? [15:09] clepto: both however it will judged on its behavior on the phone and tablet [15:10] PaoloRotolo: I am on a web irc client and hence cannot accept file transfer [15:10] PaoloRotolo: can you send it to my email instead [15:10] nik90|Office, ok, no problem. [15:11] nik90|Office, ok, so to clear something out, will we be able to create files (db, folders, etc) in our application's folder? [15:13] clepto: I heard that you *cannot* create stuff in your application directory. However you will be given a directory elsewhere you can write stuff to [15:13] clepto: not sure atm which directory that is [15:13] clepto: best talk to mhall119 regarding this [15:13] mhall119, can you elaborate? [15:18] How long does it take until a click app gets reviewed? Isn't the process automatic? [15:19] iBelieve, it isn't currently, it's manual while we work out all the kinks [15:19] iBelieve, it's a day or two, currently [15:20] beuno, oh, okay. I guess I'm a bit excited :) [15:20] iBelieve, which app in particular? I may take a look after this call ;) [15:21] beuno, Ubuntu Tasks, https://myapps.developer.ubuntu.com/dev/click-apps/13/. That would great! [15:21] * beuno nods [15:31] mehow: thnx for the designs [15:32] mehow: 1 question though, currently afaik there is no way to filter them the way you show them [15:33] mehow: But I will find out from other developers how to implement them [15:33] I know I know sorry this is the old design and it suppose cover only the text formatting [15:33] don't worry about the quick search on the top ;) [15:33] mehow: oh okay...so only the text formatting changes [15:34] mehow: phew ;) [15:34] yeah ;) [15:49] clepto: nik90|Office https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1197056 may explain where things "should" go? [15:49] Launchpad bug 1197056 in apparmor-easyprof-ubuntu (Ubuntu Saucy) "SDK webview applications should not use ~/.local/share/*/.QtWebKit/ for their databases" [Undecided,Triaged] [15:50] popey: thnx. [15:50] popey: the clock app also writes into that same directory :P [15:50] popey: I guess I need to fix that as well then [15:50] :D [15:51] popey: so what directory name do i use? clock-app or ubuntu-clock-app? [15:51] popey: I will file a bug report for this as soon I go home. I am leaving the office now [15:51] nik90|Office: I believe the "standard" XDG type variables work. [15:52] eg, XDG_DATA_HOME="$HOME/.local/share" [15:52] popey: true but the XDG variables only include the path until share. I was referring to the actualy application directory [15:52] popey: also I need to see how to use XDG variables in qml [15:53] popey: anyways talk to you later (around 1-2 hours after) [15:53] bye [16:00] popey, mhall119: I have an all qt app in my queue if an app is built by the sdk but not packaged will it just be in a folder type structure? I'm wondering if it is a click app that has been added to the wrong queue. [16:32] davmor2: which app? [16:33] popey: It's Loan and EMI calculator [16:35] davmor2: yeah, that certainly looks like a touch app [16:35] downloaded and ran it [16:36] popey: I'll ping the dev and see if it was meant for the click apps queue [16:36] cool [16:36] feel free to ping me with those again, happy to check them out [16:37] popey: thanks [16:38] nik90_, I fixed the bug https://bugs.launchpad.net/bugs/1197908 with a new Timer :D [16:38] Launchpad bug 1197908 in Ubuntu Clock App "Timer sometimes does not reset its clock hands after stopping it" [Medium,In progress] [16:40] Does somebody have a maguro device they can test an app with and send me a screenshot? [16:44] Hi, what is the trick to be able to swipe page left and right? (Ubuntu SDK, QML) [16:46] bfiller: I now have a fix for #1205097 [16:48] bfiller: ted is reviewing it. [16:48] what path should i use for the icon? [16:49] nik90_, I added also an "reset" animation of the timer's hands. [16:50] bfiller: btw, while debugging the HUD issue I noticed we have apps still using the "old" HUD API [16:50] http://pastebin.ubuntu.com/6067176/ [16:50] those must be updated to use the new Unity Action API. [16:51] otherwise using UITK.MainView and pages will "break" the HUD searches [16:51] PaoloRotolo: wonderful [16:51] PaoloRotolo, \o/ [16:51] PaoloRotolo: do you have a branch I can test? [16:51] bfiller: should I file a bug against each of the apps or would one catchall be enough? [16:51] I should have time next week to patch the apps myself [16:51] nik90_, yep, here my mp: https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/fix-for-1197908/+merge/184143 [16:52] Ciao WebbyIT :D [16:53] PaoloRotolo: can you explain the logic behind your code? [16:54] nik90_, I tried to stop all the animations in the app, but it doesn't work [16:55] so I created a timer and I added an animation after 200 msec. from the reset() [16:56] PaoloRotolo: so your new timer will start and then stop the animation. [16:56] So, reset will stop the timer (the big timer) and my timer will reset the hands after 200 msec, when all the animations are finished [16:56] bfiller: oh, actually. I can file just one bug report and target it to all the apps (projects) [16:56] nik90_, yes, start the animation, set the hands to "0" and stop the animation [16:56] PaoloRotolo: In that case, shouldn't you be calling reset_timer.start() instead of restart()? [16:57] PaoloRotolo: since your timer will be called once to stop the animation and then it does its job and is done with. [16:58] nik90_, ok, i'll fix it :P [17:00] mhall119, is it possible today to add a new master scope? like so that we can get a new lens [17:01] nik90_, pushed. BTW, my fix works with you? [17:01] PaoloRotolo: testing it now [17:01] cwayne_, no it's not. But you can add any scope to the dconf key com.canonical.unity.dash and it will appear as a lens. [17:01] PaoloRotolo: I just approved your other branch [17:02] nik90_, ty [17:02] davidcalle_, ah, where would the icon be defined? [17:03] cwayne_, in your scopename.scope file in /usr/share/unity/scopes, you can set an "Icon" field. [17:04] davidcalle_, ah, wonderful thank you. and this should work already in today's image? [17:05] cwayne_, my bad, you can actually create a master to aggregate scopes, it doesn't seem to be hardcoded anymore. If you look at an existing one (eg /usr/share/unity/scopes/web.scope), it should be pretty explicit. [17:05] cwayne_, yeah, it should work (tm) :) [17:06] davidcalle_, :D [17:06] davidcalle_, and the smart scopes are in the touch image too already, right? [17:07] cwayne_, so, to create a master, just create a .scope file, and a folder named where you'll put the .scope files you want to aggregate. [17:07] cwayne_, I think so [17:09] cwayne_, also, if something doesn't seem to work, you can see specific errors by restarting unity-scope-home and looking at the output [17:09] davidcalle_, awesome, thanks [17:10] cwayne_, np [17:20] Wellark: thanks for the info, was on a call. I was told all of the apps have been converted to use the new API or have MR's in progress [17:20] Wellark: might be that we forgot to drop that depends? what is the new depends? [17:24] bfiller: applications using UITK won't need any additional depends. UITK already handles that [17:25] PaoloRotolo: I merged my branch. You can start on the search button icon now if you want. [17:25] Wellark: so the apps can drop depends on qtdeclarative5-hud1.0 completely then? [17:25] PaoloRotolo: also your timer trick seems to have done the job. I will test it for a few more hours before deciding [17:25] bfiller: and applications that don't use UITK MainView and Pages need to depend on qtdeclarative5-unity-action-plugin [17:25] nik90_, great! [17:26] bfiller: yes, as soon as they drop "import Ubuntu.HUD 1.0" from their code base [17:26] Wellark: great, thanks [17:26] bfiller: I filed the bug anyway [17:26] bfiller: https://bugs.launchpad.net/camera-app/+bug/1221344 [17:26] Launchpad bug 1221344 in webbrowser-app "remove usage of qtdeclarative5-hud1.0 " [Undecided,New] [17:27] Wellark: thanks [17:30] Wellark, bfiller: Which standard app (web browser, gallery, contacts) etc is the best app to take a look at how to add HUD actions? [17:30] I have been meaning to add it to the clock app but cannot find any documentation on it [17:30] nik90: probably browser, pretty sure it's been cutover to use the new action api [17:34] bfiller, nik90_: yeah, seems browser is using the new API already. I just want to point out that if you are using UITK.MainView then you don't have to import Ubuntu.Unity.Action . [17:34] UITK.Action is already derived from it [17:35] only if you need to do manual action context management you need to use the direct API manually [17:35] Wellark, bfiller: thnx. Will take a look at webbrowser [17:35] popey, mhall119 so what time is the File Manager meeting today? I remember we discussed moving it 2 hours earlier (so 1/2 an hour from now) [17:36] Wellark: I am using UITK.action, but I do not see any hud action while testing it on the phone [17:36] nik90_: you can find the documentation for the unity-action-api by installing unity-action-doc package [17:36] iBelieve, I believe (ha!?) your app is now live [17:36] nik90_: you need to assign the actions to MainView.actions or Page.actions [17:36] Wellark: ah okay. But I think it would be better if this doc is integrated to the current sdk docs. [17:37] nik90_: Action {id: myAction1} Action {id: myAction2} [17:37] beuno, just saw that, thank you so much! I'm starting to type out my blog article right now about it :) [17:37] nik90_: MainView.actions: [myAction1, myAction2] [17:37] Wellark: here is how it is currently done http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/view/head:/clock/ClockPage.qml [17:37] guys I am trying to use Unity.Actions in my app but it does not work even if you are suggesting to deprecate Ubuntu.Components.HUD...here is my code http://pastebin.ubuntu.com/6067328/ [17:38] Wellark: and yes I havent connected it yet to the MainView actions. But then my toolbar actions are in a different page and hence different qml file. Can MainView action see those toolbar actions? === mefrio is now known as mefrio|afk [17:39] iBelieve: yes, in 20 mins from now [17:39] nik90_: there are two sets of actions [17:39] popey, okay, thanks for the info [17:39] nik90_: ones that are "global" to the app and ones that are "local" to the page [17:40] so, if you have some actions that do the same thing no matter on which page they are then you add these to the MainView.actions [17:40] Wellark: that makes sense [17:40] Wellark: I installed the doc package. Where does it store its files? [17:40] and the page local actions go to Page.actions [17:40] and each time the page is changed the list of available actions in the hud is updated automatically [17:41] Wellark: thnx. It is so much clearer now [17:41] nik90_: if I remember correctly it's /usr/share/docs/unity-action-api/ [17:41] nik90_: you can see where the files are installed by: $ dpkg-query -L [17:42] nik90_: one note though. currently the HUD integration does not work on the desktop [17:42] awesome [17:42] for various technical reasons [17:42] Wellark: okay. I can test it on the phone [17:43] and when you are testing on the phone you need to set $APP_ID environment variable [17:43] nik90_: so if your application has clock-app.desktop [17:43] Wellark: Is this done automatically atleast when the app is installed? [17:44] nik90_: to be honest, I'm not completely sure if it's implemented right now [17:44] when starting apps from the launcher or the applense the system should set the env variable automatically [17:44] but if you are running from terminal then you have to set it yourself at the time being [17:44] Wellark: okay. Do you know how to set the app-id environment manually to test a development branch using qtcreator? [17:45] so I use qtcreator to push the app on phone [17:46] nik90_: qtcreator should do the right thing [17:46] or otherwise we have a bug :) [17:46] Wellark: awesome [17:47] Wellark: one last question, do you know the link for the launchpad project for the qml hud to report bugs? [17:47] Wellark: nvr mind, the docs had the link in the index page [17:47] nik90_: if you find any problems with the hud just file them against lp:hud [17:48] okay [17:48] iBelieve, so [17:48] iBelieve, there's a bug in your app [17:48] iBelieve, you're calling /usr/bin/qmlscene $@ tasks-app.qml [17:48] nik90_: unity-action-api is also fine. we can always move the bug to another project if necessary :) [17:49] iBelieve, that absolute path is wrong [17:49] iBelieve, you should leave the sdk's default, and use that in the .desktop file [17:49] Wellark: okay. Thnx a lot for your help [17:49] nik90_: np. :) [17:50] beuno, where do I have that? And what should it be instead? [17:50] beuno,thta's a bug in qtcreator -- it creates that .desktop automatically [17:50] nik90_: oh, and btw. It's a matter of taste, but I would create the Action {} objects standalone as direct childrens of the Page or MainView and then assosiate them to different places by id [17:51] iBelieve, remove that file, and in the Exec line of the .desktop file, use: qmlscene $@ tasks-app.qml [17:52] Wellark: yes I have noticed that in some other apps as well. I will do that for the clock app as it seems to be the "official way" [17:52] beuno, Remove what file? Do you mean remove the /usr/bin/ part from the Exec line? [17:53] iBelieve, remove /ubuntu-tasks [17:53] that just calls qmlscene [17:53] instead [17:53] call qmlscene from the Exec line in the .desktop file [17:54] beuno, oh, okay. I get it. I'll upload a new version right away. Thanks for noticing that [17:54] anyone know what i should put in the Icon line of the .desktop file? aren't we not supposed to assume any absolute path? [17:54] iBelieve, thanks! [17:55] beuno, while I'm doing that, what should my Icon line be? (noticing cwayne_'s question) [17:57] iBelieve, youricon.png [17:57] so ubuntu-tasks.png? [17:57] beuno, okay, thanks. === mefrio|afk is now known as mefrio [18:09] how long is an app review expected to take? If it's supposed to take a couple of days, then OK. I feel like maybe I'm being impatient, waiting a day and a half for review and then complaining, but that seems quite a long time when there are not many apps yet :( [18:12] Hi all, How can i set icon to my application ? [18:13] dgalg, it takes a few minutes of a human being, right now [18:13] dgalg, we're mostly having to fix bugs as we hit them [18:13] which adds some delay [18:14] dgalg, do you have an app in the queue? [18:14] beuno: if two days or more is the expected time for a review then that's okay, I don't mind... I think I was expecting it to be done very quickly, is all. I shall continue to wait. [18:14] dgalg, we're in "as fast as we can [18:14] " mode [18:14] :) [18:15] we're more interested in working out all the kinks rather than speed at the moment [18:15] dgalg, I'll pick up your review now [18:15] beuno: I had version 0.3 approved of my app Word Chain, but I submitted 0.4 at about the same time (about a day and a half ago), and 0.4 is the one I would like to publish [18:15] beuno: that's okay, I wasn't sure of how it is all meant to work [18:15] beuno: I will wait, now that I know how things are meant to be [18:16] dgalg, approved! [18:16] beuno: oh! I thought a review involved testing on a device [18:17] beuno: thank you [18:17] I will publish and then I hope some people can give me some feedback on whether it works or not. mhall119 tested on an Ubuntu Phone and it did not work, I hope it is better now [18:17] dgalg, we have a set of scripts we're polishing [18:19] beuno: my page about the app says that it is still waiting for review: does the page take some time to register that you have reviewed it? [18:19] dgalg, do you want to push it live? [18:20] dgalg: I do, but I want to publish version 0.4 https://myapps.developer.ubuntu.com/dev/click-apps/25/ says that "The details displayed below include further changes awaiting review." [18:20] dgalg, go ahead, it'll publish 0.4, there's a bug there we've fixed and haven't deployed yet [18:21] ok I have published it!! [18:23] beuno: i hope now it will show on the Ubuntu Phone [18:36] Wellark, bfiller: I tried what the webbrowser does to add hud support, but it doesnt work for me. [18:37] Wellark, bfiller: I have it in a branch https://code.launchpad.net/~nik90/ubuntu-clock-app/add-hud-support. [18:37] Wellark, bfiller: I tried testing it on the phone using qtcreator but it does not show any new actions [18:38] Wellark, bfiller: On trying UnityActions.Action, I cannot add any iconSource to it. Even if I remove it, I do not see the actions on the phone. [18:38] Wellark, bfiller: I checked my system and I have the necessary action packages necessary. [18:39] nik90_: first of all, you don't need the import Ubuntu.Unity.Action [18:39] you get the actions from Ubuntu.Components already [18:39] Wellark: I saw it in the webbroswer app, and hence added it. [18:40] :) [18:40] Wellark: so I removed the import and changed UnityActions.Action to just Action [18:40] now it accepts the iconSource [18:40] but I dont see it in the hud [18:41] nik90_: did you try to search for the actions? [18:41] there is a known bug that the initial list might be empty [18:42] (fix waiting for a review..) [18:42] Wellark: yes I did a search for it to make sure it is empty [18:43] last time I tested, the hud broke for me some times and I needed to restart the phone before I could find the actions when searching [18:44] timp: I will try that. But I am just making sure the way I am implementing it in the link above is correct [18:44] nik90_: I don't see anything wrong with it [18:45] timp: okay [18:45] timp: the need to restart should be already fixed [18:45] well for keywords I'd expect something else, but I'm not sure what the syntax is for that. [18:45] Wellark: ok, good :) [18:46] it was a nasty threading issue [18:46] Wellark: shouldn't keywords be something like "new,city,add" ? [18:46] timp: it's documented in unity-action-api docs ;) [18:46] "Keyword 1;Keyword 2;Keyword 3" [18:46] and that is translatable [18:47] timp: is qtcreator setting the $APP_ID env variable properly when pushing apps? [18:47] nik90_: ^ what you put in keywords should go in description [18:47] timp, Wellark: http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/Browser.qml [18:47] timp: I saw that again as reference for keywords. Open New tab [18:48] timp: but you are right. I just wrote a test string [18:48] nik90_: browser is a special case I think, they don't make use of all the handy features we put in the UITK to make it easy to have a toolbar and HUD actions [18:49] beuno, just uploaded the fixed version [18:49] beuno, of Ubuntu Tasks [18:50] Wellark: perhaps you could add some more examples for text, keywords, description on http://developer.ubuntu.com/api/devel/ubuntu-13.10/cplusplus/unity-action/classunity_1_1action_1_1Action.html [18:51] * timp gotta go eat. bye [18:51] timp, nik90_: well, the definitions for keywords is a bit vague.. they *should* be short and more or less an aliases for the actual Action name (.text), but they are used more or less as a additional descriptions [18:51] Wellark: I changed the keywords to "add;city;world" [18:51] and also added a description [18:52] iBelieve, looking [18:52] Wellark, hi....sorry for the intrusion but I am seeing you are an expert of the HUD implementations in the apps :) I have a question [18:52] nik90_: well, those are "bad" keywords, sorry. :) [18:52] Wellark, I have implemented the HUD feature using Actions instead of the HUD component but they do not show in my HUD list, even after searching for them. Is it a known problem or am I doing something wrong? [18:52] they should be vebs [18:52] *verbs [18:53] like something you could put as .text [18:53] Wellark: this is just for testing purposes. Before merging to trunk, I need to get design approval anyways. So they will come up with better strings for me :) [18:53] iBelieve, all looks perfect now, thanks, approved [18:53] mefrio: seems it's a know problem now :) [18:53] mefrio: this is on the phone, right? [18:53] the HUD does not work properly on the desktop with touch applications [18:54] beuno, thanks a lot [18:54] Wellark: I am more or less trying to get a glimpse of the actions on hud first [18:54] nik90_: sure :) [18:54] Wellark, no I am using my pc to test... [18:54] nik90_: it's always better just ask the design for the strings :) [18:54] Wellark: definitely [18:54] mefrio: yes, so HUD results don't show up on desktop for various technical reasons [18:54] Wellark, ok thanks [18:56] Wellark: can you test my branch on your phone to see if this is a localised issue? Else I can report a bug report. [19:02] nik90_: yeah, I'm already trying it [19:02] thnx :) [19:06] Version 0.3 of Ubuntu Tasks is finished and available in Ubuntu Touch! | http://sonrisesoftware.wordpress.com/2013/09/05/ubuntu-tasks-version-0-3-live-in-the-click-app-store/ [19:10] nik90_: I can get it working [19:11] at least by manually running from the command line on the phone [19:11] Wellark: How did you run it on the phone? Through qtcreator? [19:11] Wellark: did you run my branch or just the default install on the phone? [19:11] dgalg: thanks for Word Chain, this is fun [19:11] mhall119: cool! [19:11] nik90_: I just branched your code directly to my phone [19:12] and ran from command line [19:12] mhall119: got any challenge words? ;) [19:12] ah okay. I will do that as well [19:12] Wellark: did you also have to set the environment variable then? [19:12] dgalg: not yet, only played a couple rounds [19:12] my kids are going to enjoy this one though [19:13] nik90_: yeah. I used this command on the base directory of your branch: [19:13] $ APP_ID=ubuntu-clock-app qmlscene ubuntu-clock-app.qml --desktop_file_hint=`pwd`/ubuntu-clock-app.desktop [19:13] iBelieve: are you the Ubuntu Tasks developer? [19:13] mhall119: can you try running ubuntu task? For me I just get a white screen [19:13] Wellark: okay I will adb shell and run it [19:13] nik90_: I just ran it on my Nexus 7 [19:13] mhall119: everyone can collect them together: the whole Ubuntu community! [19:13] dgalg: sounds like fun, how do we compare who has what? [19:13] mhall119, yes [19:14] mhall119: talk to one another :) [19:14] iBelieve: on the phone and tablet, opening a URL in the browser doesn't work, is that what it tries to do to get the Trello auth token? [19:14] nik90_: you might see this: [1] + Stopped (signal) APP_ID=ubuntu-clock-app qmlscene ubuntu-clock-a [19:14] dgalg: you can setup a website or wiki page where people can track their words [19:14] mhall119, yes, that is how I get the token [19:14] nik90_: but your app is jus[Ct put running to the background [19:14] iBelieve: ok, then it won't work yet on the devices, but that is being worked on [19:14] Wellark: okay. trying now [19:14] mhall119: you can, yeah! g+ about it? [19:15] nik90_: you can get to it by $ fg [19:15] and then do ctrl-C for example [19:15] dgalg: I was suggesting that *you* could :) [19:15] nik90_, you've a new merge proposal ;) [19:15] if you wait on me it won't get done anytime soon :( [19:15] nik90_: I would guess there is an integration issue with the qtcreator deployment [19:15] mhall119: I dont need to, I know the answer :P but yeah [19:15] nik90_: so it would be great if you can just file a bug against the ubuntu sdk [19:15] Wellark: ah okay. So I will report it against qtcreator plugins [19:15] or the sdk [19:15] sure [19:16] mhall119, will it work by the showdown or do I need to find a different way? [19:16] nik90_: thanks! [19:16] pmcgowan: will we have the url opening APIs working by Sept. 15th? [19:17] mhall119, we may, will know more early next week [19:17] the service is there, need to expose to qt [19:18] mhall119, this for app showdown? [19:21] nik90_, you said you tried to run Ubuntu Tasks but got a white screen. Did you install it more than 30 minutes ago? Because the first version that got published had a bad .desktop file [19:21] mhall119, are you talking about Qt.openUrlExternally ? [19:21] cwayne_, yes, that's what I'm currently using to open links [19:22] iBelieve: yup :) [19:22] iBelieve: I do not know how to uninstall it now [19:22] iBelieve: dam [19:22] iBelieve: will restart phone later [19:22] PaoloRotolo: nice work [19:22] iBelieve, yeah, me too, but i noticed it's not hooked up yet :) [19:22] PaoloRotolo: just one query, is it possible to reduce the width of the button [19:22] nik90_, well, thanks for trying to run it. Much appreciated [19:23] pmcgowan, yes, this is for Ubuntu Tasks for the app showdown [19:23] iBelieve: u kidding me. I love trying your app. I use it everyday. Besides wanted to take screenshots [19:23] iBelieve, whats the exact use? [19:24] I think we will use the same API [19:24] pmcgowan, I need to get an authentication token from Trello by opening a webpage and having the user copy the token back into my app [19:24] ok [19:25] iBelieve, i haven't given up on the online account yet! [19:25] cwayne_, iBelieve what does that call do today on the device? [19:25] nik90_: when you file the bug, could you paste me the link also? thanks! [19:25] pmcgowan, nothing [19:25] nik90_, thanks! I'll reduce the width tomorrow, now I'm not at home [19:25] Wellark: will do [19:25] pmcgowan, but it works on the desktop [19:25] cwayne_, is that in qtdesktopservices or other? [19:26] pmcgowan, i'm not sure [19:26] pmcgowan, not sure, mhall119 was the one who tested my app. I don't have an Ubuntu Touch device [19:28] nik90_: actually. I now tried to run the app from QtC [19:28] and I'm seeing this on the log [19:28] [22:26:59] unity::action::ActionManager::ActionManager(QObject*): Could not get session bus. Actions will not be available through D-Bus. Reason: Error spawning command line 'dbus-launch --autolaunch=b69a2a57ce6040eebe272c5f52285f5c --binary-syntax --close-stderr': Child process exited with code 1 [19:28] pmcgowan: I belive it is the desktopservices, yes [19:28] nik90_: are you seeing the same? [19:28] mhall119, ok thats what we will enable, and it needs to be done I think with app confinement [19:28] Wellark: will try now to check the output. [19:28] mhall119, assume it does nothing today? [19:29] pmcgowan: correct, it just fails silently [19:29] I assume app confinement will just ask the user to okay the action then open the webbrowser in it's default confinement [19:29] Wellark: yes I get that! [19:29] nik90_: ok. that's one of the problems then. please paste that to the bug report [19:30] mhall119, yep, but the url handler needs to be done [19:30] Wellark: I also got http://paste.ubuntu.com/6067708/ [19:30] and I can mark it as confirmed as I see the same thing [19:30] mhall119, lets remember to check again after monday [19:31] pmcgowan, mhall119 so is there anything I can do for now, or should I just wait until Qt.openUrlExternally gets fixed? [19:31] if we get it to work before the app showdown deadline, then i could actually submit my app :) [19:32] mhall119, if it doesn't get fixed before the deadline, how will that affect the scoring of my app? [19:32] iBelieve, I cant think of anything short of the user go manually do it, we also need to ensure that cut and paste is working for you [19:33] iBelieve, is your app all QML? [19:34] Wellark: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1221414 [19:34] Launchpad bug 1221414 in Ubuntu UI Toolkit "Unable to access HUD on phone when launched through qtcreator" [Undecided,New] [19:34] pmcgowan, yes. And if possible I don't want any C++ since I've head that brings in all sorts of complications with compiling and click packages [19:35] rickspencer3: hi, I saw yesterday that you were looking for something like this: http://qt-project.org/wiki/JSONListModel [19:35] iBelieve, right, I cant promise yet but will know more early next week [19:35] its already a priority [19:35] Wellark: I can see the hud finally using your method. Thanks! I am relieved! [19:35] pmcgowan, okay, thanks [19:36] nik90_: good to hear :) [19:37] Wellark: it is empty but after typing it appears. I hope that gets fixed in hud package soon [19:38] Wellark, the HUD never shows the first time the app is launched [19:38] mhall119: let us hope that it works for popey now and he understands how to play it too :) then maybe get a wiki going [19:39] pmcgowan: https://code.launchpad.net/~indicator-applet-developers/hud/fix_init_search/+merge/184139 [19:40] nik90_: ^ [19:41] Wellark, thanks, I added a new bug for the specific first time issue last week [19:41] will dupe it over [19:41] Wellark: awesome! [19:43] Wellark, https://bugs.launchpad.net/ubuntu/+source/hud/+bug/1220271 [19:43] Launchpad bug 1205097 in Unity HUD "duplicate for #1220271 HUD isn't working" [Critical,In progress] [19:43] duped it [19:43] mhall119: do you know how I can uninstall a click app? [19:43] mhall119: I installed tasks apps few hours back when it was broken [19:43] mhall119: now I cannot uninstall or update it [19:44] hi alecu [19:44] * rickspencer3 looks [19:44] mhall119: any command line tricks? [19:45] alecu, so, there are 27,000 items in my list, do you know if JSONListModel supports filtering, etc...? [19:45] nik90_: cjwatson is implementing uninstall feature [19:45] it looks like I may be able to do something with "query" [19:46] * rickspencer3 tries [19:47] mhall119: would that landed bfore the showdown? I need that to review the apps :) [19:48] rickspencer3: yes, it seems you can do something with JSONPath. I don't know if it would perform ok with that amount of items [19:48] pmcgowan: thanks! [19:48] alecu, yeah, that's an issue [19:48] I wrote code this morning to create a sqlite database using LocalStorage on first run [19:48] nik90_: I don't know, sorry [19:49] mhall119: no worries. I will install a new image which removes all data hopefully [19:54] nik90_: it wont wipe .local/share/applications - where the desktop files are, you might want to clean that out, alternatively flash it with --wipe [19:55] or --no-backup if youre on the ubuntu-system img === mh0 is now known as away0 [20:03] popey: ah damn..saw the message after starting the update process [20:04] who is most familiar with the app confinment and other stuff right now? [20:04] the first error definitely looks like something related to that: [20:04] https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1221414 [20:04] Launchpad bug 1221414 in qtcreator-plugin-ubuntu "Unable to access HUD on phone when launched through qtcreator" [Critical,Confirmed] [20:05] or then the QtC is doing something "weird" to set up the env [20:05] can't just figure out why an app could not access the session bus. [20:10] does anyone have an Ubuntu Phone and can give me a screenshot of Word Chain being available to download, so I can put it on the developer blog? :-) [20:14] dgalg: http://popey.com/~alan/device-2013-09-05-211352.png [20:14] When somebody takes a screen shot of Word Chain, can the person also take a screenshot of Ubuntu Tasks? I'd love to put it in my blog as well :) [20:14] one moment, let me get better individual ones [20:14] popey: thank you! [20:14] iBelieve: that screenshot has Ubuntu Tasks in it as well. Congratulations on being in the app store! [20:14] dgalg: http://popey.com/~alan/device-2013-09-05-211434.png [20:15] iBelieve: http://popey.com/~alan/device-2013-09-05-211455.png [20:15] better? [20:15] oh that's interesting, the screenshot on the Dash is the middle part of the uploaded screenshot [20:15] maybe I will change my screenshot so it shows up more interestingly! [20:16] popey, thanks! [20:16] popey: does the (simple) tutorial make it more easy to understand how to play for you now? [20:16] np [20:16] dgalg: not tried yet, just flashed it clean [20:16] Though it's weird how the pictures are distorted. There needs to be a way to only show the phone picture, and not the tablet one as well [20:17] popey, what does the (3) mean in between the stars and the 0 reviews? [20:17] popey: I'd be happy to hear your feedback if you have time, and maybe the Ubuntu community can start collecting the Challenge Words :-) [20:18] iBelieve: i dont know, number of reviews perhaps [20:19] how many days left for ubuntu app showdown? [20:19] nnn3, about 9. It ends on the 15 [20:20] argh my icon still isn't showing up right [20:22] cwayne_: in app, or in dash/launcher? [20:22] dash/launcher [20:22] im not sure my icons getting copied anywhere [20:22] cwayne_: where are you installing it? [20:22] or trying? [20:22] /opt/click.whatever [20:24] cwayne_: what does your .desktop file state on Icon= ? [20:24] Wellark, just 'woot.jpg' [20:25] have you tried setting a full path? [20:26] cwayne_: actually you could check ~/.cache/upstart/unity8.log [20:26] grep for "woot.jpg" [20:26] to see if there is some error message from the icon provider [20:28] sure, 1 sec and i'll do that [20:29] Wellark, and i haven't tried setting a full path, because i thought click apps aren't supposed to assume any specific path [20:29] cwayne_: yeah, they are not supposed to [20:29] but.. [20:30] the launcher does not search ~/.cache/... [20:30] at least the launcher is not handling click package icons correctly at the moment (working on it..) [20:30] mzanetti: or did you add the magic? [20:30] no... it doesn't handle it [20:31] playing around with click packages right now [20:31] mzanetti: upstart logs are under ~/.cache [20:31] so if unity8 fails to load something, etc. you can check from there [20:31] iBelieve, Thanks ;) [20:31] but don't really manage to do something yet [20:31] mzanetti: I got the hud bug figured out finally [20:31] Wellark, I have problem with icon too, it dont show in my app, i tested on desktop [20:31] Wellark: I know where the logs are... but we can't access icons in ~/cache anyways [20:32] mzanetti: nobody said we should [20:32] I was just instructing cwayne to grep the log [20:32] ok... just had the impression reading the backlog... [20:32] huh, click build seems to include all my bzr files in the click pkg [20:33] now it's 23.30pm and I need to find the stamina for the launcher stuff.. :) [20:34] am I supposed to be able to install click packages as user phablet? [20:35] no idea :/ [20:35] I get a permission denied when trying to do that [20:35] and if I do it as root it seems like it would succeed but the app doesn't show up anywhere, not even in "click list" [20:37] hmm.. click packages can be installed under /opt, too? [20:37] just looking what cwayne said.. [20:38] mzanetti, you have to install it with sudo [20:38] cwayne_: did that.. still doesn't show up anywhere [20:38] mzanetti, then you have to 'click register' it [20:40] cwayne_: nice. works [20:40] cwayne_: but shouldnt "sudo click list" show it after installing? [20:40] not until it's registered [20:41] * cwayne_ is giving up and just hardcoding the damn icon path [20:41] how can I list installed, but not registered packages? [20:41] cwayne_: there was no error in the unity8 log? [20:42] Wellark, file:///usr/share/unity8/Components/Tile.qml:39:16: QML QQuickImage: Failed to get image from provider: image://gicon/woot.png [20:42] Fail to load themed icon for: "woot" [20:42] gicon? [20:42] * mzanetti fixes code :D [20:42] i have no idea [20:43] mzanetti: that won't work with theme loader either [20:43] what the hell, even hardcoding the path doesnt work [20:43] shouldn't the click hook change the icon path according to the install location? [20:43] i have problem with adding icon to my application, not work, can any one tell me how should i add icon? [20:43] we need to detect that the package is a click one and then have a file:///. [20:44] and that's for the app lense also [20:44] icon doesnt show even when i run my app in qt-creator [20:44] but click packages should not define any absolute icon paths [20:45] mzanetti: that is probably in the dash code [20:45] Wellark: right... we have 2 branches in the queue that switch to image://theme [20:45] How to develop Ubuntu apps (2013 edition) | http://askubuntu.com/q/341917 [20:46] which won't solve cwayne_'s problem though [20:47] mzanetti: yeah. click will need file:// [20:48] cwayne_: please, file a bug [20:48] i dont understand how other apps are doing it? [20:48] well, they probably set absolute paths or something [20:48] which will all break when we handle the click icons properly :/ [20:48] I would say this is Critical [20:49] hey, can someone explain what's up with the developer.ubuntu.com site? it seems focused 100% on mobile. where are the info & resources on developing desktop apps? [20:49] the click packages should state the Icon= as relative to the click app directory [20:50] and if that does not work (as it is not) then anything else is "wrong" and will break eventually [20:51] CaptSaltyJack: what are you looking for? [20:51] CaptSaltyJack, that's because Ubuntu is re-designing the way app development is done, and the current focus for the new way is on mobile. Desktop will come within a year [20:51] just info. like, how to develop Ubuntu desktop apps (GUI based) [20:51] but desktop dev info was there before [20:51] it seems like they threw it out the window in favor of mobile [20:52] why not have both on the site? [20:52] CaptSaltyJack: well, it is both [20:52] CaptSaltyJack: there isn't really a difference [20:52] CaptSaltyJack, the old way works, it's just not documented or recommended anymore. Try searching AskUbuntu.com (I don't have any links offhand) [20:52] ok, so I can use the Ubuntu SDK app to code Desktop apps in QML? [20:52] CaptSaltyJack: also for desktop apps you should use the new SDK nowadays [20:52] CaptSaltyJack: developer.ubuntu.com is under heavy developemnt [20:53] CaptSaltyJack, but the mobile way works on the desktop, just not as well. So I'd recommend that you start using the SDK [20:53] CaptSaltyJack: yes. You can choose between QML or also use QWidget. Although I wouldn't really recomment that [20:53] CaptSaltyJack: we will soonish upgrade to Qt 5.1 (I hope). Then you'll have QtQuickComponents for desktop available [20:54] so don't use "quickly" anymore? :) [20:54] what's quickly? [20:54] CaptSaltyJack, you can still use quickly, but it's not the current focus anymore [20:54] mzanetti: that was an packaging script/toolset to get applicatons packaged quickly [20:55] basically created debian packaging [20:55] ok. secondly.. I have the SDK open now [20:55] ah... hmm... I guess we should start recommending to use click packages for desktop too? [20:55] and "Simple Touch UI" template is missing [20:55] CaptSaltyJack, all the old technologies still work, it's just that there are better ways now. However, the new way is still under development, and focused on mobile [20:55] CaptSaltyJack: hmm... what did you install? [20:56] sudo apt-get install ubuntu-sdk [20:56] CaptSaltyJack, did you open Ubuntu SDK or Qt Creator? [20:56] nik90, ping [20:56] from the ubuntu-sdk-team ppa [20:56] I opened Ubuntu SDK [20:56] CaptSaltyJack: what version of ubuntu are you using? [20:56] but it has a QT icon [20:56] 13.04 [20:57] running QT Creator 2.7.1 [20:57] CaptSaltyJack, It is should be the Qt icon with an Ubuntu symbol. I'm using both 13.04 and 13.10 [20:57] er. yeah [20:57] sorry, I'm using an alternate icon set :) [20:58] it's "Qt Creator" I'm running. and the tutorial on the dev site says to hit ctrl+N and pick Simple Touch UI [20:58] but it doesn't exist [20:58] CaptSaltyJack: open the dash and search for "ubuntu sdk" [20:58] I did that. it's already running [20:58] ok. [20:59] all the SDK people have already left for today.. [21:00] something is definitely wrong w/ this version/install [21:00] anyone here already successfully click-packaged an app with a c++ qml plugin? [21:01] CaptSaltyJack: https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1164504 [21:01] Launchpad bug 1164504 in qtcreator (Ubuntu) "No automatic reconfiguration / reconfiguration feature when system environment changes" [Wishlist,Confirmed] [21:01] try removing those configs [21:02] tried. no go [21:03] for project types, I have Other Projects, Non-Qt Projects, and Import Project [21:03] that's it [21:03] you did restart the ubuntu sdk, right? [21:04] CaptSaltyJack: if you have followed the instructions and can't get it working, could you file a bug against qtcreator: https://bugs.launchpad.net/ubuntu/+source/qtcreator [21:04] will do [21:05] CaptSaltyJack: the sdk team has already left for today. they are around 0600-1800 UTC [21:05] ok no worries. I'll put in a bug & see what happens [21:06] CaptSaltyJack: thanks! [21:06] it's probably just a minor glitch or some such [21:06] the project templates SHOULD be there [21:06] thanks guys. later [21:20] hello, how does I sync U1db? [21:21] Wellark, so it seems most click app icons dont work, so at least its not just me :) [21:22] how do you go about submitting a click app the software center? [21:26] just go through myapps as you normally would? [21:27] https://myapps.developer.ubuntu.com/dev/click-apps/new/ [21:32] netcurli, thank you [21:33] * cwayne_ submits uWoot to software center [21:35] cwayne_, approved! [21:35] cwayne_, note the comment about the .bzr dir included [21:35] beuno, thanks! [21:35] beuno, yeah, is there an easy way to have click build not include that? [21:36] cwayne_, not sure if there's an easy way, maybe temporarily moving it when you build it and then moving back [21:36] cwayne_, but if the code is public, then it really doesn't matter [21:36] beuno, ah, im fine leaving it in until the sdk bug is fixed [21:36] yeah it is [21:36] awesome [21:38] cwayne_, For removing things like the .bzr directory, I found the easiest way was to make a script that would copy the app directory into a releases directory, remove, the .git directory (or in your case the .bzr), and do some other cleanup, and then run click build on it. [21:39] cwayne_, I also use it to keep the version numbers right in the manifest and in my About page [21:39] iBelieve, ah, thats a good idea [21:39] although as long as its not an issue it really doesnt bother me at the moment :) [21:46] cwayne_: if you could file the bug it would be great [21:47] and then point everyone noticing the same to do "affects me" [21:47] so we get good pressure on it [21:49] what bug do you mean? [21:50] Wellark, will do [21:50] netcurli, icons not showing up in click packages [21:55] ah ok [21:55] yeah, affects my app at the moment too [21:59] iBelieve: u there? [22:00] nik90_, yep [22:01] iBelieve: tried your app on the phone. Finally working :D [22:01] iBelieve: found *some* bugs [22:01] iBelieve: mind if I report them tomorrow evening? [22:01] nik90_, glad you got it working. Finding bugs... not sure if that's a good thing or not :) [22:02] nik90_, that's fine. Any reports whatsoever are appreciated! [22:02] iBelieve: well some of them easily fixable [22:03] iBelieve: but overall I think it works and looks great! so congrats [22:03] nik90_, thanks, glad to hear it's working! I was a little worried about how it would run on the phone and under confinement [22:03] iBelieve: one bug is that the tags is hidden beneath the osk. You need to anchor the tag to osk so that it appears above it [22:03] iBelieve: I havent tried trello yet [22:04] nik90_, trello isn't going to work on the phone yet. Opening URLs is broken [22:04] iBelieve: ah ok [22:04] iBelieve: 2nd bug is that the title of the task is too small (font size) [22:04] its font is bigger than the due date [22:04] let me grab a screenshot 1 sec [22:05] nik90_, that's weird... I wonder how the fonts could be messed up [22:06] iBelieve: no idea...wait rebooting phone. [22:09] iBelieve: http://imgur.com/Lh3qH7e [22:09] nik90_, wow, that really is bad! [22:10] nik90_, that's really dumb. I used a Text instead of a Label. Now why did I do that??? [22:10] iBelieve: lol :D..no worries. As long these are identified earlier on it should be okay [22:11] nik90_, thanks for the bug reports [22:12] iBelieve: anyways I am off to sleep. Gud nite! [22:13] nik90_, good night! === away0 is now known as mh0 [22:21] iBelieve, you use any compiled libs? [22:21] clepto, no, my app is entirely QML [22:23] iBelieve, but you are using db right? [22:26] clepto, I'm using the QML APIs for u1db [22:27] iBelieve, which the path you store the db? [22:27] clepto, path: "ubuntu-tasks.db" [22:28] clepto, and that seems to work on the phone under confinement since nik90_ tested the app today from the app store [22:28] iBelieve, good to know [22:36] hm, does qmlscene -I not work properly? [22:38] Kaleo, dont suppose youre still around === Pqqq1 is now known as devongarber1 [22:56] cwayne_: yep [22:56] cwayne_: sort of [22:57] Kaleo, hey, if you've got a minute im having some trouble with the customized themes [22:57] cwayne_: tell me [22:59] Kaleo, the import doesnt seem to be working [22:59] cwayne_: you mean the theme is not loading? [22:59] Kaleo, yeah [23:00] its loading some blank theme [23:00] what's the content of your theme.ini? [23:00] what's the full path of your theme? [23:01] what's the content of your theme directory? [23:02] theme.ini http://pastebin.ubuntu.com/6068347/ [23:02] path to the theme is /custom/usr/share/themes/UbuntuCustom/Themes/Custom/ [23:03] contents is: Palette.qml parent_theme qmldir [23:03] cwayne_: did you set the QML2_IMPORT_PATH environment variable? [23:03] Kaleo, yes [23:03] to what value? [23:03] i can see from QML_IMPORT_TRACE it's being loaded [23:03] cwayne_: what do parent_theme and qmldir contain? [23:03] i set it to /custom/usr/share/themes [23:03] very good [23:03] qmldir: module UbuntuCustom.Themes.Custom [23:04] cwayne_: without a custom theme.ini everything works as usual? [23:04] parent_theme: Ubuntu.Components.Themes.Ambiance [23:04] Kaleo, yeah [23:04] cwayne_: and finally the content of Palette.qml? [23:05] Kaleo, http://pastebin.ubuntu.com/6068353/ [23:05] cwayne_: can you also paste all the console output? [23:06] cwayne_: (all these files are readable by user phablet right?) [23:07] cwayne_: and also a screenshot of the result [23:08] Kaleo, http://pastebin.ubuntu.com/6068360/ [23:10] Kaleo, i cant seem to get a screenshot, but it's just totally unthemed [23:10] white background, black labels [23:10] cwayne_: what is this test program? can you launch something else, more known, and simpler; how about the ubuntu-ui-toolkit gallery [23:11] cwayne_: /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/gallery [23:11] Kaleo, same [23:11] unthemed [23:11] cwayne_: can you paste the output of that one [23:11] cwayne_: without the import debug [23:12] cwayne_: oh [23:12] that ones not installed ont he phone [23:12] cwayne_: I'm stupid! [23:12] cwayne_: of course [23:12] cwayne_: I made a mistake [23:12] cwayne_: the themes are not looked up using QML2_IMPORT_PATH [23:12] cwayne_: but UBUNTU_UI_TOOLKIT_THEMES [23:13] ubot2`: [23:13] cwayne_: everything you did was perfectly fine :) [23:14] :D [23:14] let me try that out [23:16] Kaleo, didn't work [23:16] cwayne_: my fault [23:16] cwayne_: I must be drunk [23:16] cwayne_: UBUNTU_UI_TOOLKIT_THEMES_PATH= [23:16] cwayne_: I missed the _PATH [23:17] Kaleo, there we go! [23:19] worked on my laptop, now to try and get it on the phone [23:21] ok, so it works when calling qmlscene manually, but not from qtcreator [23:21] weird [23:21] cwayne_: you set the env variable in the project settings? [23:23] Kaleo, oh no, i just exported them in terminal [23:23] Kaleo, that's all i should have to do in the phone right? like there shouldnt have to be any changes to apps [23:24] i should be able to do this, and anything that didn't explicitly set a theme should get this one [23:25] cwayne_: correct [23:26] Kaleo, perfect [23:27] so now i just need to figure out how to make sure that's set [23:27] Kaleo, thanks so much for the help [23:29] cwayne_: you're welcome [23:31] Kaleo, i'll be sure to let you know if i run into any more problems :) [23:38] Kaleo, doesnt seem to work on the phone. ill poke around and see if i can get some info for you tomorrow :)