Re: [SailfishDevel] Minimized Apps

2014-09-09 Thread r0kk3rz
That's got it, Thanks Jarmo.

On Tue, Sep 9, 2014 at 7:04 AM, Jarmo Lahtiranta 
wrote:

> I had a similar problem a while ago and the reason was that I used
> qt.createObject with invalid parent. You seem to be using it too, so
> make sure that your parent references are in order. I think it had
> something to do with garbage collection, but anyway - setting a decent
> parent solved the problem for me.
>
> -Jarmo
>
>
>
> On 09/08/2014 11:49 PM, r0kk3rz wrote:
> > Screen On/Off makes no difference, bug is present whenever app is
> minimized.
> >
> > Should I be watching an app state signal and performing some action when
> > the app is brought back into focus?
> >
> > On Mon, Sep 8, 2014 at 9:15 PM, Martin Kolman  > > wrote:
> >
> > 8.9.2014 21:44, r0kk3rz:
> >> I'm not expecting someone to fix my bug for me, just describe or
> >> point to a link or something that tells me what happens when a
> >> Sailfish App is minimized (status objects changed, signals that
> >> are called, anything?)
> >>
> >> It's a QtMultimedia based music player app, and my play queue
> >> stops updating the datamodel when the player reaches the end of
> >> one song and goes to the next in the queue, the player itself
> >> continues to work, but the datamodel that displays in the GUI
> >> becomes stops updating. This happens only when minimized, when the
> >> app is in focus the app works as expected.
> > Does this happen also when the screen is on or off ? When the screen
> > is off Sailfish behaves a bit like Android, freezing running
> > apps/running timers after a few minutes, unless explicitly told
> > otherwise.
> >>
> >> Code is available here:
> >> https://github.com/r0kk3rz/SirenSong-Media-Player but again I'm
> >> not expecting anyone to fix it for me, just help me understand the
> >> environment better.
> >>
> >> On Mon, Sep 8, 2014 at 8:23 PM, Michael Neufing
> >> mailto:m.neuf...@yahoo.de>> wrote:
> >>
> >> Hello,
> >>
> >> I think, without further information on what your app does and
> >> what bug occurs when your app is minimized, nobody is able to
> >> help you.
> >>
> >>
> >> Regards,
> >>
> >> Michael Neufing
> >>
> >>
> >> r0kk3rz mailto:r0kk...@gmail.com>> schrieb
> >> am 18:47 Montag, 8.September 2014:
> >>
> >>
> >> Hi,
> >>
> >> Can someone explain what happens when an App gets minimized to
> >> the home screen on Sailfish?
> >>
> >> I have a bug that only occurs when the App is in minimized
> >> state, and without really knowing what changes to look for it
> >> makes debugging hard.
> >>
> >> Regards,
> >>
> >>
> >>
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> >> devel-unsubscr...@lists.sailfishos.org
> >> 
> >>
> >>
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> >> devel-unsubscr...@lists.sailfishos.org
> >> 
> >>
> >>
> >>
> >>
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org  devel-unsubscr...@lists.sailfishos.org>
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> > 
> >
> >
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> >
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Minimized Apps

2014-09-08 Thread Jarmo Lahtiranta
I had a similar problem a while ago and the reason was that I used
qt.createObject with invalid parent. You seem to be using it too, so
make sure that your parent references are in order. I think it had
something to do with garbage collection, but anyway - setting a decent
parent solved the problem for me.

-Jarmo



On 09/08/2014 11:49 PM, r0kk3rz wrote:
> Screen On/Off makes no difference, bug is present whenever app is minimized.
> 
> Should I be watching an app state signal and performing some action when
> the app is brought back into focus?
> 
> On Mon, Sep 8, 2014 at 9:15 PM, Martin Kolman  > wrote:
> 
> 8.9.2014 21:44, r0kk3rz:
>> I'm not expecting someone to fix my bug for me, just describe or
>> point to a link or something that tells me what happens when a
>> Sailfish App is minimized (status objects changed, signals that
>> are called, anything?)
>>
>> It's a QtMultimedia based music player app, and my play queue
>> stops updating the datamodel when the player reaches the end of
>> one song and goes to the next in the queue, the player itself
>> continues to work, but the datamodel that displays in the GUI
>> becomes stops updating. This happens only when minimized, when the
>> app is in focus the app works as expected.
> Does this happen also when the screen is on or off ? When the screen
> is off Sailfish behaves a bit like Android, freezing running
> apps/running timers after a few minutes, unless explicitly told
> otherwise.
>>
>> Code is available here:
>> https://github.com/r0kk3rz/SirenSong-Media-Player but again I'm
>> not expecting anyone to fix it for me, just help me understand the
>> environment better.
>>
>> On Mon, Sep 8, 2014 at 8:23 PM, Michael Neufing
>> mailto:m.neuf...@yahoo.de>> wrote:
>>
>> Hello,
>>
>> I think, without further information on what your app does and
>> what bug occurs when your app is minimized, nobody is able to
>> help you.
>>
>>  
>> Regards,
>>
>> Michael Neufing
>>
>>
>> r0kk3rz mailto:r0kk...@gmail.com>> schrieb
>> am 18:47 Montag, 8.September 2014:
>>
>>
>> Hi,
>>
>> Can someone explain what happens when an App gets minimized to
>> the home screen on Sailfish?
>>
>> I have a bug that only occurs when the App is in minimized
>> state, and without really knowing what changes to look for it
>> makes debugging hard.
>>
>> Regards,
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>> 
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>> 
>>
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to 
>> devel-unsubscr...@lists.sailfishos.org 
>> 
> 
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> 
> 
> 
> 
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Minimized Apps

