View Single Post
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#251
Originally Posted by marxian View Post
I'm unable to reproduce this on my device: http://youtu.be/tI8nP7obVMQ

It seems that something on your device is preventing the process from being terminated when you attempt to close the application.

The reason you are still able to launch the application from the terminal is because the command is different. When launching from the desktop file, cuteTube is launched via /usr/bin/invoker with the --single-instance (or -s) option enabled:

Code:
/usr/bin/invoker --type=d -s --splash=/opt/cutetube/resources/splash-app.png --splash-landscape=/opt/cutetube/resources/splash-app-landscape.png  /opt/cutetube/bin/cutetube
This ensures that, if there is an instance of cuteTube running, that the top-level window of that instance is activated when the user taps the desktop icon. Executing the binary from the command line will create a new instance regardless.
I have a very similar issue, but for me, if you close the application whilst a video is playing, it does not properly close and it will not reopen until you killall cutetube or restart.

(I think this is the problem the person was having, not it not opening after multiple openings)