Last Comment Bug 799219 - timepicker reports incorrect value when changed by keyboard instead of mouse
: timepicker reports incorrect value when changed by keyboard instead of mouse
Status: UNCONFIRMED
:
Product: Core
Classification: Components
Component: XP Toolkit/Widgets: XUL (show other bugs)
: Trunk
: x86_64 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Neil Deakin
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-08 13:32 PDT by Jonathan Kamens
Modified: 2013-06-26 12:51 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Jonathan Kamens 2012-10-08 13:32:07 PDT
Create a timepicker with an onchange event handler associated with it. In the event handler, log the .value of the timepicker.

Change the value of the timepicker using the mouse. Note how .value is correct.

Now change the value of the timepicker by highlighting the hours field, typing a new value, and hitting tab. Note how the event handler is called, but the value that is reported is the old value, not the new one.

In short, when the value of a timepicker is changed with the keyboard, it reports its own value incorrectly.

This seems like a pretty darn big bug.
Comment 1 Jonathan Kamens 2012-10-08 13:56:01 PDT
This appears to have been discussed as an issue in need of a fix over two years ago:

https://groups.google.com/d/topic/mozilla.dev.tech.xul/lOvK6bAwVoI/discussion
Comment 2 Jonathan Kamens 2012-10-08 14:30:35 PDT
This problem applies to datepicker as well as timepicker.

Note You need to log in before you can comment on or make changes to this bug.