Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 396722 - Swing -Given back focus state of Combobox is sometimes on wrong state
Summary: Swing -Given back focus state of Combobox is sometimes on wrong state
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: RC (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 blocker (vote)
Target Milestone: ---   Edit
Assignee: Marvin Mueller CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 394179
  Show dependency tree
 
Reported: 2012-12-17 04:14 EST by Marvin Mueller CLA
Modified: 2012-12-18 07:16 EST (History)
0 users

See Also:


Attachments
ComboBox check focus teststep fails. (19.80 MB, text/html)
2012-12-17 04:14 EST, Marvin Mueller CLA
no flags Details
Test results (788.03 KB, application/zip)
2012-12-18 07:16 EST, Oliver Goetz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Mueller CLA 2012-12-17 04:14:14 EST
Created attachment 224785 [details]
ComboBox check focus teststep fails.

Since the enhancement Bug 394179 there is an issue in our Swing nightly regression tests, that the ComboBox Focus state is wrong, even if you can see in the Screenshot, that the ComboBox has focus, Jubula gives back false.
Comment 1 Marvin Mueller CLA 2012-12-17 05:30:12 EST
Fixed with:
http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=5f46a2716151bec30d4e4d45a97a2baa23928c98

The issue was, that the check of the focus was only done on the component, but not on the editor in the ComboBox. So i added the check of the ComboBox editor to the focus check.
Comment 2 Oliver Goetz CLA 2012-12-18 07:16:11 EST
The mentioned TC ran successfully during this night´s test run. Closing this ticket.
Comment 3 Oliver Goetz CLA 2012-12-18 07:16:40 EST
Created attachment 224859 [details]
Test results