Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354015

Summary: Popup is shown on disabled SmartFields with error status
Product: z_Archived Reporter: Beat Schwarzentrub <bsh>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Andreas.Hoegger
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
06-DisabledSmartFieldWithError.png
none
06-DisabledSmartFieldWithError-Example.java none

Description Beat Schwarzentrub CLA 2011-08-05 11:14:32 EDT
Build Identifier: 3.7.0.2011-Jun 2011

PROBLEM DESCRIPTION:
Usually, when a SmartField is disabled, the user cannot change it's value. When the user clicks with the mouse inside the field, nothing happens.

However, when the SmartField has an error status != null, and the user clicks inside the field, the popup is shown! The user can even click on a value, and this value is set to the SmartField.

(I chose "Minor" as severity, as this not a very common case, but the problem should be fixed anyway.)

EVALUATION:
Concerns both Swing and SWT.

PROPOSED SOLUTION:
Do not show the SmartField popup, when the field is disabled.

Reproducible: Always
Comment 1 Beat Schwarzentrub CLA 2011-08-05 11:14:46 EDT
Created attachment 200994 [details]
06-DisabledSmartFieldWithError.png
Comment 2 Beat Schwarzentrub CLA 2011-08-05 11:14:57 EDT
Created attachment 200995 [details]
06-DisabledSmartFieldWithError-Example.java
Comment 3 Andreas Hoegger CLA 2015-04-13 10:26:52 EDT
Since long time ago.
Comment 4 Matthias Zimmermann CLA 2015-07-06 09:15:33 EDT
Shipped with Scout Kepler SR2 or an earlier Scout release