Community
Participate
Working Groups
Build 20011219 Sometimes when clicking on next diff, it scrolls when going into the details of the current diff. This is confusing, since the major change to the screen makes it look like a different diff. For example, I just made a change to org.eclipse.ui/messages.properties, where I changed BuildAction.operationMessage = Building: to BuildAction.operationMessage = On sync, it shows the change to the line at the top of the page. When I hit the down arrow, it scrolls this line to the middle of the page and selects just the change area. At first I thought this was another diff, not further details about the current one. This file was already showing a conflict due to a different change somebody else made. When I hit next, I thought that somebody else had made a change to an entry with the same name elsewhere in the file.
I traced this down to an empty clientArea reported from the StyledText widget in TextViewer.getVisibleLinesInViewport() called from TextViewer.internalRevealRange(). As a consequence getVisibleLinesInViewport() returns -1 which results in some bogus scrolling. I have no idea why this is happening, however I added a workaround in TextMergeViewer.reveal(MergeSourceViewer v, Position p) to detect this case and avoid any errornous vertical scrolling. Reassigned bug to Platform/UI/TextViewer.
More investigation post 2.0
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.