You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a weird issue when launching the simulator from Eclipse. I banged my head on the wall until I found some conditions where it does not happen all the times, so I can make progress on my app.
Basically, the simulator freezes right after I launch it from Eclipse. The initial page is displayed, but then clicks are not handled, nor you can scroll if it is a table view. I reproduced it easily with the simple UICatalog from robovm-samples.
I found out that:
It doesn't happen systematically
It appears way more often when 'Debug' is chosen in Eclipse instead of 'Run'
Seems that it appears also more often when the device is scaled to 50%, although I have no proof for this
When frozen, you can go to the simulator home page, kill the app, relaunch it from the icon that was installed and it works...
It is like a race condition. The slower the machine is, the more often it seems to happen. In particular when this is executed within a VM, which is slower by definition.
Here how I can reproduce it almost systematically on my own machines. I don't know why adding a class makes it worse.
Import the UICatalog to your Eclipse workspace
Launch it in the iPhone simulator, in debug: works
Copy/paste ButtonViewController in the same package and name the copy ButtonViewController2
Open MainViewController and create an instance of this new button view after the existing one
// for showing various UIButtons:
ButtonsViewController buttonsViewController = new ButtonsViewController();
ButtonsViewController2 buttonsViewController2 = new ButtonsViewController2();
Stop the previous process and launch UICatalog again
-> the main UI view displays the list, but it seems frozen. It doesn't handle clicks, nor it enables scrolling. As soon as you remove the creation of new ButtonViewController2 (comment it out) then it works again. The view doesn't have to be even added to the menuList collection.
Let me know if you want more details. I can send whatever you want/need to better understand the issue. I can also offer a remote session in case you need it to investigate the issue.
The text was updated successfully, but these errors were encountered:
I'm getting a weird issue when launching the simulator from Eclipse. I banged my head on the wall until I found some conditions where it does not happen all the times, so I can make progress on my app.
Basically, the simulator freezes right after I launch it from Eclipse. The initial page is displayed, but then clicks are not handled, nor you can scroll if it is a table view. I reproduced it easily with the simple UICatalog from robovm-samples.
I found out that:
It is like a race condition. The slower the machine is, the more often it seems to happen. In particular when this is executed within a VM, which is slower by definition.
Here how I can reproduce it almost systematically on my own machines. I don't know why adding a class makes it worse.
// for showing various UIButtons:
ButtonsViewController buttonsViewController = new ButtonsViewController();
ButtonsViewController2 buttonsViewController2 = new ButtonsViewController2();
-> the main UI view displays the list, but it seems frozen. It doesn't handle clicks, nor it enables scrolling. As soon as you remove the creation of new ButtonViewController2 (comment it out) then it works again. The view doesn't have to be even added to the menuList collection.
Let me know if you want more details. I can send whatever you want/need to better understand the issue. I can also offer a remote session in case you need it to investigate the issue.
The text was updated successfully, but these errors were encountered: