Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread christopher . lamb
Hi Hendrik Have you seen this? http://qt-project.org/wiki/Performance_tip_Lists The general advice is to keep the delegates is lightweight as possible, and to use Loaders for anything needed later (e.g. onClick) Chris Zitat von "Hendrik Borghorst" : Hello folks, I've got a problem with l

Re: [SailfishDevel] Sailfish app to monitor network traffic ?

2013-12-15 Thread acce
Hi, If you mean the total data transferred, it can be seen in the settings of the phone. AFAIK there is no application for real-time monitoring though. -Asser On Sat, 14 Dec 2013 00:58:31 +0100 "W. Dobbe" wrote: > Hi all, > > A question to those who already received their Jolla phone: is th

[SailfishDevel] SailfishOS translations

2013-12-15 Thread Jarno
Hi, I was wondering if the current SailfishOS UI is ready to be translated to more languages. As of yesterday the Dutch Sailors are receiving their phones and most of them would love to see a Dutch UI. And even better, some of them already said they are willing to help translate. Some of them

[SailfishDevel] SailfishOS (Dutch) translations

2013-12-15 Thread Jarno
Hi, I was wondering if the current SailfishOS UI is ready to be translated to more languages. As of yesterday the Dutch Sailors are receiving their phones and most of them would love to see a Dutch UI. And even better, some of them already said they are willing to help translate. Some of them

Re: [SailfishDevel] SailfishOS (Dutch) translations

2013-12-15 Thread Javier Ferreira
Waiting for the portuguese Em 15/12/2013 07:41, "Jarno" escreveu: > Hi, > > I was wondering if the current SailfishOS UI is ready to be translated to > more languages. As of yesterday the Dutch Sailors are receiving their > phones and most of them would love to see a Dutch UI. And even better, so

Re: [SailfishDevel] SailfishOS (Dutch) translations

2013-12-15 Thread Superpelican
I wouldn't mind contributing to a Dutch translation either (although I always have my SW language set to English myself) On Sat Dec 14 19:35:21 2013 Jarno wrote: > Hi, > > I was wondering if the current SailfishOS UI is ready to be translated > to more languages. As of yesterday the Dutch Sail

Re: [SailfishDevel] SailfishOS (Dutch) translations

2013-12-15 Thread Wim de Vries
On 12/15/2013 11:45 AM, Javier Ferreira wrote: Waiting for the portuguese Em 15/12/2013 07:41, "Jarno" > escreveu: Hi, I was wondering if the current SailfishOS UI is ready to be translated to more languages. As of yesterday the Dutch Sailors ar

Re: [SailfishDevel] no output from console.log

2013-12-15 Thread Wim de Vries
Thx On 12/14/2013 11:25 PM, Artem Marchenko wrote: That is a known issue with this SDK release, unfortunately. There are two workarounds possible: 1. ssh to emulator console and run "sudo journalctl -fa" there I am getting a lot of (and no console.log output): Logs begin at Sun, 15 D

[SailfishDevel] (silica)listview without model?

2013-12-15 Thread Wim de Vries
Hi, Working on the GUI port from QWidgets to QML. I am trying the ContextMenu example in the documentation. It does not work: I did see that the SilicaListView has no model (in the QML documentation there is always a model). Same goes for the ListItem example. Is Sailfish different from QML here

Re: [SailfishDevel] (silica)listview without model?

2013-12-15 Thread christopher . lamb
Hi Wim Of course a ListView (Silica or otherwise) requires a model. Without a model the View would not make much sense 8-) The Listview documentation shows this. https://sailfishos.org/sailfish-silica/qml-sailfishsilica-silicalistview.html I suspect the ContextModel documentation is over-si

[SailfishDevel] qmlscene & error handling

2013-12-15 Thread Osmo Salomaa
Hello, I'm writing an application using QML and PyOtherSide. I'm new to Qt, QML, PyOtherSide and all the rest apart from Python. I ssh into the emulator and use 'qmlscene main.qml' to run my application. I'm wondering about qmlscene's error handling. I create QML objects dynamically based on

