Summary: | [Editor Mgmt] Part events not fired if only one editor allowed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | John Arthorne <john.arthorne> | ||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | RESOLVED DUPLICATE | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P3 | CC: | daniel_megert, eduardo_pereira, erich_gamma | ||||
Version: | 2.0 | Keywords: | investigate | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
John Arthorne
2002-06-04 11:08:40 EDT
Created attachment 1223 [details]
Eclipse preference file with current pref settings
need to investigate This is a general workbench issue which bites all part listener users: part events are not fired when editors are internally reused (only the input is set). The optimization is OK but should send the correct events. Note: the same problem can also be reproduced in the Packages view: 1. Link Packages view selection to active editor 2. Repeat the described scenario ==> Packages view selection is out of synch Changing summary and providing a test case which does not use quick fix: 1. Set editors to 1 2. Check "Link Navigator selection to active editor" 3. From the Navigator open A.java 4. In A.java select B and press F3 ==> A.java remains selected in the Navigator Now set the number of editors to 2 and repeat the test ==> works, i.e. B.java is selected in the Navigator We don't have an event to describe a change to an editor's input. Using partActivated or partBroughtToTop, or any of the other current events, would be inaccurate. Defer to post 2.0. Reopened for investigation |