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