Community
Participate
Working Groups
closing 1 of two java editors flashes the menu bar there's some optimization in that prevents the menu bar from flashing (that is, everytinh being deleted and recreated) when i open a second java editor but it still flashes whene i close an editor please put the same smartness: it can be computed which edioto will be visible after i close the current one - if it is the same editor (same kind), then do not recreate the whole menu bar from scratch
one more agrument: closing an editor is very much like switchig editors (and switching does not flash either)
The problem is in WorkbenchPage.closeEditor(...). I commented out the lines: // // Deactivate part. // if (partWasActive) // setActivePart(null); // if (lastActiveEditor == editor) { // actionSwitcher.updateTopEditor(null); // lastActiveEditor = null; // } They seem unnecessary. I will test it for a while before releasing it.
Released fix to the HEAD stream.
*** Bug 28119 has been marked as a duplicate of this bug. ***