Re: [SailfishDevel] qmlscene & error handling

2013-12-15 Thread Wim de Vries
I don't know about Python, but QML is giving no feedback at all (even console.log does not work) since the SDK update. See " no output from console.log" topic above. Possibly related. r wim On 12/15/2013 05:19 PM, Osmo Salomaa wrote: Hello, I'm writing an application using QML and PyOtherSide

Re: [SailfishDevel] A new Jolla phone user - after 2 days of use

2013-12-15 Thread Kari Pihkala
> > 2. There should be a way to go straight from Lock Screen to Launcher > > (instead of needing to go through Home) > > i don't agree, for multi-processing this is better, plus there's a pulley > menu on lock for the relevant apps... i suppose this is configurable I also have difficulties with th

Re: [SailfishDevel] qmlscene & error handling

2013-12-15 Thread Osmo Salomaa
15.12.2013 18:30, Wim de Vries wrote: I don't know about Python, but QML is giving no feedback at all (even console.log does not work) since the SDK update. See " no output from console.log" topic above. Possibly related. I'm still on the previous version. console.log works. -- Osmo Salomaa

Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
> I'm porting the modRana flexible navigation system[1][2] to Sailfish > and I plan to also port the Mieru offline manga and comic book > reader[3][4]. :) what about MangaWhat ? i use that one :-) ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
> Currency Converter: https://github.com/tanghus/currency-converter-qml > Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml > > The capcha for your site is ridiculous, so posting it here instead :) It's not my site (it's for embedded linux), but that captcha _is_ ridiculous... i couldn't

Re: [SailfishDevel] working on apps?

2013-12-15 Thread David Greaves
On 15/12/13 17:41, AL13N wrote: >> Currency Converter: https://github.com/tanghus/currency-converter-qml >> Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml >> >> The capcha for your site is ridiculous, so posting it here instead :) > > It's not my site (it's for embedded linux), but th

Re: [SailfishDevel] working on apps?

2013-12-15 Thread Marko Koschak
Hi I am porting KeepassX (v0.4.3) to Sailfish -> https://github.com/jobe-m/ownkeepass It's quite usable. Needs some polishing until it goes to harbour ;) Cheers, Marko Am Samstag, den 14.12.2013, 11:41 +0100 schrieb "AL13N" : if there are people who are working on apps, and want to let it kn

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
Hello, the problem isn't my delegate. It is quite minimal. The problem is I think a bug in QML Listview. It goes absolutly crazy if it is invisible and starts making delegate for around 50% of all items. This causes the memory to run full. A workaround I added is model: visible ? modelVar : nu

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Andrey Kozhevnikov
load model dynamically? if you wont preload model before using it can solve many problems. :) On 16.12.2013 02:03, Hendrik Borghorst wrote: Hello, the problem isn't my delegate. It is quite minimal. The problem is I think a bug in QML Listview. It goes absolutly crazy if it is invisible and s

Re: [SailfishDevel] working on apps?

2013-12-15 Thread Hendrik Borghorst
Hello, I've ported my MPD (musicpd) Client qmobilempd from symbian. It is already in harbour but a new version which fixes a lot of crashes is pending QA. greetings Am Samstag, den 14.12.2013, 11:41 +0100 schrieb AL13N: > if there are people who are working on apps, and want to let it know, so >

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
What do you mean exactly? Isn't this exactly what ListView should do automatically which can be influenced with cacheBuffer? Which by the way works correctly as long as the listview stays visible. greetings Am Montag, den 16.12.2013, 02:05 +0600 schrieb Andrey Kozhevnikov: > load model dynamic

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Andrey Kozhevnikov
no, i mean manual optimization. like loading model when it actually requires, or dynamically create listview with model using component loader or createComponent. QML is easy and fast when you making small projects. but for complex you should thinh HOW code actially works after interpretation

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
It is weird if I have to manually optimize something which worked for 2 years on an old Nokia N8 with 128? MB memory. I don't see any reason for qt to create those delegate items and as I read the documentation of the qt-project QAbstractListModel is exactly the way to go. Also there are cases whe

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Andrey Kozhevnikov
you doing it wrong. its all what i see now :) On 16.12.2013 02:17, Hendrik Borghorst wrote: It is weird if I have to manually optimize something which worked for 2 years on an old Nokia N8 with 128? MB memory. I don't see any reason for qt to create those delegate items and as I read the documen

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
Than if it is so clear could you be so nice and point me to some documentation? Am Montag, den 16.12.2013, 02:19 +0600 schrieb Andrey Kozhevnikov: > you doing it wrong. its all what i see now :) > > On 16.12.2013 02:17, Hendrik Borghorst wrote: > > > It is weird if I have to manually optimize so

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Andrey Kozhevnikov
start with "Dynamic Object Management" On 16.12.2013 02:21, Hendrik Borghorst wrote: Than if it is so clear could you be so nice and point me to some documentation? Am Montag, den 16.12.2013, 02:19 +0600 schrieb Andrey Kozhevnikov: you doing it wrong. its all what i see now :) On 16.12.2013 0

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Robin Burchell
Can you please provide a minimal test case (i.e. ideally a single QML file, usable with qmlscene) demonstrating your problem? Please see http://sscce.org/ On 15 Dec 2013, at 21:03, Hendrik Borghorst wrote: > Hello, > > the problem isn't my delegate. It is quite minimal. > > The problem is I

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
Sure, This example I've just created and it does exactly what I want to show. greetings and thanks for your support There are 2 buttons, one populates the model with 25000 simple items. The second one pushes a page above the page with listview. After the push you can see the ListView creating

Re: [SailfishDevel] working on apps?

2013-12-15 Thread Nicola De Filippo
Hi, Il giorno 15/dic/2013, alle ore 19:06, David Greaves ha scritto: > On 15/12/13 17:41, AL13N wrote: >>> Currency Converter: https://github.com/tanghus/currency-converter-qml >>> Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml >>> >>> The capcha for your site is ridiculous, so po

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread christopher . lamb
Hi Hendrik My feeling is also that you have stumbled upon a bug. Your update with the visible = false crossed mine. My understanding was that all delegates are created when the ListView is created / Loaded. I see no reason at all why the ListView should go on a creation spree when it become

Re: [SailfishDevel] working on apps?

2013-12-15 Thread Kimmo Lindholm
Thomas, I pulled your kitchen-timer, built and deployed as rpm, and tested it on device, it gives me just white screen when started. -kimmo -Original Message- From: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Thomas Tanghus Sent: Sunday, D

[SailfishDevel] Using Python 3 and PyOtherSide repository on Sailfish device

2013-12-15 Thread Roberto Colistete Jr.
Em 30-09-2013 09:40, Thomas Perl escreveu: The rest of this mail deals with PyOtherSide: It's available in the mer-python3 repository: https://build.merproject.org/project/show?project=mer-python3 In the sb2 target and on a device, you can add that repo using: zypper ar http://repo.merproject.

Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
> On 15/12/13 17:41, AL13N wrote: >>> Currency Converter: https://github.com/tanghus/currency-converter-qml >>> Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml >>> >>> The capcha for your site is ridiculous, so posting it here instead :) >> >> It's not my site (it's for embedded linux),

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Chris Adams
Hi, It seems like the ListItem delegate relies on implicit height for its geometry. When the empty page is pushed, the delegates get their height set to zero, which causes the listview to create more delegates to fit into the visible area. Since any finite height divided by zero is infinity,

[SailfishDevel] Using Python 3 and PyOtherSide repository on Sailfish device : one solution

2013-12-15 Thread Roberto Colistete Jr.
Hi, Ops, I think I've found the solution, the "-G" (--no-gpgcheck, Disable GPG verification for this repository) is needed : # zypper ar -G http://repo.merproject.org/obs/mer-python3/latest_armv7hl/mer-python3.repo So this and other Mer COBS repositories can remain enabled and Jolla St