Bug #11192
Numeric FILL-IN: Caret position is not adjusted when value sign changes
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:
Related issues
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¶
- Run any example containing a numeric FILL-IN with a signed format (sign placeholder can be any: +, -, CR/DB/DR, parentheses).
- Insert any valid value.
- 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.