Bug 7430 - NumericUpDown control events are not firing consistently or correctly
Summary: NumericUpDown control events are not firing consistently or correctly
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 2.8.x
Hardware: PC Linux
: Lowest normal
Target Milestone: Community
Assignee: Bugzilla
Depends on:
Reported: 2012-09-24 18:14 UTC by FUSSWInfo
Modified: 2017-09-01 11:56 UTC (History)
1 user (show)

Tags: mono-community
Is this bug a regression?: ---
Last known good build:

Windows Form with NumericUpDown control (67.60 KB, application/x-zip-compressed)
2012-09-24 18:14 UTC, FUSSWInfo

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 7430 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description FUSSWInfo 2012-09-24 18:14:22 UTC
Created attachment 2609 [details]
Windows Form with NumericUpDown control

The events of the NumericUpDown control do not work the same way in Windows and Linux.  When running under Mono in Linux, the ValueChanged event behaves very inconsistently.  Entering a value in the text field and pressing Enter will always cause the event to fire.  Overtyping the value and then leaving the control will usually not raise the event, and I have not been able to determine why it sometimes does or does not.  In the example program, displaying the value with the Show Settings button will frequently display the previous value of the control. Clicking on the up and down arrows usually will raise the event, but is also not consistent in behavior. 

In my current working code, I have had to extend the NumericUpDown control and add code to OnTextBoxTextChanged to get the system to recognize and manage changes to the text value more consistently.   

Has this issue been fixed in version 2.10?  I am developing for a client's system, so an upgrade to the environment will need justification.