Community
Participate
Working Groups
build 2003-01-22, linux-gtk, ibm jre 1.3.1 When you select multiple java classes (I selected 15) in the packages view and open them, it is slow and there is lots of flicker on the screen. Note that my packages view is a fast view. (if it makes a difference) One other thing that I noticed was that the decorator for each file was cleared and then re-applied as that particular file was being opened.
Also note that immediately hitting shift-ctrl-f4 to close them all also forces the decorators to be re-drawn.
The OpenAction should open the files using a workbench runnable to batch the deltas. But repainting the decorator can't be avoided since opening a file replaces the compilation unit with its working copy in the tree.
Actually, these are two different issues: - the open action should open all editors inside a JavaCore.run(...) to batch the Java deltas send out. This would reduce flicker in the package explorer (working copy issue). Opened a separate PR for this (bug 31077) - there is also flickering in the editor area. Moving to platform to comment on this.
This is on the "hot list" of PRs to address for 2.1 based on input from the other teams.
JDT is not going to fix bug 31077 and I tried adding setRedraw(false) on the editor side but it felt worse. The user would wait a long time without seen any change an then a redraw would happen. It looked as Eclipse was frozen for a while. Maybe what we could do later (> 2.1) is some lazy opening.
Bug 31077 got addressed in JDT UI land. See bug for details.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.