View Issue Details

IDProjectCategoryView StatusLast Update
0006457JEDI VCL00 JVCL Componentspublic2015-12-12 13:24
ReporterjkelleyAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in VersionDaily / GIT 
Summary0006457: TJvSpinEdit handles minus sign incorrectly
DescriptionIf a TJvSpinEdit has a positive MinValue set, then pressing the minus sign causes the value to change to negative MinValue.

This is apparently a regression introduced by http://issuetracker.delphi-jedi.org/view.php?id=4572; in that bug, trying to type a negative number resulted in the number being temporarily "-0", so it was reset to 0. The fix involved explicitly tracking the minus sign outside of the current value, but that fix means that trying to type a negative value can result in the minus sign being applied to the (positive) minimum value.
Additional InformationTo demonstrate, run the sample project, set the cursor to the beginning of the spin edit, and press '-'. The minimum value should be 0.5, but the value shown is -0.5.
TagsNo tags attached.

Activities

2015-10-07 16:52

 

JvSpinEditBug.zip (79,233 bytes)

AHUser

2015-12-12 13:24

developer   ~0021255

Fix in master branch.

Issue History

Date Modified Username Field Change
2015-10-07 16:52 jkelley New Issue
2015-10-07 16:52 jkelley File Added: JvSpinEditBug.zip
2015-12-12 13:24 AHUser Note Added: 0021255
2015-12-12 13:24 AHUser Status new => resolved
2015-12-12 13:24 AHUser Fixed in Version => Daily / GIT
2015-12-12 13:24 AHUser Resolution open => fixed
2015-12-12 13:24 AHUser Assigned To => AHUser