[Ubuntu-phone] [Design] Installed fonts in Ubuntu Touch

2013-08-26 Thread Robert Schroll
Hi all, What fonts will come installed by default in Ubuntu Touch? Obviously the Ubuntu font will be there, but what else? The Nimbus family? The URW++ fonts? How about Bitstream Charter? I'm asking because I'm working on a Epub reader for the App Showdown. I want to give the user the o

[Ubuntu-phone] [SDK][Theming] Styling a compound widget

2013-09-08 Thread Robert Schroll
Hi all, This email is going to run on a bit, so let me put my questions here at the top and motivate them afterwards: 1) Is it possible to adjust the style of a single compound widget? (That is, a QML element with several sub-elements. I don't know the terminology here.) 2) If not (and I

Re: [Ubuntu-phone] [SDK][Theming] Styling a compound widget

2013-09-09 Thread Robert Schroll
Hi Zsombor, Thanks for the detailed reply! There's still some things I'm confused about, but this may reflect more my lack of understanding of QML. So don't be afraid to tell me that these are stupid questions. On Mon, Sep 9, 2013 at 8:41 AM, Zsombor Egri wrote: 2) If not (and I haven't

Re: [Ubuntu-phone] [SDK][Theming] Styling a compound widget

2013-09-11 Thread Robert Schroll
On Wed, Sep 11, 2013 at 8:43 AM, Michał Sawicz wrote: I feel like there has been a misunderstanding here... IIUC, you want an OptionSelector with: Ubuntu DejaVu Liberation ... Each of those in the font it describes, right? IMO that's the exact place where you create a custom OptionSelectorDe

[Ubuntu-phone] Whither the Content Hub?

2013-10-12 Thread Robert Schroll
Hi all, Beru, my epub reader app, is currently hamstrung by apparmor restrictions. Instead of being allowed to read any books the user puts in her home directory, it can only read epub files if they're stored in ~/.local/share/com.ubuntu.developer.rschroll.beru/. I was told that the Content

Re: [Ubuntu-phone] How do I know an app is safe to install?

2013-10-15 Thread Robert Schroll
On Tue, Oct 15, 2013 at 9:16 AM, Michael Zanetti wrote: App Developers don't want to publish their code and the vast majority of users doesn't seem to care about anything security at all anyways. It's a sad situation for people like us who actually DO care about security. However, I haven'

[Ubuntu-phone] Accessing the user's files in a click app

2013-10-24 Thread Robert Schroll
Hi all, Since my previous questions about the content hub didn't get me anywhere, I must have been asking stupid questions. Allow me to back up to a more basic topic. This is the workflow I wish to enable: 1) The user copies (via rsync or Ubuntu One folder or whatever) files to their home

Re: [Ubuntu-phone] problems submitting application

2013-10-25 Thread Robert Schroll
It turns out that deleting the app doesn't actually delete it -- it just hides it from you. It still exists, and this is what's blocking you from creating a new app with the same name. Somebody with admin power can go in and undelete the existing app, letting you submit a new version. You ma

Re: [Ubuntu-phone] Accessing the user's files in a click app

2013-10-25 Thread Robert Schroll
Hi all, Thanks for the many replies, all. It's a bit overwhelming, and I fear I may have missed something. I'm going to try to summarize; please correct my mistakes: 1) There's no way to do what I want to do right now. 2) The content hub may provide the capabilities I want in the future, b

Re: [Ubuntu-phone] Accessing the user's files in a click app

2013-10-25 Thread Robert Schroll
. Potentially, this could be turned into a FUSE filesystem backed by the Content Hub once that's ready. Thanks again, Robert On Fri, Oct 25, 2013 at 3:01 PM, Jamie Strandboge wrote: On 10/25/2013 12:03 PM, Robert Schroll wrote: ... I'd prefer arbitrary locations, to allow th

[Ubuntu-phone] NemoMobile FolderListModel

2013-11-18 Thread Robert Schroll
Hi all, In my epub reader app Beru, I use nemomobile.folderlistmodel to get a list of epub files on the device. This used to work on the devices, but a few weeks ago, users started reporting errors like: module "org.nemomobile.folderlistmodel" is not installed I notice that the musi

Re: [Ubuntu-phone] NemoMobile FolderListModel

2013-11-19 Thread Robert Schroll
On Tue, Nov 19, 2013 at 12:50 AM, Sergio Schvezov wrote: On Mon, Nov 18, 2013 at 11:15 PM, Robert Schroll wrote: In my epub reader app Beru, I use nemomobile.folderlistmodel to get a list of epub files on the device. ‘2’ If it's gone, how does the file manager manage to use it?

[Ubuntu-phone] [Click] Valid architecture values

