-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Description
Hi ! Im having some issues related to lifecycle event. The problem is that, i want to know when an App wants to Quit, but i don't get the corrects events
the gist is here : https://gist.github.com/BrianCraig/bb2bb411a202b35c1a88
First, im gonna run it on my PC (x86 AMD - default linux mint 17 Quiana cinnamon distro)
start the process
StageDead none
StageAlive on
StageVisible on
StageFocused on
this is a correct event, which says that the stage is created (alive), visible, and focused
paint internal
now this paint is internal, but, it should be external; there is not a single paint event sent in my code
minimizes window
nothing happens
close button window
nothing happens
log out session
nothing happens
Then, im gonna run it on my phone (Android 4.4.2 - Moto E first gen)
start the process
StageDead none
StageAlive on
StageVisible on
StageFocused on
this is a correct event, same for pc
paint external
correct context
minimizes app
StageDead none
StageAlive none
StageVisible off
StageFocused off
correct event
opens view
StageDead none
StageAlive none
StageVisible on
StageFocused on
correct event
minimizes app again
StageDead none
StageAlive none
StageVisible off
StageFocused off
correct event
closes the app
nothing
So, is this working right ?