| Summary: | [Commands] Loosing current selection of view after perspective switch | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Heiko Techteam <techteam> | ||||||||
| Component: | UI | Assignee: | Prakash Rangaraj <prakash> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | Prakash Rangaraj <prakash> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | pwebster, sanath.kv, tom.schindl | ||||||||
| Version: | 3.6.1 | ||||||||||
| Target Milestone: | 3.7 M5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Heiko Techteam
Are you sure that the view providing the selection is the one with the focus after you've switched the perspective? Yes I do, I test it inside the Handler : System.out.println(HandlerUtil.getVariable(event, "activeWorkbenchWindow.activePerspective") + " / "+ HandlerUtil.getActivePartId(event) + " / " + HandlerUtil.getCurrentSelection(event)); I get zzz.test.selection.perspective / zzz.test.selection.view / [One] -> switching perspective -> zzz.test.selection.perspective2 / zzz.test.selection.view / null Created attachment 186931 [details]
Project to test
Created attachment 186932 [details]
Patch v01
Created attachment 186970 [details]
Patch v02
Patch v01 + test
Patch v02 released to HEAD Verified in I20110124-1800 Could anyone direct me to download the version of the build where this bug is fixed. I tried in eclipse 3.8M6, but this issue can be recreated. |