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

Bug 581736

Summary: [Freeze] Rendering glitch on dynamic scaling
Product: [Technology] NatTable Reporter: Dirk Fauth <dirk.fauth>
Component: CoreAssignee: Dirk Fauth <dirk.fauth>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.5   
Target Milestone: 2.1.0   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/200951
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=fea1913a66ae416eda73b781bafc2000ff76037f
Whiteboard:

Description Dirk Fauth CLA 2023-03-29 03:44:16 EDT
If in frozen state dynamic scaling can cause a rendering glitch in some scenarios. For example if there are columns in the frozen region with a width that causes rounding issues (e.g. 83 downscaled) it happens that the non-frozen region is not rendered anymore.

It looks like the issue is the calculation of the minimum origin. The recalculation of the minimum origin is done based on the current value. But because of the rounding issues the resulting value is not the same as calculating it newly from the minimum origin column value that is stored.
Comment 1 Eclipse Genie CLA 2023-03-29 03:53:27 EDT
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/200951
Comment 3 Dirk Fauth CLA 2023-03-31 03:55:52 EDT
Fixed with 2.1.0