2013-11-25 Thread Robert Schroll
Hi all, What are the valid values for the architecture key in a manifest file in a click package? I know it's "armhf" for arm devices. What about for x86 and x86_64 devices? (Yes, I know there's no need for anything other than arm right now. I have a little script that assembles click pac

Re: [Ubuntu-phone] [Click] Valid architecture values

2013-11-25 Thread Robert Schroll
Thanks! On Mon, Nov 25, 2013 at 9:23 PM, Robert Park wrote: I'd like to see that... anything that makes packaging even easier than clicks can only be good ;-) Here's the script, updated with your input: https://github.com/rschroll/beru/blob/restricted/makeclick.sh It is very simple, but if a

[Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-01 Thread Robert Schroll
Hi all, I recently discovered that my app, built on 12.04 with the SDK PPA, is broken on devices. This is because of a version mismatch. The PPA for 13.10 and 14.04 is up to 0.1.46+14.04.20131129bzr873, but the version I have on my 12.04 box is 0.1.46+13.10.20130925.1bzr780. Looking at the

Re: [Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-02 Thread Robert Schroll
On Mon, Dec 2, 2013 at 1:06 PM, Tim Peeters wrote: API changes are listed in the CHANGES file, and announced on this mailing list. There have been changes to the OptionSelector API in r796 but they were reverted to avoid problems in r825, so neither r780 or r873 should be affected. If you tell

Re: [Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-03 Thread Robert Schroll
On Tue, Dec 3, 2013 at 11:34 AM, Tim Peeters wrote: So the two main issues here are: 1. UITK packages for 12.04 are not up-to-date (and perhaps not compatible with newer versions) I just managed to find an existing bug about this: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1237045.

Re: [Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-19 Thread Robert Schroll
On Tue, Dec 3, 2013 at 8:50 PM, Robert Schroll wrote: On Tue, Dec 3, 2013 at 11:34 AM, Tim Peeters wrote: So the two main issues here are: 1. UITK packages for 12.04 are not up-to-date (and perhaps not compatible with newer versions) I just managed to find an existing bug about this

Re: [Ubuntu-phone] U1dB Documentation and Advice

2014-01-04 Thread Robert Schroll
On Sat, Jan 4, 2014 at 11:45 AM, Nekhelesh Ramananthan wrote: This email is concerning persistent storage options for an Ubuntu Touch application developer. I hope this doesn't turn out to be a big email, but in any case here is a short summary of this email. What is the future of U1dB-Qt? Cur

[Ubuntu-phone] Click to deb conversion?

2014-01-04 Thread Robert Schroll
Hi all, From the little that I understand of it, click packages are just simplified deb packages. So, is it possible to convert a click package into a deb? If so, how? I ask because I'm working to make my Ubuntu Touch app usable on the desktop as well as the phone. While you can install c

Re: [Ubuntu-phone] Click to deb conversion?

2014-01-05 Thread Robert Schroll
On Sun, Jan 5, 2014 at 12:50 PM, Dimitri John Ledkov wrote: Whilst the implementation detail is correct that both are tar archives inside of an ar. Policy wise it's not possible to simply convert a .click into .deb and expect it to be properly functional - it will not install correctly, executab

Re: [Ubuntu-phone] Click to deb conversion?

2014-01-08 Thread Robert Schroll
On Mon, Jan 6, 2014 at 1:02 AM, Robert Schroll wrote: On Sun, Jan 5, 2014 at 6:23 AM, Fabio Colella wrote: This -> http://forum.xda-developers.com/showthread.php?t=2265480 can help you! ;) Perfect! Thanks a bunch for that link. I haven't had a chance to try that yet, but it lo

Re: [Ubuntu-phone] Using a zip file?

2014-02-05 Thread Robert Schroll
In case anyone out there actually does have to handle zip archives: The QuaZIP project (http://quazip.sourceforge.net/) provides a Qt interface to zip and unzip archives. This is what I'm currently using in my epub reader. (Epubs are just glorified zip archives.) There are also several pure

Re: [Ubuntu-phone] [SDK] Expandable items

2014-02-10 Thread Robert Schroll
If you have a compatible license (and I have no idea what that means in terms of QML components, but GPLv3 is obviously OK), you can just include those new components in your project. You'd probably need to adjust the imports a bit and rename the data attribute back to children, but that's not

[Ubuntu-phone] Fwd: Re: [SDK] Expandable items

2014-02-12 Thread Robert Schroll
Missed the list with my first reply. On Wed, Feb 12, 2014 at 4:50 AM, Christian Dywan wrote: Be sure to file a bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+filebug with your use case(s), what API is missing. So the OptionSelector can be improved for everyone using the SDK. The specifi

Re: [Ubuntu-phone] New SDK and UI Toolkit releases

2014-02-17 Thread Robert Schroll
On Fri, Feb 14, 2014 at 3:42 PM, Zoltán Balogh wrote: 2. The UITK is back on Precise We had a long pending problem with releasing the 12.04 backport of the UI Toolkit due to a cluster of difficultes. We had to backport several dependencies and tackle with the fact hat the UI Toolkit is a fas

Re: [Ubuntu-phone] New SDK and UI Toolkit releases

2014-02-18 Thread Robert Schroll
On Tue, Feb 18, 2014 at 7:04 AM, Zoltán Balogh wrote: I pushed an update with the right version number and tweaked dependencies. Please try now and see what it does. It should not remove any packages :) and if it offers that please do not say yes. It upgrades just fine, but when I try to ru

Re: [Ubuntu-phone] New SDK and UI Toolkit releases

2014-02-18 Thread Robert Schroll
On Tue, Feb 18, 2014 at 2:54 PM, Zoltán Balogh wrote: I have just pushed the 0.1.46+14.04.20140212-0ubuntu1-0precise3 to the SDK PPA This release reverts an MR[1] exclusively for 12.04 desktop installation. That fixes things for me! Thanks, Robert -- Mailing list: https://launchpad.net

[Ubuntu-phone] [HTML5] Local storage options for HTML5 apps

2014-03-12 Thread Robert Schroll
Hi all, I'm trying to figure out what options I have for storing data in an HTML app. Based on testing in 13.10, it appears that Web Storage and Web SQL are supported, while IndexedDB are FileSystem are not. Is this correct? Is this situation expected to persist, or will Web SQL be phased

Re: [Ubuntu-phone] [HTML5] Local storage options for HTML5 apps

2014-03-13 Thread Robert Schroll
Thanks for the info. I'll use Web Storage for now, and look into U1DB when it comes out. Robert On Wed, Mar 12, 2014 at 9:48 PM, Alexandre Abreu wrote: Hi Robert, On Wed, Mar 12, 2014 at 4:16 PM, Robert Schroll wrote: Hi all, I'm trying to figure out what options I have f

[Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-21 Thread Robert Schroll
Hi all, I'm working on a crossword client using the HTML5 SDK. Obviously, being able to enter letters is important, so the on-screen keyboard should be visible whenever the user is working on a puzzle. But I can't figure out how to trigger it to show up. Is there some Javascript to call or

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-25 Thread Robert Schroll
On Mon, Mar 24, 2014 at 1:13 PM, Alexandre Abreu wrote: While a programmatic solution might be handy in the meantime, can you have a text field that can be the receiver for the user's input & with which the user could trigger the keyboard to popup? you could track down the onchange events & pi

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-25 Thread Robert Schroll
On Tue, Mar 25, 2014 at 10:04 AM, Alexandre Abreu wrote: Hi Robert, The gist of the issue is OSK not popping up when js sets the focus in a text field. I'll agree that fixing this would be enough for me to get by with. But... I dont think that having a way to programatically popup the OS

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-26 Thread Robert Schroll
On Tue, Mar 25, 2014 at 5:10 PM, Robert Schroll wrote: On Tue, Mar 25, 2014 at 10:04 AM, Alexandre Abreu wrote: Hi Robert, The gist of the issue is OSK not popping up when js sets the focus in a text field. I'll agree that fixing this would be enough for me to get by with. I'

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-26 Thread Robert Schroll
ress events will trigger text to be added to the three bottom lines. This works in the browser and in the HTML5 launcher, but it does not work on the device (er, emulator). Robert On Wed, Mar 26, 2014 at 2:22 PM, Alexandre Abreu wrote: Hi Robert, On Wed, Mar 26, 2014 at 1:56 PM, Robert S

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-26 Thread Robert Schroll
On Wed, Mar 26, 2014 at 3:48 PM, Alexandre Abreu wrote: On Wed, Mar 26, 2014 at 3:04 PM, Robert Schroll wrote: Once focus is on the input, the keydown, keyup, and keypress events will trigger text to be added to the three bottom lines. This works in the browser and in the HTML5 launcher

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-03-31 Thread Robert Schroll
On Mon, Mar 31, 2014 at 9:42 AM, Alexandre Abreu wrote: On Wed, Mar 26, 2014 at 3:59 PM, Robert Schroll wrote: Is there a bug about this I should be watching? not at this point, Should I submit a bug report? If so, against which project? Robert -- Mailing list: https://launchpad.net

Re: [Ubuntu-phone] Deploy QMake (*.pro) C++/QML project?

2014-03-31 Thread Robert Schroll
On Mon, Mar 31, 2014 at 8:14 PM, José Expósito wrote: Does someone know if it is possible to generate a click package just by preparing an output directory like that? I have checked the click command help but it is not very extensive... Does someone know where could I get more information? A

Re: [Ubuntu-phone] Triggering on-screen keyboard with HTML5 SDK

2014-04-03 Thread Robert Schroll
very useful. Thanks for the heads-up, Robert On Thu, Apr 3, 2014 at 10:33 AM, Alexandre Abreu wrote: I thouhgt you might be interested, On Tue, Mar 25, 2014 at 9:43 AM, Robert Schroll wrote: That might work, but it'd be mildly annoying both to program and to use. I also don't kno

Re: [Ubuntu-phone] Landing team 13.08.15

2015-08-14 Thread Robert Schroll
14, 2015 at 4:26 AM, Łukasz 'sil2100' Zemczak wrote: Hello, W dniu 14.08.2015 o 03:53, Robert Schroll pisze: On Thu, Aug 13, 2015 at 2:14 PM, Łukasz 'sil2100' Zemczak wrote: Please DO NOT use the devel/devel-proposed channels for your phones if not needed. P

Re: [Ubuntu-phone] Landing team 13.08.15

2015-08-14 Thread Robert Schroll
On Fri, Aug 14, 2015 at 12:27 PM, Łukasz 'sil2100' Zemczak wrote: Well... that's the *theory*, but in practice it's sadly a bit more problematic ;) As we say in physics: in theory there's no difference between theory and practice; in practice, there is. That being said, we discussed all th

Re: [Ubuntu-phone] Landing team 25.08.15

2015-08-27 Thread Robert Schroll
On Tue, Aug 25, 2015 at 6:13 PM, Łukasz 'sil2100' Zemczak wrote: Once we get a green light regarding the testing we will proceed with the promotion plan as mentioned yesterday: mako, flo and arale released tomorrow, krillin and vegetahd next week. You almost slipped this past me, but I notic

Re: [Ubuntu-phone] Document privacy

2015-09-21 Thread Robert Schroll
On Mon, Sep 21, 2015 at 11:38 AM, Jamie Strandboge wrote: I can say that the upcoming storage framework specification deals with (vastly) improving sharing as well. Is this specification available somewhere for public comment? I've been frustrated by the content hub many times, so I'd like

Re: [Ubuntu-phone] updates through emulator

2015-10-22 Thread Robert Schroll
On Thu, Oct 22, 2015 at 1:55 PM, Nicholas Skaggs wrote: AFAIK, yes, you cannot update the emulator. That said, I never tried toggling the update through the command line, or attempting hackery to force it through. According to the wiki (https://wiki.ubuntu.com/Touch/Emulator): To update to a

Re: [Ubuntu-phone] QML ContentStore example?

2015-10-23 Thread Robert Schroll
On Fri, Oct 23, 2015 at 8:38 AM, Jani Monoses wrote: I have searched in vain for an example of a minimal use of ContentStore - such that imported files do not by default end up under ~/.cache where they will be deleted from. This may or may not be your problem but: There is a bug wherein a fi

Re: [Ubuntu-phone] QML ContentStore example?

2015-10-23 Thread Robert Schroll
On Fri, Oct 23, 2015 at 1:06 PM, Michael Zanetti wrote: If that's not the problem, let me know. I have an example using the ContentStore somewhere around here I'd be interested in that. Can you share please? I've had a git repository sitting around with some content hub examples for

Re: [Ubuntu-phone] JavaScript bindings for Scopes

2015-11-03 Thread Robert Schroll
On Tue, Nov 3, 2015 at 7:47 AM, Marcus Tomlinson wrote: We’d like to announce the release of the JavaScript bindings for Scopes. Great news! I've long wondered why I had to muck about in C++ to push JSON data from one place to another. No more! I'll be trying this out soon. Thanks, Robe

Re: [Ubuntu-phone] Spying features in Ubuntu

2015-11-05 Thread Robert Schroll
On Thu, Nov 5, 2015 at 6:55 PM, Peter Bittner wrote: I've accidentally come across a Richard Stallman interview on Ubuntu. He's mainly concerned about the spying feature of Ubuntu's dash when you do a search on your device. RMS is displaying his usual flair for the dramatic. In Unity 7, sear

Re: [Ubuntu-phone] Syncthing

2015-12-17 Thread Robert Schroll
On Thu, Dec 17, 2015 at 11:47 AM, Neil McPhail wrote: One of the requirements for the Open Store submission is that the app be open source, with a link to the source used to build the app. Looking at the build documentation, this looks easier than I thought. They provide a docker build image

Re: [Ubuntu-phone] [Challenge] Ebook reader

2016-02-01 Thread Robert Schroll
On Mon, Feb 1, 2016 at 10:33 AM, Neil McPhail wrote: The app is an ebook reader, and should be capable of displaying books in a variety of formats (epub, txt, mobi etc). It should also have a text-to-speech engine, and the displayed text should follow the text-to-speech engine in real time. The

Re: [Ubuntu-phone] [Challenge] Ebook reader

2016-02-01 Thread Robert Schroll
On Mon, Feb 1, 2016 at 5:07 PM, Rodney Dawes wrote: Ubuntu One is not shut down. What was shut down was the file/music sync/streaming/storage/store services. U1DB is still up AFAIK, and Ubuntu One is still the SSO account infrastructure for Ubuntu. I was under the impression, perhaps mis-forme

Re: [Ubuntu-phone] [Challenge] Ebook reader

2016-02-01 Thread Robert Schroll
On Mon, Feb 1, 2016 at 6:04 PM, Neil McPhail wrote: It seems that the most useful core apps have additional apparmor blessings which are not available to ordinary devs using the default store, This is perhaps the most frustrating part of the whole experience. Beru is not fundamentally diffe

Re: [Ubuntu-phone] [Challenge] Ebook reader

2016-02-01 Thread Robert Schroll
On Mon, Feb 1, 2016 at 10:06 PM, Rodney Dawes wrote: It was always clearly stated that the U1DB server was still up, and that it was not done via file synchronization. I'm afraid I completely missed this point up til now. I looked back at the announcement of the shutdown of Ubuntu One (not

Re: [Ubuntu-phone] [Challenge] Ebook reader

2016-02-02 Thread Robert Schroll
On Tue, Feb 2, 2016 at 4:55 AM, Christian Dywan wrote: The sync branch didn't make it past proof of concept - see https://code.launchpad.net/~uonedb-qt/u1db-qt/syncWithU1 - it basically works but the code needed cleaning up when my time then was increasingly going into UI Toolkit work, and the

Re: [Ubuntu-phone] Difficulty Sending Messages to this List (was Re: (no subject)

2016-03-20 Thread Robert Schroll
I have had a number of messages from yahoo accounts end up in my (gmail) spam foulder. Generally, Gmail says, Why is this message in Spam? It's from an address in the yahoo.com domain but has failed yahoo.com's required tests for authentication. There are (at least) two obvious things that c

[Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-05 Thread Robert Schroll
Hi all, Previously, I had built binaries for armhf in my own chroot. But it's really out of date, so I thought I'd give the new system built into Qt Creator a try. Following the instructions [1], I got the chroot got built correctly, as far as I can tell, but when go to add a kit based on i

Re: [Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-06 Thread Robert Schroll
On Sun, Jul 6, 2014 at 4:39 AM, David Planella wrote: Do you have the Sysroot and Compiler fields set correctly? I seem to. The one difference I note is that I have the debugger set to "System GDB"; setting it to "Ubuntu SDK Debugger" gives an error that '/usr/bin/gdb-multiarch' is not foun

Re: [Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-06 Thread Robert Schroll
On Sun, Jul 6, 2014 at 2:13 PM, Zoltán Balogh wrote: One thing before that could help us to investigate is to try out the QtC 3.1.1 and the latest SDK tools: https://launchpad.net/~ubuntu-sdk-team/+archive/tools-development I'll give that a try this evening and let you know how it goes. Once

Re: [Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-06 Thread Robert Schroll
On Sun, Jul 6, 2014 at 2:30 PM, Robert Schroll wrote: (click-ubuntu-sdk-14.10-armhf)root@copper:/home/rschroll/touch/beru-arm# qmake -qt=qt5-arm-linux-gnueabihf qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake': No such file or directory (click-ubuntu-sdk-14.10-

Re: [Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-07 Thread Robert Schroll
On Mon, Jul 7, 2014 at 3:18 AM, Zoltán Balogh wrote: Your project is a qmake project. Sadly qmake projects are not supported by the SDK. In order to build and package your project for armhf target you need to convert the project to cmake. Perhaps this should be the error message, rather than

Re: [Ubuntu-phone] Building in an arm chroot with Qt Creator

2014-07-07 Thread Robert Schroll
On Mon, Jul 7, 2014 at 2:08 PM, Nicholas Skaggs wrote: The docs contain the fact you need to be cmake as part of the building section, but it could have easily been missed. Does this need to be more explicit? It also appears after the place where I got stuck ("For an existing project:"), so

[Ubuntu-phone] Application crash on utopic but not trusty

2014-07-07 Thread Robert Schroll
Hi all, I've got a rather puzzling bug, and I'm out of ideas to attack it. Maybe someone here can offer some help. The full details are here https://github.com/rschroll/beru/issues/52; I'll try to summarize the important details below. Beru is a QML application that contains several compil

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 4:09 AM, Albert Astals Cid wrote: Run it with gdb/valgrind? How does one do that? Every time I try to launch an application from an ssh session, I get QUbuntu: Could not create application instance Aborted (core dumped) Obviously, there's some special sauce that I

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 11:34 AM, Michał Sawicz wrote: On 08.07.2014 17:25, Robert Schroll wrote: How does one do that? Every time I try to launch an application from an ssh session, I get QUbuntu: Could not create application instance Aborted (core dumped) Obviously, there's

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 12:19 PM, Ted Gould wrote: The supported way is to use QtCreator, which I think that Benjamin got working (cc'd to check). It sets up a custom click that can be used for debugging and connects back to GDB on the host. Then you're running the app under confinement in the

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 1:17 PM, Rodney Dawes wrote: Have you tried to recreate the problem inside a utopic lxc, on the native architecture of your system? No. I was considering making a i386 binary and testing it on the i386 emulator, but these problems getting gdb to run worry me on that a

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 1:47 PM, Michał Sawicz wrote: Right... you fell victim of this bug: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1325984 Just use, say /usr/share/applications/webbrowser-app.desktop in the desktop_file_hint arg and it should work... It will show up as the browser

Re: [Ubuntu-phone] Application crash on utopic but not trusty

2014-07-08 Thread Robert Schroll
On Tue, Jul 8, 2014 at 2:00 PM, Robert Schroll wrote: On Tue, Jul 8, 2014 at 1:47 PM, Michał Sawicz wrote: Right... you fell victim of this bug: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1325984 Just use, say /usr/share/applications/webbrowser-app.desktop in the

[Ubuntu-phone] QtWebKit WebViews appear black on i386 emulator

2014-07-08 Thread Robert Schroll
Hi all, I'm running r113 on an i386 emulator. It seems to be working pretty well, but all QtWebKit WebViews appear solid black. This means that HTML5 apps are broken, as are the parts of QML apps that rely on these WebViews. Oxide WebViews, however, are displayed just fine. I assume this

Re: [Ubuntu-phone] Are the menus in Ubuntu-SDK gone?

2014-07-12 Thread Robert Schroll
On Sat, Jul 12, 2014 at 9:31 AM, Nekhelesh Ramananthan wrote: The menu should be present. Are you missing the Build menu item or the entire Qtcreator menus? If the latter, you might want to check if you have the package appmenu-qt5 installed on your system as it enables the global menus for qt

Re: [Ubuntu-phone] Are the menus in Ubuntu-SDK gone?

2014-07-12 Thread Robert Schroll
On Sat, Jul 12, 2014 at 10:28 AM, Nekhelesh Ramananthan wrote: I ran Qtcreator on KDE and noticed that the menus were missing. I figured this could be due to KDE not supporting global menus. On removing appmenu-qt5 and restarting Qtcreator I got the menus back. Perhaps you could try the same?

[Ubuntu-phone] Persisting cookies in Oxide

2014-07-15 Thread Robert Schroll
Hi all, My app Beru [1] is a QML app, but does a lot of its work inside a QtWebKit WebView. One of those things is to persist settings in a cookie stored in the WebView [2]. With QtWebKit, this worked fine. I'm trying to port it to the Oxide WebView, but this is no longer working. Cookies

Re: [Ubuntu-phone] Persisting cookies in Oxide

2014-07-15 Thread Robert Schroll
On Tue, Jul 15, 2014 at 8:26 PM, Alexandre Abreu wrote: There might be a few reasons for that. Are you directly using the Oxide.WebView or do you use it through the Ubuntu.Web.UbuntuWebView component? I'm using the Oxide.WebView directly, since I need to set some custom user scripts. If yo

Re: [Ubuntu-phone] Persisting cookies in Oxide

2014-07-16 Thread Robert Schroll
On Wed, Jul 16, 2014 at 7:53 AM, Olivier Tilloy wrote: There’s not code readily available in oxide to import QtWebKit cookies, but I guess you could write some if you really need to. QtWebKit stores its cookies under $dataLocation/.QtWebKit/cookies.db, in an sqlite database. Thanks. I hadn't

Re: [Ubuntu-phone] Persisting cookies in Oxide

2014-07-16 Thread Robert Schroll
On Wed, Jul 16, 2014 at 11:22 AM, Olivier Tilloy wrote: That’s correct. The latter is preferred over the former (and is properly documented at http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Web/). For whatever reason, Ubuntu.Web isn't installed on my 14.04 system (with SDK team PPA), w

Re: [Ubuntu-phone] Community participation

2014-07-17 Thread Robert Schroll
On Thu, Jul 17, 2014 at 8:11 AM, Nathan Haines wrote: On 07/17/2014 05:02 AM, Oliver Propst wrote: Sure, but I think if they really want expand and create the a similar atmosphere around it as the desktop operating system they should try to work closer with the the community. They can't wor

[Ubuntu-phone] dlopen: cannot load any more object with static TLS

2014-08-19 Thread Robert Schroll
Hi all, I've been trying, and largely failing, to get Beru [1] to run on emulators and devices. I think I've squashed a bug related to apparmor permissions [2], but now when running on a i386 emulator I'm getting the error: file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Bro

Re: [Ubuntu-phone] dlopen: cannot load any more object with static TLS

2014-08-20 Thread Robert Schroll
We've been unable to reproduce this problem on either an arm emulator or device, so it looks like it's specific to the i386 architecture. I'd still love to hear people's thoughts about what's going wrong and how to work around it. Thanks, Robert On Tue, Aug 19,

Re: [Ubuntu-phone] ownCloud app.

2014-08-27 Thread Robert Schroll
On Wed, Aug 27, 2014 at 6:46 PM, Daniel Holm wrote: 3. Added a WebView (Webkit since I can't get the Oxide stuff to work...) Make sure you add the "webview" policy group to your apparmor file and increase the version to 1.1. Otherwise, you'll get obscure errors from icu_util.cc. I've file

Re: [Ubuntu-phone] Errors after installing ubuntu-sdk

2014-09-04 Thread Robert Schroll
On Thu, Sep 4, 2014 at 3:18 PM, Andrey Kozhevnikov wrote: Thank you, i just updated to 14.10 to match qt 5.3 version. I want to clarify: there are no way to compile and run qmake .pro project on emulator right now? I'm not strict to QtC, can build using cli, if possible. You can, but you hav

[Ubuntu-phone] Testing Translations

2014-09-09 Thread Robert Schroll
Hi all, I recently added translations to my QML app, and I'm trying to test them now. But I'm having trouble getting even a basic case to work. Can someone say what I'm doing wrong? I've attached a sample program that demonstrates my confusion. It reports the selected language, sets a bog

Re: [Ubuntu-phone] Testing Translations

2014-09-09 Thread Robert Schroll
On Tue, Sep 9, 2014 at 7:35 PM, John Lenton wrote: $ LC_ALL=es_AR.UTF-8 LANGUAGE=es qmlscene i18n.qml qml: Language: es_AR.UTF-8 qml: Dummy domain set qml: tr: Done qml: dtr: Listo qml: Correct domain set qml: tr: Listo qml: dtr: Listo Unfortunately, that doesn't work for me. I get th

[Ubuntu-phone] Fwd: Re: Testing Translations

2014-09-09 Thread Robert Schroll
Missed the list. -- Forwarded message -- From: Robert Schroll Subject: Re: [Ubuntu-phone] Testing Translations Date: Tue, 09 Sep 2014 20:03:34 -0400 To: John Lenton On Tue, Sep 9, 2014 at 7:53 PM, John Lenton wrote: Do you have the appropriate locales installed? I have

Re: [Ubuntu-phone] Fwd: Re: Testing Translations

2014-09-10 Thread Robert Schroll
On Wed, Sep 10, 2014 at 2:11 AM, David Planella wrote: 1. I think you might not have Spanish translations installed on your system. That means that probably the es_ES.UTF-8 locale is not generated. Try starting the language support app from the Dash and installing Spanish from there. That di

[Ubuntu-phone] [Design] Popover pointing to header buttons

2014-10-07 Thread Robert Schroll
Hi all, My app Beru has a main screen that features a list that can be sorted in several different ways. The sorting UI consists of a Sort toolitem that opens a popover with three different sorts to choose from. When the toolitems were in a toolbar, this worked fine. When they got moved to

Re: [Ubuntu-phone] [Design] Popover pointing to header buttons

2014-10-09 Thread Robert Schroll
On Thu, Oct 9, 2014 at 7:48 AM, Giorgio Venturi wrote: Yeah, I totally agree with Tim, that's the recommended way of dealing with sorting & filtering options That does look nice. Thanks! Unfortunately, it's not available on 14.04. As that's one of my targets, I'll have to stick with the wo

Re: [Ubuntu-phone] [Design] Popover pointing to header buttons

2014-10-10 Thread Robert Schroll
On Fri, Oct 10, 2014 at 6:40 PM, Nekhelesh Ramananthan wrote: I am curious, are you targeting Trusty desktop or trusty phone channel? The desktop. I started Beru because I wanted a simple epub reader for the desktop, so that's actually my focus. Robert -- Mailing list: https://launchpa

Re: [Ubuntu-phone] ANNOUNCEMENT: Vivid and ubuntu-rtm landing procedures

2014-10-26 Thread Robert Schroll
On Fri, Oct 24, 2014 at 12:23 PM, Rodney Dawes wrote: But I don't see any way for supporting multiple different framework versions in an app, on a system that is designed to be a single rolling release. I've asked this before [1], but I've yet to receive a satisfactory response: What about

[Ubuntu-phone] Scopes questions

2014-11-03 Thread Robert Schroll
Hi all, I started playing around with scopes and have run into a few questions. If there's a better place to ask about this, please let me know. Otherwise: 1) Is it possible to delay a query until the user hits "Enter"? Or failing that, until a second or so has passed from the last key str

Re: [Ubuntu-phone] Scopes questions

2014-11-03 Thread Robert Schroll
On Mon, Nov 3, 2014 at 3:49 PM, Rodney Dawes wrote: There should be a short delay (~100ms) already, after the last key was pressed, before the query is sent. Maybe this needs to be closer to 300ms or so, as typing on the phone can be pretty slow, unlike typing with a real keyboard. If you are fi

Re: [Ubuntu-phone] Scopes questions

2014-11-03 Thread Robert Schroll
Thanks, all, for the helpful explanations. I think I'm finally starting to grok what's going on with scopes. I need some time to digest everything you've told me, but I'll be back with more questions soon. One comment: There seems to be several reasons to prefer asynchronous behavior, but t

[Ubuntu-phone] [Scopes] Responding to preview actions

2014-11-06 Thread Robert Schroll
Hi all, I'm trying to understand how to have a scope respond to the user's activation of a preview action, by running a new query for example. This only documentation I've seem on it is in the API docs, and that's not entirely clear. I don't understand the difference between ScopeBase::perf

Re: [Ubuntu-phone] [Scopes] Responding to preview actions

2014-11-07 Thread Robert Schroll
On Fri, Nov 7, 2014 at 1:53 AM, Michi Henning wrote: You set the "uri" attribute with builder.add_tuple(). That tells the shell that you want that uri to be activated when the button is pressed. Don't set the "uri" attribute, and your activate() method is called as expected. Aha! I had forg

Re: [Ubuntu-phone] [Scopes] Responding to preview actions

2014-11-07 Thread Robert Schroll
On Fri, Nov 7, 2014 at 1:08 PM, Pawel Stolowski wrote: I think you're experiencing https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1335761 That'd seem to be the problem. Good to know it's not my fault for once. One more question on this subject: Is it possible to intercept

Re: [Ubuntu-phone] [Scopes] Responding to preview actions

2014-11-11 Thread Robert Schroll
CannedQuery::to_uri()) as an uri of your result and that should fire off your new query when you activate the result. Pawel On 10.11.2014 10:06, Pawel Stolowski wrote: Hi Robert, n 07.11.2014 20:37, Robert Schroll wrote: On Fri, Nov 7, 2014 at 1:08 PM, Pawel Stolowski wrote: I think you&#x

[Ubuntu-phone] [Scope] Failure to authenticate with online accounts on recent emulator images

2014-11-17 Thread Robert Schroll
Hi all, As some of you may know, I'm working on a Gmail scope [1] that uses the online accounts Google account for authentication. This works (sporadically) in RTM image 5 on the emulator, but I have been unable to get it to work with images 6 or 7. Specifically, the scope creates an Online

Re: [Ubuntu-phone] [Scope] Failure to authenticate with online accounts on recent emulator images

2014-11-17 Thread Robert Schroll
On Tue, Nov 18, 2014 at 2:12 AM, Alberto Mardegan wrote: I suspect that there might be something wrong with the parameters you pass to the OnlineAccountsClient constructor: indeed, the service-type parameter there should not be "email", but the same value you have in the element of your .serv

Re: [Ubuntu-phone] [Scope] Failure to authenticate with online accounts on recent emulator images

2014-11-18 Thread Robert Schroll
On Tue, Nov 18, 2014 at 2:59 AM, Robert Schroll wrote: Note that the documentation for the OnlineAccountClient API [1] describes service-type as 'The type of service (E.g. "sharing")', while the developer guide [2] uses the RDN for the service type in the XML file. I

[Ubuntu-phone] [Scope] More authentication questions

2014-11-18 Thread Robert Schroll
Hi all, I'm completely confused about how I should handle authentication over the life of my scope. I'll try to explain my specific problems below, but if you think it's best to ignore those and give me an overview of the recommended approach, that'd be great too. My scope [1] uses Google o

Re: [Ubuntu-phone] [Scope] More authentication questions

2014-11-19 Thread Robert Schroll
On Wed, Nov 19, 2014 at 1:54 AM, Marcus Tomlinson wrote: Its really up to you where you want to query the oa_client. Once the OA backend has requested and given you an access token, subsequent calls to retrieve statuses from oa_client will have negligible overhead (In fact, even re-instantiati

  1   2   >