Re: [SailfishDevel] How to detect when an app are restored from minimized

2015-01-24 Thread Kim Foder
Hi That did solve my problem, thanks. On Sat, 2015-01-24 at 03:28 +0200, Osmo Salomaa wrote: > 24.01.2015, 01:04, Kim Foder kirjoitti: > > I believe this is because of the change where the context is freed when > > the app is minimized, so I added a call to var getContext("2d") to my > > onPaint

Re: [SailfishDevel] How to detect when an app are restored from minimized

2015-01-23 Thread Osmo Salomaa
24.01.2015, 01:04, Kim Foder kirjoitti: I believe this is because of the change where the context is freed when the app is minimized, so I added a call to var getContext("2d") to my onPaint event, and the app can paint on the canvas again. I noticed the same, it changed with Uitukka/Qt5.2. Addi

Re: [SailfishDevel] How to detect when an app are restored from minimized

2015-01-23 Thread Andrey Kozhevnikov
Hello, use Qt.application.active property 24.01.2015 04:04, Kim Foder пишет: Hi In one of my apps I'm using the QML Canvas object, but after the latest upgrade of either the OS or SDK, it was blank whenever the app had been minimized and restored, and stayed blank until the page had been relo

[SailfishDevel] How to detect when an app are restored from minimized

2015-01-23 Thread Kim Foder
Hi In one of my apps I'm using the QML Canvas object, but after the latest upgrade of either the OS or SDK, it was blank whenever the app had been minimized and restored, and stayed blank until the page had been reloaded. I believe this is because of the change where the context is freed when the