| Summary: | Context Help Editor Tree collapses on save | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Miles Parker <milesparker> | ||||
| Component: | UI | Assignee: | Michael Rennie <Michael_Rennie> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ankur_sharma, curtis.windatt.public, Michael_Rennie | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.8 M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 353760 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Miles Parker
I also see this behavior using the context help editor (on Linux and Windows 7). Steps: 1. add a new help context in the editor 2. add a new topic to the new context created in 1) 3. select the sub-topic 4. save Expected: nothing changes and the file is saved Happens: the selection is moved from the new sub-topic to the root of the tree and the tree flashes a few times. Created attachment 197523 [details]
fix for context help editor
Dug around in the code a bit and found there was a refresh method that was resetting the input to the tree and resetting the selection / expand level as well as firing a selection changed event for the root of the tree.
The patch removes the overridden method and the editor works as expected.
I'll have a look and see if the extension editor is doing something similar.
I can easily reproduce in the context help editor and Mike's patch fixes it. I have applied it to HEAD. I haven't seen this behaviour in the extension editor. Is it happening all the time for you? Are you working with an existing plugin.xml with a lot of content or can you reproduce with a very small test case? We haven't seen this problem in the plug-in editor since we fixed the corruption problem. I'm renaming this bug and marking it as fixed. If the original issue is still a problem in 3.7, please open a new bug. Reproducing the issue in a clean workspace would be very beneficial. Hi guys, I've just been waiting to see if I see it happening anywhere in 3.7 and it doesn't appear to be. Good deal. cheers, Miles Verified in I20110802-2000 However, Bug 353760 looks a regression to me. I also verified that the patch fixes the collapse problem. We will look at bug 353760 separately. |