| Summary: | Missing setFocus call on tab selection | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Eric Moffatt <emoffatt> |
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, pwebster, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | 4.2 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 373814 | ||
|
Description
Eric Moffatt
We still need to have clicking on the tab area (but outside any tab) to end up calling 'setFocus'... Also, the context menu for the stack should be able to come up on a right click in the tab area as well. It should only show entries applicable with no specific tab required (i.e. 'Close All' but not 'Close Others'). Not sure if this is a separate issue or not, but if you have a maximized stack, then un-maximize (regular size?) it, the setFocus call doesn't happen. In 3.x this works. 1) Open problems view 2) Select something 3) Double click tab to maximize Result: View gets focus, pressing keys changes selection in view 4) Double click tab to return it to normal size Result: View does not have focus, tab does, pressing keys changing which tab is selected I opened a separate report (bug 373814) to deal with the focus when maximizing, etc. Fix is on GitHub https://github.com/mrennie/eclipse.platform.ui/commit/91e233be9121f1498824cf98000250ba83c13358 Paul, please review or pass on to Remy. The behaviour is now very similar to 3.8. If you click on the tab or in a dead area of the stack, setFocus is called on the current open tab. If you middle click on the tab it closes, if you middle click in dead space nothing happens. If you right click (or whatever your context menu option is) on the tab or in dead space the context menu with close/close all opens. Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b3ee11e1dfadc4a33909d9fdfd014958e6fcf452 PW Verified Version: 4.2.0 Build id: I20120313-0610 |