Project

General

Profile

Bug #10212

FILL-IN for DECIMAL Variable: Incorrect DELETE-CHARACTER Handling in ChUI Mode

Added by Vladimir Tsichevski about 1 year ago. Updated about 1 year ago.

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:

  1. Create a FILL-IN for a DECIMAL variable with the default DECIMAL format.
  2. Run the application in ChUI mode.
  3. Enter a value with fractional digits, e.g., 1,234.56.
  4. Position the caret on the last fractional digit (6) and press Delete.

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:

  1. In Insert mode, it behaves like the expected (correct) DELETE-CHARACTER.
  2. In Overwrite mode, it moves the caret left without altering the value.

Also available in: Atom PDF