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

Bug 441045

Summary: Values are not selectable/shown on SmartField
Product: z_Archived Reporter: Dennis Geesen <develop>
Component: ScoutAssignee: Dennis Geesen <develop>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel.wiehl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Dennis Geesen CLA 2014-08-04 03:09:05 EDT
Using SWT on Mac OS X, there are different problems with SmartFields, which makes them unusable on Mac OS. There are following bugs:


1.) Click on the "magnifier"-button only works when the text-field has the focus (the caret is in the field) - so you have to click into the field first and the you may click on the "magnifier"-button and the value list is showed

2.) You have to click twice on a value on the list to choose the value - this only works when the text-field is empty

3.) When the text-field is not empty and you choose another value, the textfield does not take the new value. so, you can choose only once! You can delete the textfield by hand (using del from the keyboard) and you can choose a new value, but you're back at point 2.

4.) Already mentioned above: clicking down using the keyboard and then hint enter works

5.) sometimes the proposal-list is empty instead of showing the list of values. This occurs when the value in textfield is completely marked and I try to choose another value, this fails (see 3.) and I open the list again. 

Bug appears for Scout Luna (4.0) and 4.1 nightly (as of 08-01-14).
RCP Target Platform is 3.8.

On Windows everything is fine.

See also: https://www.eclipse.org/forums/index.php/t/655449/
Comment 1 Daniel Wiehl CLA 2014-10-21 09:26:36 EDT
Related bugzilla: bug 443555
Comment 2 Daniel Wiehl CLA 2014-10-21 09:28:35 EDT
*** Bug 443555 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Wiehl CLA 2014-10-21 09:43:24 EDT
Fixed the various problems when requesting the proposal popup and accepting proposals in form-fields as well as in cell-editors.

The main issue was that the popup dialog became the active shell and focus owner which triggered to many verify events. Furthermore, the event and focus handling of cell-editors that open a Shell was facilitated and improved to have the same behavior as in a smartfield cell editor.

--
>Pushed change to gerrit: https://git.eclipse.org/r/#/c/35219/
>Pushed to develop with commit  http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=3d623e62a694178cf6495de5303298c53e0b05eb
Comment 4 Daniel Wiehl CLA 2014-10-21 09:45:54 EDT
Changed status to RESOLVED | FIXED.
Comment 5 Daniel Wiehl CLA 2014-10-21 09:46:40 EDT
Could you verify please?
Comment 6 Matthias Zimmermann CLA 2015-07-06 08:02:27 EDT
Shipped with Scout Mars SR0