bugDenemo - Bugs: bug #27354, recursive key capture not possible...

 
 

bug #27354: recursive key capture not possible -> bad news

Submitted by:  Richard Shann <rshann>
Submitted on:  Mon 31 Aug 2009 09:40:49 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 03 Sep 2009 08:52:54 AM UTC, comment #5:

I have completed the other input functions and changed the acceptable input function to return #f

Richard Shann <rshann>
Project Administrator
Wed 02 Sep 2009 05:40:40 PM UTC, comment #4:

I will assume that your change to git makes this bug less frequent but it has not entirely eliminated it.

Here is how to reproduce it:

Run Education/BassClefNoteNameSpeedTest
click start
before game has ended lauch Education/CountSteps
try and hit a number

This will always occur when a script waits for a user input and then another script is loaded and the new script also asks for input.

Jeremiah Benham <jjbenham>
Project Administrator
Tue 01 Sep 2009 08:05:11 PM UTC, comment #3:

I have made d-GetCommand return #f on finding that it is being called recursively. It previously returned "" which is a deprecated way of indicating failure.
Some games (and other commands?) may be affected by this change, but it will probably prevent the hanging that this bug reported.

Richard Shann <rshann>
Project Administrator
Tue 01 Sep 2009 06:15:33 PM UTC, comment #2:

Can someone post a reproducible sequence for getting this bug?

Richard Shann <rshann>
Project Administrator
Mon 31 Aug 2009 12:33:08 PM UTC, comment #1:

I think this happens when denemo is waiting for a keypress and then new is kit and the next game asks for a keypress.

Can the d-New (sp?) is activated could is somehow stop or kill any old script process? If so would this effect all the init scripts preloaded or can we just stop the last process.

This bug is probably reproduced most often in the scripts I have accepting both keyboard and mouse input at the same time.

Jeremiah Benham <jjbenham>
Project Administrator
Mon 31 Aug 2009 09:40:49 AM UTC, original submission:

If you try to run a second game you get the recursive key capture not possible message and ... it recurses, so that you can't escape.

Richard Shann <rshann>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by steele (Updated the item)
  • -unavailable- added by jjbenham (Posted a comment)
  • -unavailable- added by rshann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Dec 2010 01:07:23 PM UTCsteeleOpen/ClosedOpen=>Closed
    Thu 03 Sep 2009 08:52:54 AM UTCrshannStatusNeed Info=>Fixed
    Tue 01 Sep 2009 06:15:33 PM UTCrshannStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1