Bug #10212
FILL-IN for DECIMAL Variable: Incorrect DELETE-CHARACTER Handling in ChUI Mode
Status:
New
Priority:
Normal
Assignee:
Vladimir Tsichevski
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
16001
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#2 Updated by Vladimir Tsichevski about 1 year ago
Steps to Reproduce:
- Create a
FILL-INfor aDECIMALvariable with the default DECIMAL format. - Run the application in ChUI mode.
- Enter a value with fractional digits, e.g.,
1,234.56. - Position the caret on the last fractional digit (
6) and pressDelete.
Expected Behavior:
In ChUI mode, the result should be 1,234.45 (removing the digit at the caret position, all other digits moved right).
Actual Behavior:
The result is 1,234.50, matching GUI mode behavior.
Analysis:
- The deletion is handled by NumberFormat.NumberBuf.deleteCurrent(), shared by both GUI and ChUI modes, causing identical behavior.
- The cause of this issue is unidentified; it’s unclear if this is a regression.
- Note: BACKSPACE in ChUI works correctly:
- In
Insertmode, it behaves like the expected (correct)DELETE-CHARACTER. - In
Overwritemode, it moves the caret left without altering the value.