Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 304356

Summary: Painting curves within AbstractCenterPart does not regard scroll offsets within diff and properties tabs
Product: [Modeling] EMFCompare Reporter: Alexander Nyßen <nyssen>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 301112    
Bug Blocks:    
Attachments:
Description Flags
Patch to solve update problems for painting curves. none

Description Alexander Nyßen CLA 2010-03-02 09:09:26 EST
Build Identifier: M20090917-0800

When vertical scrollbars are used in the diff and property tabs, painting curves is not performed correctly.

Reproducible: Always
Comment 1 Alexander Nyßen CLA 2010-03-02 09:12:50 EST
Created attachment 160618 [details]
Patch to solve update problems for painting curves.

Generalized header height within ModelContentMergeTabItem to vertical offset, as this can be used for both purposes. Changed computation of UI information within both tabs to calculate the offset (in case a table header and/or scrollbars are used) to calculate the respective vertical offset, used to draw the curve within AbstractCenterPart. 

Tested the patch under MacOSX and Windows (as under windows, there is some platform specific handling within AbstractCenterPart).
Comment 2 Alexander Nyßen CLA 2010-05-03 14:51:37 EDT
Resolved as part of #301112.
Comment 3 Laurent Goubet CLA 2011-08-18 04:07:17 EDT
Closing our "resolved" and "verified" bugs.