=== chriadam|away is now known as chriadam === frecel_ is now known as frecel === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === salem_ is now known as _salem === chihchun_afk is now known as chihchun [05:59] ello all [06:08] good morning!! [06:08] Morning o/ [06:10] dubstar_04: how's your CAD like app coming along? [06:14] Really well!! [06:15] awesome! looking forward to giving it another spin at some point :-D [06:15] Old screencast here: https://www.youtube.com/watch?v=kSDSSAkDtcE [06:15] Been loads of progress since. [06:19] that's awesome! I love the position snapping. would be a cool app for the ubucontest [06:20] I've not listened to the podcast yet so I am still unaware what UbuContest is... [06:24] dubstar_04: wow that looks great! [06:25] I've listened to it :) I'm thinking whether I can add my sdk autopilot plugin as a technical entry. [06:26] akiva-thinkpad: thanks!! The latest version is much better with integrated file browsing and settings. [06:27] Just listening to the podcast. I'm excited to hear what ubuContest is.... [06:27] the wobsite is down atm unfortunately for me [06:30] * svij knows what the UbuContest is :P [06:35] akiva-thinkpad: It's not down, it's just not "unlocked" yet. We are facing some last-minute troubles with the Terms of Entry :/ Nothing serious, but it needs the last "okay" from some people. [06:35] Unlucky timing. [06:35] SturmFlut: blast! [06:35] Time for yet another website picture ;) [06:36] SturmFlut: did you have to start the app when the contest starts to be able to qualify? [06:36] because Ive been working on the plugin for awhile~ [06:36] akiva-thinkpad: No, you can register an existing app, but we will look at how much progress you make during the contest so people don't just register all their old apps [06:36] okay good approach [06:37] We have it all thought out! [06:37] SturmFlut: *confetti* === chihchun is now known as chihchun_afk [06:54] akiva-thinkpad: o/ didn't see it :) [06:54] justCarakas: ah hey [06:54] it might be in the repos by now [06:55] yep it is. :) [07:38] SturmFlut: what is the 'Convergence Hero' part of the UbuContest? [07:52] davidcalle: I have been trying to work out how to access an app storage directory. The SDK docs: https://developer.ubuntu.com/en/apps/qml/cookbook/ point to this: http://askubuntu.com/questions/4420/where-do-applications-typically-store-data [07:53] and http://askubuntu.com/questions/42438/what-is-the-preferred-way-to-store-application-settings seem miss placed. [07:55] I want to use a FolderListModel to display a list of file in a GridView but I can't seem to access the apps storage in: ".local/share/cadmium.marthamengineering/" [07:56] I just seem to get the root of the app from /opt/ [07:58] dubstar_04, hello, what do you mean by miss placed? [07:59] dubstar_04, that it doesn't really apply to the click world? [07:59] davidcalle: They don't seem relevant to QML or the SDK. [07:59] Right [08:00] If I wasn't a coding genius *cough* I could of easily got miss led... :) [08:01] dubstar_04, indeed the cookbook seem quite outdated... Hmm, regarding your specific question, let me find an app doing it, this way you'll have a full example [08:01] davidcalle: that would be fantastic!! [08:03] FWIW I am trying to do this from QML and Javascript. [08:18] Here is what i have so far: http://paste.ubuntu.com/11891765/ [08:20] dubstar_04, here is a quick and dirty example : http://paste.ubuntu.com/11891776/ [08:21] dubstar_04, I've just created a file in the requested folder and it works fine [08:22] so its just the resolved url bit i was missing by the look of it!! [08:22] https://lh3.googleusercontent.com/XB6R_6cVceoRb8eaBUMjsD-V8JFqpzcVYnYm2CG_ItNs=w432-h768-no [08:22] thats a screenshot of what i was getting. [08:24] Davidcalle: thankyou for your help. I really appreciate it. [08:25] dubstar_04, note that I'm specifying an absolute path for the folder (/home/phablet etc.). I've looked around and the edIt app is avoiding this with a bit of cpp (if you want to dig into this : https://code.launchpad.net/~pawstr/edit/trunk ) [08:26] dubstar_04, there must be a way to do an equivalent to $XDG folders in QML but I'm not aware of it. zbenjamin, do you know one? [08:26] dubstar_04, np! [08:26] there should be [08:27] I was hoping to keep to just qml and javascript, i'm pretty impressed with the performance so far, but i haven't got to the point where i can start opening large files!! [08:28] davidcalle: i know there is QStandardPaths in the C++ API [08:28] kalikiana: t1mp: ^^ any idea? [08:29] davidcalle: but since QML has no way to read/write/open files it does not make much sense i'd say [08:29] AFAIK there is no qml api for QStandardPaths. [08:29] or XDG [08:29] Is there a QML way of opening files? [08:29] no [08:30] not that i know of [08:30] zbenjamin, thanks for looking :) [08:30] davidcalle: np [08:31] so i need some c++ to open the file and pass the contents to QML/Javascript? [08:31] davidcalle: dubstar_04: QML is mostly a UI language and the Qt guys did write it with that in their mind. [08:31] dubstar_04: take a look at https://github.com/bobweaver/QtPlugins/tree/master/qtdeclarative5-mango-files-0.0.1 for some inspiration. Or you could even just include that in your project [08:32] dubstar_04, also, steal things from https://code.launchpad.net/~pawstr/edit/trunk [08:32] zbenjamin: seems odd that there is database abstraction but you can't open a file. [08:32] dubstar_04: database abstraction? [08:33] dubstar_04: well think about it, javascript has no way of processing binary data. How would you read a file? Also in a browser you can not open a file with JS [08:33] zbenjamin: you can use localstorage to read/write a database? [08:34] dubstar_04: ok that comes with javascript, same in the browser [08:34] dubstar_04: that basically the "replacement" for files in javascript [08:34] dubstar_04: you could of course write a File extension but that requires C++ as well ;) [08:37] could a QMLPlugin be included in the SDK for file access? [08:38] zbenjamin, dubstar_04, davidcalle: I don't know. Maybe there is something useful in the filemanager code? https://developer.ubuntu.com/en/community/core-apps/file-manager/ [08:43] Thank you for all the information. Looks like this part of my app might require some more thought. [09:13] Anyone know if there is a UITK hangout today? [09:19] dubstar_04: whats that? [09:19] ui toolkit? === chriadam is now known as chriadam|away [09:26] yes, apparently they normally have a hangout on friday afternoon. I am keen to talk about desktop features and my options for dockable toolbars. === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [09:50] akiva-thinkpad: many months ago (in 2014) you asked me to post on reddit about my app, today I did it ;) [09:51] snizzo: ha! [09:51] * akiva-thinkpad checks [09:52] it's just an announce, I'm waiting for an hardware device to test (mx4) === JMulholland_ is now known as JMulholland [10:56] UbuContest is going live! Give us ten minutes to update all the websites :) [10:58] http://ubucon.de/2015/contest [11:42] \o\ [11:42] \o/ [11:43] /o/ [12:31] does anyone know where I can find the reference documentation for popoverutils? [12:31] I'm having a problem with .open() but can't find the reference for the function :/ [12:51] By the way, Canonical employees cannot submit apps or scopes for UbuContest, but you can nominate community members for prizes... [12:51] rickspencer3: if you highlight and hit F1 what does that show? [12:51] hmmm [12:51] hadn't thought of that [12:51] * rickspencer3 tries [12:52] lol [12:52] davmor2, "No documentation available." [12:52] oh well ;) [12:52] anyway, I picked up what I needed to do from a sample [12:53] however, reference would be nice :) [12:53] rickspencer3: https://developer.ubuntu.com/api/devel/ubuntu-12.04/qml/ui-toolkit/qml-ubuntu-components-popups0-popover.html found this [12:55] rickspencer3: and then there is https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.Popups.Popover/ not sure if that is what you are after or not [12:55] davmore [12:56] davmor2, just looking for the reference for the specific function open() === tedg is now known as ted === _salem is now known as salem_ === ted is now known as tedg [13:17] rickspencer3: davmor2 it won't be in there, currently pure javascript isn't included in the docs [13:17] ah [13:17] too bad [13:17] lemme copy the docs for you, though [13:19] kalikiana, nah, it's not worth it, I already solved my problem [13:19] ah you did [13:19] I would've grabbed the dcos from the source otherwise. there is actually an extensive paragraph [13:19] which is a bit sad considering it's not been visible to anyone ever :-D [13:20] kalikiana: is there a plan to add those docs to developer.ubuntu.com might be worth a bug for it if not as it seems to be the most asked question I've come across :) [13:21] davmor2: yes absolutely, I was looking into it actually https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/jsDocs/+merge/263853 but for me locally qdoc is currently completely broken so I can only trial and error by pushing commits and wait for the build results.. which is a slow way of doing things [13:22] kalikiana: ouch [13:23] qdoc kinda goes 100% cpu and then stays there til I kill it [13:23] no idea why.. [13:28] kalikiana: it hates you, hate it back it works for me ;) [13:30] lol [13:36] https://blog.qt.io/blog/2015/07/16/qt-world-summit-2015-whats-better-than-a-speaker-announcement/ [13:38] http://www.qtworldsummit.com/schedule/ looks more interesting than the QtCS [13:38] davmor2: seems somehow you were right, now it does work... [13:38] wow, a lot of automotive sessions [13:39] kalikiana: Hatred always works...just look at starwa......wait bad example...Punisher ;) [13:39] haha [13:43] t1mp: kalikiana: do we go there? [13:43] zsombi: that seems like a good idea :) [13:48] davmor2: t1mp zsombi managed to fix the docs http://geraldfield.org/html/qml-ubuntu-components-popups-popuputils.html [13:49] kalikiana: cool! [13:49] kalikiana: the text could use an update though. For example say that it returns the popup object [13:50] t1mp: yeah. I'm also thinking I would expect an example there [13:50] I guess the examples are in Popover, but it makes sense to have them here too [13:51] fun fact: popupUtils never was in qmldir [13:51] lack of error checking plus magic fallback = awesome [13:52] oh wait, there are more qmldir fioles [13:53] Anyone know if it's possible to read key presses from the connected terminal shell in a QML app? If that's not possible, how about how to bring up the mobile keyboard and read from that without needing a text area in the app? [13:53] love our directory structure sometimes :-] [13:55] jhodapp: what do you mean by connected terminal shell? [13:55] kalikiana, a development machine's keyboard for when the device is connected to the dev machine via USB [13:57] kalikiana: I think for 2.0 we can flatten it [13:57] kalikiana: it made sense when we had lots of types of ListItems [13:57] also we had more types of popups [13:58] jhodapp: the only way there would be a connection here would be if you run an app from the command line in ssh; in which case typing into the shell might go towards its standard input. but there's no QML API for that [13:58] kalikiana, right that's what I was testing [13:59] kalikiana, how about bringing up the mobile keyboard on the device and reading any keypress from it? [14:00] jhodapp: hmm if accessibility is enabled you would have dbus api, you could have a wrapper that returns the value from a script running on the phone [14:01] maliit needs to be restarted to enable it, we do that in tests [14:02] and then maybe using autopilot python api would be asiest [14:02] kalikiana, hmm, sounds like more effort than I want...this is just for a very simple test app [14:04] you could probably use osk without a text field in qml. but then there's no obvious way of feeding the data back to the development machine, unless you implementing something like a restful service or use a pastebin [14:27] t1mp: http://geraldfield.org/html/qml-ubuntu-components-popups-popuputils.html [15:13] kalikiana: the description is slightly confusing [15:13] kalikiana: it is true that open() returns a popup object [15:13] kalikiana: but the first sentence of the description starts with "The function opens a popup object which can be either a Component or URL of a QML document." [15:14] that is not true. It creates and opens a popup object from the Component or URL. The Component/URL itself not the popup object that is returned [15:15] kalikiana: maybe you can put it in an MR? Comments there are easier to find than something in an IRC backbuffer [15:19] t1mp: there is already an MR. I was just showing you the html here since J can't offer that [15:21] t1mp: I updated the wording in the MR https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/jsDocs/+merge/263853 [15:24] hrmmmm the mx4 is an A17 but gcc and g++ isntalled by apt-get do not support -mtune=cortex-a17 [15:24] :-{ [15:41] kalikiana: the MR is marked as superseded [15:44] t1mp: one click more and you arrive here ;-) https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/jsDocs/+merge/264050 [15:44] unfortunately merges only get arbitrary numbers so I can't tell the difference if I copy from autocompletion [17:54] karni, hmm, any known issues with telegram ? i only get a white screen on both of my phones (both on latest rc-proposed image from today) [18:02] ogra_, yeah, something about the thumbnailer c++ api getting dropped [18:02] in vivid ? [18:02] bah [18:02] they're trying to figure out what to do [18:02] yeah [18:02] they didn't realize it was used by telegram [18:02] ah [18:03] i didn't follow it closely, but i think karni said they hope to have a plan by monday [18:03] which sucks, but i guess it isn't trivial [18:04] karni, correct me if i'm wrong :) [18:04] and they couldnt just seed it back in temporaray ? [18:04] -ra [18:04] i doubt it, i don't think it's just a package getting dropped [18:04] it's a new thumbnailer version that dropped the API [18:04] ogra: old thumbnailer has been removed [18:04] that broke telegram, which was dynamically linked [18:04] so we'd need the whole old thumbnailer [18:05] telegram is broken inrc proposed [18:05] hey karni [18:05] http://people.canonical.com/~ogra/touch-image-stats/vivid/20150717.changes [18:05] (sry I'm on my phone) [18:05] hi Ken [18:05] looks like it is only that package [18:06] so yes, know issue. we should know more on Monday. sorry about that. I didnt know the library binary would move/change API. [18:06] * Switch to unversioned Conflicts/Replaces on libthumbnailer0 to force [18:06] removal of the obsolete package on upgrade from the previous version. [18:07] * Remove the libthumbnailer0 and libthumbnailer-dev binary packages. [18:07] ouch ! [18:07] right [18:07] yes [18:07] thats really evil [18:07] right.. [18:07] i guess it wasn't part of the platform, so in theory safe to use [18:07] this is where the "supported APIs" gets fuzzy [18:08] well, it was there, so we simply used it. right, ezactly Ken. [18:08] same with libcontent-hub0 [18:08] regarsless whether that was supported or not, we'll fix it one way or the other [18:08] nothing stopping it from being used [18:08] but we have been told it isn't a supported API in the platform [18:08] most probably talk over dbus, cose we're not using the QML apu of the thumbnailer [18:09] karni, that's tricky too though [18:09] is the DBus API a guaranteed API? [18:09] I can only say we simply thought it was not documented [18:09] what if it changes? [18:09] well, thats what guys suggested, talk over sbus [18:09] dbus [18:09] it's certainly a fix [18:10] but it's no better than using the old unsuppported libthumbnailer0 [18:10] or, they make a simple lib that exposes that api. they wanted to avoid it. I said, we need an Api for c/c++ anyway [18:10] you could end up broken again [18:10] true. thus, we should know more on Monday. :) [18:10] so if we need click packages to be able to use the thumbnailer [18:10] we need an API that is part of the platform [18:11] theres qml api. but we want it from c++ [18:11] or we'll end up in this same place in 6 months [18:11] yes [18:11] i agree [18:11] good [18:11] sorry Ken, hard to type fast on the phone [18:11] no worry :) [18:11] hopefully we'll have a plan early next week [18:11] i just wanted to make my opinion known :) [18:11] yes :) [18:11] using the dbus API isn't a fix... it's a bandaid :) [18:12] true, I agree. [18:12] unless the dbus API becomes a supported part of the platform [18:12] then it's cool [18:12] we need solid Api. which, if you ask me, could have been done as part of the new thumbnailer in the first place :) (I think ita jist a good idea) [18:12] right [18:13] k, gotta go [18:13] it's easiest as a proper lib [18:13] ok, later! [18:13] :) [19:20] Hi! Just thinking about buying some Smartphone for playing around with Ubuntu Phone. It should be a more powerful model. The official model in that case is MeizuMX4. However I wonder if there is some other current model that can be used with Ubuntu Phone in a useful and complete way (by programming it by my own). Any suggestions? [19:24] Nexus 4/5? [19:26] Those arn't current models, are they? They are available second hand only, aren't they? [19:26] Ah, sorry. :D [19:26] My bad. Yeah, afaik N5 isn't produced anymore [19:27] No problem :-) So the current models are not supported well? [19:28] I don't know, all I know that Nexus 4/5 are officially(?) supported and you can jsut do a ubuntu-device-flash. :D [19:58] how do i place two columns mext to each other with and can apply their width based on percentages? [19:58] btw: is there a good ebook for qml/c++/ubuntu touch apps? [19:59] Isotop7: http://qmlbook.github.io/ [20:01] ahoneybun: wow...thanks! seems awesome :) [20:01] Isotop7: the concept here with Rectangle should work with Columns: http://qmlbook.github.io/en/ch04/index.html#rectangle-element [20:01] worth a try [20:06] ahoneybun: ty === salem_ is now known as _salem