| Summary: | [jface] Clicking on file in single-click mode sometimes doesn't open file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | UI | Assignee: | Dani Megert <daniel_megert> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | markus.kell.r | ||||
| Version: | 3.0 | Flags: | markus.kell.r:
review+
|
||||
| Target Milestone: | 3.7 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 330341 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
The bug happens when using a combination of keyboard and mouse: Test Case: 0. set the preference to use single click to open files 1. expand a folder by pressing Numpad_Add 2. click on a file inside that folder ==> nothing happens Created attachment 180431 [details]
Fix
Markus, can you review since this is in a sensitive area? Thanks. > 1. expand a folder by pressing Numpad_Add Arrow_Right has the same effect (for people like me who don't have a numpad...) > ==> nothing happens Actually, it selects the item, but doesn't open the editor. Fix looks good and works fine. Thanks Markus! Fixed in HEAD. Available in builds >= N20101008-2000. Verified in I20101025-1800. The patch fixed the reported case but introduced another problem due to bug 330341. Broken Test Case: 1. set single-click mode 2. select a file (it opens - good) 3. hold down 'Ctrl' 4. select another file 5. release 'Ctrl' 6. click in the [+] of a project or folder ==> BUG: file from step 4 gets opened And here's test case that's broken in 3.6 and with this patch: 1. set single-click mode 2. select a file (it opens - good) 3. hold down 'Ctrl' 4. select another file 5. release 'Ctrl' 7. double click in the [+] of a project or folder ==> BUG: file from step 4 gets opened Released improved fix to HEAD (OpenStrategy.java rev. 1.21). Available in builds >= N20101116-2000. . Verified all mentioned test cases in I20101206-1800. |