2014-09-08 Thread r0kk3rz
Screen On/Off makes no difference, bug is present whenever app is minimized.

Should I be watching an app state signal and performing some action when
the app is brought back into focus?

On Mon, Sep 8, 2014 at 9:15 PM, Martin Kolman 
wrote:

>  8.9.2014 21:44, r0kk3rz:
>
> I'm not expecting someone to fix my bug for me, just describe or point to
> a link or something that tells me what happens when a Sailfish App is
> minimized (status objects changed, signals that are called, anything?)
>
> It's a QtMultimedia based music player app, and my play queue stops
> updating the datamodel when the player reaches the end of one song and goes
> to the next in the queue, the player itself continues to work, but the
> datamodel that displays in the GUI becomes stops updating. This happens
> only when minimized, when the app is in focus the app works as expected.
>
> Does this happen also when the screen is on or off ? When the screen is
> off Sailfish behaves a bit like Android, freezing running apps/running
> timers after a few minutes, unless explicitly told otherwise.
>
>
>  Code is available here: https://github.com/r0kk3rz/SirenSong-Media-Player
> but again I'm not expecting anyone to fix it for me, just help me
> understand the environment better.
>
> On Mon, Sep 8, 2014 at 8:23 PM, Michael Neufing 
> wrote:
>
>>  Hello,
>>
>>  I think, without further information on what your app does and what bug
>> occurs when your app is minimized, nobody is able to help you.
>>
>>
>>  Regards,
>>
>> Michael Neufing
>>
>>
>>r0kk3rz  schrieb am 18:47 Montag, 8.September 2014:
>>
>>
>> Hi,
>>
>>  Can someone explain what happens when an App gets minimized to the home
>> screen on Sailfish?
>>
>>  I have a bug that only occurs when the App is in minimized state, and
>> without really knowing what changes to look for it makes debugging hard.
>>
>>  Regards,
>>
>>
>>
>>  ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Minimized Apps

2014-09-08 Thread Martin Kolman

8.9.2014 21:44, r0kk3rz:
I'm not expecting someone to fix my bug for me, just describe or point 
to a link or something that tells me what happens when a Sailfish App 
is minimized (status objects changed, signals that are called, anything?)


It's a QtMultimedia based music player app, and my play queue stops 
updating the datamodel when the player reaches the end of one song and 
goes to the next in the queue, the player itself continues to work, 
but the datamodel that displays in the GUI becomes stops updating. 
This happens only when minimized, when the app is in focus the app 
works as expected.
Does this happen also when the screen is on or off ? When the screen is 
off Sailfish behaves a bit like Android, freezing running apps/running 
timers after a few minutes, unless explicitly told otherwise.


Code is available here: 
https://github.com/r0kk3rz/SirenSong-Media-Player but again I'm not 
expecting anyone to fix it for me, just help me understand the 
environment better.


On Mon, Sep 8, 2014 at 8:23 PM, Michael Neufing > wrote:


Hello,

I think, without further information on what your app does and
what bug occurs when your app is minimized, nobody is able to help
you.


Regards,

Michael Neufing


r0kk3rz mailto:r0kk...@gmail.com>> schrieb am
18:47 Montag, 8.September 2014:


Hi,

Can someone explain what happens when an App gets minimized to the
home screen on Sailfish?

I have a bug that only occurs when the App is in minimized state,
and without really knowing what changes to look for it makes
debugging hard.

Regards,



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org





___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Minimized Apps

2014-09-08 Thread r0kk3rz
I'm not expecting someone to fix my bug for me, just describe or point to a
link or something that tells me what happens when a Sailfish App is
minimized (status objects changed, signals that are called, anything?)

It's a QtMultimedia based music player app, and my play queue stops
updating the datamodel when the player reaches the end of one song and goes
to the next in the queue, the player itself continues to work, but the
datamodel that displays in the GUI becomes stops updating. This happens
only when minimized, when the app is in focus the app works as expected.

Code is available here: https://github.com/r0kk3rz/SirenSong-Media-Player
but again I'm not expecting anyone to fix it for me, just help me
understand the environment better.

On Mon, Sep 8, 2014 at 8:23 PM, Michael Neufing  wrote:

> Hello,
>
> I think, without further information on what your app does and what bug
> occurs when your app is minimized, nobody is able to help you.
>
>
> Regards,
>
> Michael Neufing
>
>
>   r0kk3rz  schrieb am 18:47 Montag, 8.September 2014:
>
>
> Hi,
>
> Can someone explain what happens when an App gets minimized to the home
> screen on Sailfish?
>
> I have a bug that only occurs when the App is in minimized state, and
> without really knowing what changes to look for it makes debugging hard.
>
> Regards,
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Minimized Apps

2014-09-08 Thread Michael Neufing
Hello,

I think, without further information on what your app does and what bug occurs 
when your app is minimized, nobody is able to help you.


 

Regards,

Michael Neufing 



r0kk3rz  schrieb am 18:47 Montag, 8.September 2014:
 


Hi,

Can someone explain what happens when an App gets minimized to the home screen 
on Sailfish?

I have a bug that only occurs when the App is in minimized state, and without 
really knowing what changes to look for it makes debugging hard.

Regards,



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Minimized Apps

2014-09-08 Thread r0kk3rz
Hi,

Can someone explain what happens when an App gets minimized to the home
screen on Sailfish?

I have a bug that only occurs when the App is in minimized state, and
without really knowing what changes to look for it makes debugging hard.

Regards,
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org