Project

General

Profile

Bug #11192

Numeric FILL-IN: Caret position is not adjusted when value sign changes

Added by Vladimir Tsichevski 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
16409
version_resolved:
reviewer:
production:
No
env_name:
topics:

Related issues

Copied from User Interface - Bug #10692: Numeric FILL-IN: Problems with formats using debit/credit sign placeholders WIP

History

#1 Updated by Vladimir Tsichevski 5 months ago

  • Copied from Bug #10692: Numeric FILL-IN: Problems with formats using debit/credit sign placeholders added

#2 Updated by Vladimir Tsichevski 5 months ago

Steps to reproduce

  1. Run any example containing a numeric FILL-IN with a signed format (sign placeholder can be any: +, -, CR/DB/DR, parentheses).
  2. Insert any valid value.
  3. Change the sign by pressing + or - key.

Observed behavior

  • In OE: caret position is automatically adjusted after sign change (e.g. moves left if minus sign is removed, or stays valid).
  • In FWD: caret position is never adjusted - it remains at the previous absolute position, even if the new value makes that position invalid (e.g. caret ends up one or more characters right from the last digit).

This issue was first spotted for CR/DB/DR sign specifiers in #10692-12.

Also available in: Atom PDF