Project

General

Profile

Bug #10889

Deleting at the end of a COMBO-BOX entry field containing any text with trailing spaces causes the application to crash

Added by Delia Mitric 8 months ago. Updated 8 months ago.

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

0%

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

Related issues

Related to User Interface - Bug #10801: COMBO-BOX issues New
Related to User Interface - Bug #10736: Deleting a character from the editable field of a COMBO-BOX generates VALUE-CHANGED several times Test

History

#1 Updated by Delia Mitric 8 months ago

A testcase:

DEF VAR cb1 AS CHARACTER
     VIEW-AS COMBO-BOX INNER-LINES 10
     LIST-ITEMS 
     "aaa", "bcb", "c" 
     SIMPLE
     SIZE 40 BY 5
     NO-UNDO.

DEFINE FRAME f
    cb1
    WITH 1 DOWN SIDE-LABELS.
ENABLE ALL WITH FRAME f. 

DEFINE VAR i AS INTEGER NO-UNDO INITIAL 0.

ON VALUE-CHANGED OF cb1 DO:
    i = i + 1.
    MESSAGE cb1:SCREEN-VALUE i.
END.

WAIT-FOR CLOSE OF CURRENT-WINDOW.

To reproduce the issue:
  • introduce a text with trailing spaces in the entry field
  • press DELETE

This issue seems to be introduced in trunk revision 16270.

#2 Updated by Delia Mitric 8 months ago

#3 Updated by Delia Mitric 8 months ago

  • Related to Bug #10736: Deleting a character from the editable field of a COMBO-BOX generates VALUE-CHANGED several times added

Also available in: Atom PDF