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

But now I need an event to tell me the page should repaint the canvas, I
have been looking for an onActivate, onShow or onRestore event on the
Page, but has been unable to find one!

Does anyone on this list know how to detect when the Page should be
repainted?

Kim

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

Reply via email to