Bug #8261
REGRESSION: delete selection works incorrectly for a left-aligned decimal FILL-IN
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
History
#2 Updated by Vladimir Tsichevski 3 months ago
Versions: 7019b aka trunk 14978.
Scenario:
- Create left-aligned decimal
FILL-IN
with default decimal format:DEFINE VARIABLE k AS DECIMAL VIEW-AS FILL-IN. DEFINE FRAME fr3 WITH SIDE-LABELS. DISPLAY k WITH FRAME fr3 NO-LABEL. ENABLE ALL WITH FRAME fr3.
Or, make a right-aligned fill-in left-aligned by pressing?
(this is a FWD bug, shall be removed in the future). - Set the value to
2,345.67
(it must be shorter than is allowed by format) - Select
2
and pressDelete
. The digit is not removed. - Select
3
and pressDelete
. The digit2
is removed instead of3
. - Select all with
Ctrl-A
and pressDelete
. The result is different from the expected0.00
. - and so on...
For a right-aligned FILL-IN
selection is deleted with no issues.
This is kind of a regression of the 7019a
change.
#3 Updated by Vladimir Tsichevski 3 months ago
- Status changed from New to WIP
#4 Updated by Vladimir Tsichevski 3 months ago
- Status changed from WIP to Review
- % Done changed from 0 to 100
- Assignee set to Vladimir Tsichevski
The fix is ready in 7019c rev. 14979. Please, review.