adrnsoh / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Exit Form only triggered against the main form #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two forms
2. implement Exit Form for each
3. Launch the simulator from the IDE

What is the expected output? What do you see instead?
The Exit Form is only triggered on whichever form is set to the 'Main' form.

What version of the product are you using? On what operating system?
0.1 build 20120312 on Ubuntu 11.10

Original issue reported on code.google.com by 1815...@coolman.ca on 15 Mar 2012 at 7:22

GoogleCodeExporter commented 9 years ago
I just tested it in two separate applications and exit form works perfectly for 
both cases. Can you please provide a test case?

Original comment by shai.almog on 15 Mar 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Strange.  The demo package I just put on the discussion forum is where I 
experienced this behaviour.  Depending on which form I set as main, that form 
has the Exit Form triggered and the opposite one doesn't.

Original comment by 1815...@coolman.ca on 15 Mar 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Strange again, it looks like my discussion group posting disappeared... here's 
the source to my test case.

Original comment by 1815...@coolman.ca on 15 Mar 2012 at 8:24

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, the zip is missing the content in the directories such as the 
sources/resource file.

Original comment by shai.almog on 15 Mar 2012 at 8:31

GoogleCodeExporter commented 9 years ago
sh*t, I meant to just remove the jars.  Here's attempt 2, I dumbed it down and 
put in some console statements to better show the behaviour.

Original comment by 1815...@coolman.ca on 15 Mar 2012 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago
That happened in a weird special case related to the first form that's 
completely unrelated. Fixed for the next release.

Original comment by shai.almog on 16 Mar 2012 at 5:03