[SailfishDevel] Bug in QMLDelegateModel

2015-11-09 Thread Hendrik Borghorst
Hello guys, I'm experiencing a sporadic crash in an application of mine and I think this maybe related to the bug report here: https://bugreports.qt.io/browse/QTBUG-34351 It happens when I remove items out of my model on the c++ side triggered by an context menu of an SilicaListItem. It happens

[SailfishDevel] Division by zero in Slider.qml

2014-01-15 Thread Hendrik Borghorst
Hello folks, I've noticed some strange behaviour in Silica Silder. If you set minimumValue=maximumValue , the handle gets invisible and cannot get activated again. if you've a look at (except from Slider.qml) you'll see: function _updateHighlightToValue() { highlight.x =

[SailfishDevel] GPS Location service (QTLocation or QTPositioning)

2013-12-17 Thread Hendrik Borghorst
Hello guys, I want to develop some kind of MTB tracking application. I develop in real device and want to know which module for position data is the best way to go. On the device I see that qt-location and qt-positioning is installed. As qt-positioning is part of qt 5.2 I would think this is

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
is lightweight as possible, and to use Loaders for anything needed later (e.g. onClick) Chris Zitat von Hendrik Borghorst hendrikborgho...@gmail.com: Hello folks, I've got a problem with long lists (~25000 elements). All delegates are created at once which causes the memory usage

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
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

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
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. On 16.12.2013 02:08, Hendrik Borghorst wrote: What do you mean exactly? Isn't this exactly what

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Hendrik Borghorst
) demonstrating your problem? Please see http://sscce.org/ On 15 Dec 2013, at 21:03, Hendrik Borghorst hendrikborgho...@gmail.com 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

Re: [SailfishDevel] Delegate creation on demand

2013-12-14 Thread Hendrik Borghorst
Hello again, I think I found the problem. The moment the ListView is not visible anymore it goes on a killing spree and starts creating delegates for around 50% of all items in model. If I put in a workaround like: model: visible ? modelVar : null The ListView works. 2013/12/14 Hendrik