Community
Participate
Working Groups
I get the following behavior pretty consistently, but not completely consistently: 1. Edit extension entries in PDE editor, for example object contributions in o.e.u.popupMenus. 2. Save the changes. 3. The editor tree collapses, and I need to navigate back to where I was before. The reason that I thought this might be worth reporting now -- besides the minor annoyance factor -- is that it occurred to me that it might be related in some mysterious way to bug 331485.
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.