This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11675 - Resistor plugin - led resistor calculator does not wait for keypress
Attached to Project:
Rockbox
Opened by Michael Chicoine (mc2739) - Thursday, 14 October 2010, 06:06 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Friday, 02 December 2011, 03:04 GMT+2
Opened by Michael Chicoine (mc2739) - Thursday, 14 October 2010, 06:06 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Friday, 02 December 2011, 03:04 GMT+2
|
Detailsr28278
Fails on device and sim (e200v1 and e200v2) 1. start the resistor plugin 2. select "LED resistor calculator" 3. select "2v (Common red, orange)" 4. select "20mA - Most common..." 5. use the virtual keyboard to input a supply voltage - I used "5" After leaving the virtual keyboard, a resistor image is drawn and plugin immediately returns to menu. At this point, the scrollwheel does not work until button is pressed. The button is ignored and the scrollwheel starts to work. This scrollwheel/button behavior has been previously documented in several other Flyspray tasks: FS#8816, |
This task depends upon
Closed by Boris Gjenero (dreamlayers)
Friday, 02 December 2011, 03:04 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r31107
Friday, 02 December 2011, 03:04 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r31107
Anyhow, I post here too the patch I posted there (since this is the "real" entry for this bug), it should fix the problem by waiting 200 msec (to let the user release the button) and flushing the input buffer before waiting for keypress to exit.
(Disclaimer: I don't know exactly how the RockBox input queue is designed, I'm just guessing :-) )
Your patch works fine for me on e200