|
Page 3 of 3 |
|
Prev |
1 2 3
|
Re: Closing an application without killing main loop
1 Attachment(s)
I attached a simple test application to this message. It creates a sailfish app and a timer printing a message every second. Before starting the app, it calls app->setQuitOnLastWindowClosed(false).
When you close the window, the mainloop exits and messages stop appearing. Can anyone modify it so that after closing the window it still keeps running? Is current behavior a bug? |
Re: Closing an application without killing main loop
This was a bug in the early SDK releases. Make sure you have the latest SDK.
See also: http://talk.maemo.org/showthread.php?t=91595 Note that I have no problems running this on device. |
Re: Closing an application without killing main loop
Quote:
Quote:
|
Re: Closing an application without killing main loop
Quote:
Quote:
|
Re: Closing an application without killing main loop
Quote:
Alternatively, I suggest resintalling the SDK :-D |
Re: Closing an application without killing main loop
Quote:
Can anyone give a third opinion how the app behaves on close? |
Re: Closing an application without killing main loop
I just tested in SDK with another PC and the application still behaves incorrectly:
Code:
Timer (and main loop) is still alive |
Re: Closing an application without killing main loop
The issue is now resolved. The bug was in still in latest SDK and was recently fixed by a SDK update. It also works correctly on device. Thanks for help!
|
Re: Closing an application without killing main loop
No I am really confused.
Because in my case my app dont leave mainloop and in my case I want it to leave :confused: Code:
|
Re: Closing an application without killing main loop
maybe just emulator bug. test on device and ignore emulator bug if arm build works okay :)
|
| All times are GMT. The time now is 13:25. |
Page 3 of 3 |
|
Prev |
1 2 3
|
vBulletin® Version 3.8.8