Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347810 - SWT: Clearing smartfield value not possible
Summary: SWT: Clearing smartfield value not possible
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 382941
  Show dependency tree
 
Reported: 2011-05-31 10:59 EDT by Matthias Zimmermann CLA
Modified: 2021-08-19 11:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Zimmermann CLA 2011-05-31 10:59:18 EDT
When removing the display text of a smartfield the model does not get updated and still contains the display text. This happens only in SWT, in Swing it works well.

Steps to reproduce: 
1. Select the display text in a smartfield
2. Remove it (backspace or delete)
3. Leave the smartfield with the mouse (click in another field or click a button)
4. Read the smartfield value and notice that it is not null

The button PrintValuesButton on the SmartFieldTestform helps reproducing it.
Comment 1 Matthias Zimmermann CLA 2011-05-31 10:59:40 EDT
fixed on 5.5.2011, #101460
Comment 2 Matthias Zimmermann CLA 2011-06-28 09:17:54 EDT
shipped with eclipse scout 3.7.0