Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354015 - Popup is shown on disabled SmartFields with error status
Summary: Popup is shown on disabled SmartFields with error status
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 11:14 EDT by Beat Schwarzentrub CLA
Modified: 2021-08-19 11:25 EDT (History)
1 user (show)

See Also:


Attachments
06-DisabledSmartFieldWithError.png (4.48 KB, image/png)
2011-08-05 11:14 EDT, Beat Schwarzentrub CLA
no flags Details
06-DisabledSmartFieldWithError-Example.java (769 bytes, application/octet-stream)
2011-08-05 11:14 EDT, Beat Schwarzentrub CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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