| Summary: | Issue with editPart.setFocus(boolean) method? | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Madhu Samuel <madhusamuel> | ||||
| Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | ahunter.eclipse, christian.pontesegger, madhusamuel, nyssen | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | 3.6.1 (Helios SR1) | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Madhu Samuel
Can we get a more substantial example? Like the rest of the snippet? Created attachment 128363 [details]
Code snippet to reproduce the bug.
I will write the steps to reproduce as a comment.
(In reply to comment #1) > Can we get a more substantial example? Like the rest of the snippet? > Oops! I missed your reply! Somehow I did not get a mail when you commented on this bug. I am attaching a zip file. It contain a plugin which consists of the sample code. Steps to reproduce the bug. 1. Unzip and place the plugin "gef.example.helloworld3" to your plugins folder of your Eclipse 3.4 environment. 2. Execute your eclipse instance. 3. In the navigator view, create a file named "test.focus". This should open the editor which consists of three gef figures. 4. Now if you press ALT or TAB key, focus (dashed lines) is drawn over the rectangle figures. Execute the above steps in Eclipse 3.2 environment. In step 3 itself, you will be able to see the focus (dashed lines) over the rectangle figures. To see the source, open the class HelloEditPart. Go to the method createFigure(). You will be able to see the code 'this.setFocus(true)' which sets the focus over the rectangle figures. Even the work around I mentioned in the previous post is not functioning. Changing severity to Major. Using GEF 3.6 this is not reproducible under MacOSX. Using the snippet and performing the steps to reproduce I can observe that focus rectangles are correctly displayed around the three "Hello World" widgets after opening the editor. Can you please verify whether this is still an issue using GEF 3.6.1 on Windows XP? (In reply to comment #5) > Using GEF 3.6 this is not reproducible under MacOSX. Using the snippet and > performing the steps to reproduce I can observe that focus rectangles are > correctly displayed around the three "Hello World" widgets after opening the > editor. > > Can you please verify whether this is still an issue using GEF 3.6.1 on Windows > XP? Problem does not seem to be reproducible on Windows XP as well, so resolving as fixed in 3.6.1. |