Bug report

From: <klinefd_at_netzero.net>
Date: Sat, 24 Sep 2005 22:00:18 GMT
To: prima_at_prima.eu.org

There is a small bug in the MainWindow menu accelerator key processing.
I've attached some code to demonstrate this bug.
 Run the code.
 When the window appears, click on File and verify that all items are enabled.
 Dismiss that menu (ESC)
 Press ALT-E to cause the Edit menu to appear
 Dismiss that menu
 Click on file and verify that the Open item is disabled.
The Open item was disabled by the Close All item (the Alt-E) in the File menu.
This indicates that both the Edit menu display and the Close All item in the File menu are being executed for the same accelerator key stroke.
Normal process would be Alt-F then Alt-E to Close All. Two keys pressed. When the File menu is displayed, the Alt-F should be discarded and the process should wait for the Alt-E.
If the Alt-E is pressed first, the Edit menu is displayed and the Alt-E is discarded and the process will wait for the next keypress.

Comment out the line in the code where the Open item is being disabled, and un-comment the line that displays the message about Alt-E, then run.
You will notice in the time from when the Alt-E is pressed and the message appears, that the Edit menu is displayed and dismissed. This indicates that the processing order is correct and the accellerator key needs to be discarded.
I've only been evaluating Prima for a week, but so far I like what I see.
Keep up the good work,
Thanks,
Fred
 


______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!

Received on Sun 25 Sep 2005 - 00:01:39 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET