Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370551 - SWT: Disabled long field is not read-only
Summary: SWT: Disabled long field is not read-only
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Claudio Guglielmo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 08:50 EST by Tobias Schlatter CLA
Modified: 2021-08-19 11:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Schlatter CLA 2012-02-03 08:50:44 EST
Build Identifier: M20110210-1200

When having a long field that is made disabled during initialization (e.g. setEnabledGranted(false) ), the field is shown as disabled (grey text), but still can be edited!

Reproducible: Always

Steps to Reproduce:
1. Create a form with a long field (extends AbstractLongField)
2. In execLoad() set all fields as read only: setEnabledGranted(false);
3. Start client, open form, enter number on read-only field.
Comment 1 Claudio Guglielmo CLA 2012-02-03 12:19:44 EST
Fixed for release 3.8.0
Comment 2 Tobias Schlatter CLA 2012-02-06 06:47:59 EST
Perfect, now its working again. Thanks a lot!
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:50:03 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)