Re: [SailfishDevel] Getting log from a thread

2020-07-31 Thread David Llewellyn-Jones
On 31/07/2020 09:11, deloptes wrote: [snip] > I see in buteo-syncml that the mentioned OBEX_HandleInput() is called in a > loop while waiting for input. > My problem is and hence my request here, that there is no debugging log from > the obex transport, because it gets started in a thread by msyncd

Re: [SailfishDevel] [Postponed] Sailfish OS, OSS community meeting on July 23rd 2020

2020-07-23 Thread David Llewellyn-Jones
On 23/07/2020 09:13, James Noori wrote: > Hi, > > It will be on the new forum. It is unclear as of yet, but it will be > announced after the vacation period is over. > > /James > > On 7/23/2020 10:08 AM, rinigus wrote: >> Hi James, >> >> with this new shiny forum site, where are we expected to p

Re: [SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread David Llewellyn-Jones
On 25/05/2020 14:31, Julien Blanc wrote: [snip] > I’d like to benefit from icon coloring and correct size selection. > However, it seems the "theme" icon provider only looks in the system > folders, not the app folder (at least that's what strace shows). > > From a quick look, it seems every app i

Re: [SailfishDevel] Problem in interaction qml and c++

2020-04-23 Thread David Llewellyn-Jones
On 23/04/2020 10:50, michael fuchs wrote: > Am 23.04.2020 08:59 schrieb David Llewellyn-Jones: >> On 23/04/2020 09:51, Michael Fuchs wrote: >>> How can AlbumList access mImgDB and mNetAccess? >>> >>> One solution could be to register the controller itself in

Re: [SailfishDevel] Problem in interaction qml and c++

2020-04-23 Thread David Llewellyn-Jones
On 23/04/2020 09:51, Michael Fuchs wrote: > How can AlbumList access mImgDB and mNetAccess? > > One solution could be to register the controller itself in qml and then write > sth like this in qml: > > > AlbumList { > imgDB: controller.imgDB > netAccess: controller.netAccess > } > >

Re: [SailfishDevel] memory leak?

2020-04-13 Thread David Llewellyn-Jones
On 13/04/2020 15:54, E.S. Rosenberg wrote: > Recently I've noticed my phone running out of memory more often. > I've update to 3.3.0.14 but I also released a newer version of gPodder > which may be guilty of this. > However closing gPodder does not release memory so I'm not really sure > if I shoul

Re: [SailfishDevel] Conditional QML element

2020-04-07 Thread David Llewellyn-Jones
Hi Eli, I'm probably misunderstanding the situation, but can you make individual items visible or not (visible: true/false), rather than using Loaders in the list? David On 07/04/2020 11:22, E.S. Rosenberg wrote: > Hi Andrey, > Thanks for the suggestion, though having them as Components in the s

Re: [SailfishDevel] Error deploying app to a salfish device

2020-04-03 Thread David Llewellyn-Jones
On 03/04/2020 03:23, joao morgado via Devel wrote: > Note that the error message shows ip 192.168.1.4, but the device ip is > in fact 192.168.1.6. > I wonder if there is some other option in QtCreator that I'm overlookin > to update the device ip. Do you have the same device set in the deploy menu

Re: [SailfishDevel] libconnman-qt

2020-01-29 Thread David Llewellyn-Jones
On 23/01/2020 03:59, David Weidenkopf wrote: > Hi, I see that sailfish has forked connman. Is libconnman-qt > compatible with the upstream connman? There are certainly some incompatibilities, I'm afraid. As just a couple of examples, the Sailfish connman fork exposes the ResetCounters and CreateSer

Re: [SailfishDevel] Image + text element, or a non-rectangular text field possible in silica?

2020-01-06 Thread David Llewellyn-Jones
On 06/01/2020 21:00, szo...@gmail.com wrote: > Picture will probably illustrate what I mean easier: > https://i.imgur.com/IKyMnAV.png The pictures are definitely helpful! > This is a self-expanding TextArea as you type, but it will happily go > over the screen size and there is no way to get the

Re: [SailfishDevel] Image + text element, or a non-rectangular text field possible in silica?

2020-01-06 Thread David Llewellyn-Jones
On 06/01/2020 16:10, szo...@gmail.com wrote: > Picture will be helpful: https://i.imgur.com/knA9qZP.png Is there any > way to make the text start from left edge after the thumbnail ends? > Not sure if there is something that would fill remaining space with > text automatically, or if you can maybe

Re: [SailfishDevel] Close app in background with visible overlay

2019-12-03 Thread David Llewellyn-Jones
It looks like one solution would be to set the application view as the parent of your overlay view. I created a PR along these lines: https://github.com/yurumi/harbour-schwarzenmaker/pull/16 On 03/12/2019 16:26, Thomas Eigel wrote: > Sure! >   > Goal: I want to close my app from home screen when

Re: [SailfishDevel] Silica QML objects that can have a menu property

2019-10-11 Thread David Llewellyn-Jones
On 10/10/2019 07:30, E.S. Rosenberg wrote: > My question may be very simple - is ListItem the only type of object > that may display a text on a page that can have a "menu" property? I > went over the Silica reference quickly and I didn't find any other > similar items. > > The reason I ask this i

Re: [SailfishDevel] [Solved] RPM validator error

2019-09-18 Thread David Llewellyn-Jones
On 18/09/2019 23:27, Marko Koschak wrote: > Answering to myself ;) > >> I was trying to check the created rpm for my app ownKeepass but it >> failed for a strange reason: "cpio: ./usr/bin/harbour-ownkeepass: >> Cannot open: Permission denied" > > After I changed one line in the .yml file the vali

Re: [SailfishDevel] RPM validator error

2019-09-18 Thread David Llewellyn-Jones
On 18/09/2019 22:35, Marko Koschak wrote: > I was trying to check the created rpm for my app ownKeepass but it > failed for a strange reason: "cpio: ./usr/bin/harbour-ownkeepass: > Cannot open: Permission denied" > > I have never seen this before and also a search on the web does not > reveal anyt

Re: [SailfishDevel] libconnman-qt application examples

2019-07-24 Thread David Llewellyn-Jones
On 24/07/2019 17:16, David Weidenkopf wrote: > Hi David, thanks for the pointers, very helpful to be able to see the > code. I could not find the code for TechnologyModel. Is that closed > source as well? Is it C++ or QML? > > That is the component that interests me the most at this point. > Thank

Re: [SailfishDevel] libconnman-qt application examples

2019-07-23 Thread David Llewellyn-Jones
On 22/07/2019 23:57, David Weidenkopf wrote: > Sorry, I forgot to mention an assumption on my part. Given the API > design, it looks like it is usable from QML, and no C++ would be > necessary. Is that an incorrect assumption? Hi David, I'm struggling a bit with your negatives, but... no, this is

Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box

2019-07-19 Thread David Llewellyn-Jones
On 19/07/2019 12:27, Sahlan wrote: [snip] > I have > purchased a phone which is running Sailfish 3 and have set up Developer > Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE > and built a simple test app. Which phone are you using? Did you flash it over USB to install Sa

Re: [SailfishDevel] Wiki page for writing .spec files

2019-05-31 Thread David Llewellyn-Jones
On 31/05/2019 10:17, Oskar Roesler via Devel wrote: > Hello, are there anywhere instructions how to write a .spec file for > SFOS or do I have to use the ones from CentOS? Regards, Oskar Hey Oskar, There's this info about writing the .yaml files which can be used to generate sensible SFOS spec fi

Re: [SailfishDevel] ListView , Image with large height and EGL errors

2019-05-31 Thread David Llewellyn-Jones
On 31/05/2019 02:57, AL13N wrote: > I have a ListView with an ListItem delegate and an Image in it; > > when i have 2 images with a large height on it next to each other, after > scrolling to it, i get an EGL Texture error . Hey AL13N, Unless someone else already knows the answer, could you prov

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-11 Thread David Llewellyn-Jones
On 11/05/2019 16:12, rinigus wrote: [snip] > BuildRequires: (libicu52-devel or libicu-devel) > > as in > https://github.com/rinigus/pkg-mapnik/blob/da5b6a11667b286c89bbee93eb57e2d4d52d5902/rpm/mapnik.spec#L16 >   [snip] > Hence the question - how can I add support for 3.0.2.x and 3.0.3.x using > t

Re: [SailfishDevel] RPM build error

2018-08-14 Thread David Llewellyn-Jones
On 14/08/18 19:20, Dylan Van Assche via Devel wrote: > I'm having some trouble with building my test application for my QRail > shared library. > The RPM can't be build for some reason, I'm not sure why... > > error: File not found: /home/deploy/installroot/usr/share/qrail-tests > File not found:

Re: [SailfishDevel] Harbour compatibility - including multiple executables in a single RPM

2018-06-02 Thread David Llewellyn-Jones
Hi Martin, On 02/06/18 02:05, Martin Kolman wrote: > Fri, 1 Jun 2018 09:53:10 +0100 David Llewellyn-jones: >> On 01/06/18 09:07, rinigus wrote: [snip - discussion about multiple executables in a Harbour package] >>> >>> I understand, its a sport in the beginning.

Re: [SailfishDevel] Harbour compatibility - including multiple executables in a single RPM

2018-06-01 Thread David Llewellyn-Jones
On 01/06/18 09:07, rinigus wrote: > Hi David, > > > the rules regarding single executable haven't changed, to my knowledge. > > I actually can't see anything in the rules that states you can't have > multiple executables, but it is a requirement to pass through the > rpmvalidator.

Re: [SailfishDevel] Harbour compatibility - including multiple executables in a single RPM

2018-05-31 Thread David Llewellyn-Jones
David > Best wishes, > > Rinigus > > PS: Ironically, few month later, I had to pull out of Harbour anyway due > to the changes in systemd API > > On Mon, May 14, 2018 at 4:12 PM, David Llewellyn-Jones > mailto:da...@flypig.co.uk>> wrote: > > Hi,

[SailfishDevel] Harbour compatibility - including multiple executables in a single RPM

2018-05-14 Thread David Llewellyn-Jones
Hi, The Harbour rpmvalidator is currently highlighting problems with my app because it has more than one executable packaged with it. I get errors like this: ERROR [/usr/share/harbour-getiplay/lib/bin/rtmpdump] ELF binary in wrong location (must be /usr/bin/harbour-getiplay) ERROR [/usr/share/ha

[SailfishDevel] bluez5 breaks sdp_connect()

2017-09-03 Thread David Llewellyn-Jones
Hello! I recently upgraded my Jolla C to 2.1.1.26, and so moved from bluez-libs to bluez5-libs. This triggered the issue that sdp_connect() is no longer supported by bluez5. Running the bluetooth daemon in compatibility mode (as described here: https://raspberrypi.stackexchange.com/a/42262) allow