Skip to main content



      Home
Home » Eclipse Projects » NatTable » SizeConfig doesd not invalidate cache when DPI converter is set
SizeConfig doesd not invalidate cache when DPI converter is set [message #1773754] Wed, 04 October 2017 03:37 Go to next message
Eclipse UserFriend
Hi,
I think that a call to org.eclipse.nebula.widgets.nattable.layer.SizeConfig.setDpiConverter(IDpiConverter) should invalidate the internal aggregate size cache by setting:

isAggregatedSizeCacheValid = false;


We experience layout problems in displays with high resolution. We found out that the reason is that some aggregated sizes are already calculated during initialization of the DataLayer (namely the secondlast column and the last column).
Then upon initialization of the NatTable in internal setLayer the ConfigureScalingCommand is performed which sets a DPI converter in the SizeConfig of the DataLayer. The cached data of SizeConfig is now invalid because it was calculated without the dpi converter whereas all further calls to getAggregateSize will respect the upscaling due to the dpi converter.
Layoutproblems occur if due to this upscaling the positions of other columns extend the cached position of the secondLast column.

Should I raise a ticket on this?

Regards,
Thorsten


Re: SizeConfig doesd not invalidate cache when DPI converter is set [message #1773756 is a reply to message #1773754] Wed, 04 October 2017 04:25 Go to previous messageGo to next message
Eclipse UserFriend
Yes please create a ticket.
Re: SizeConfig doesd not invalidate cache when DPI converter is set [message #1773762 is a reply to message #1773756] Wed, 04 October 2017 06:46 Go to previous message
Eclipse UserFriend
https://bugs.eclipse.org/bugs/show_bug.cgi?id=525551
Previous Topic:Add new row header
Next Topic:Same column having combo-box with two different list
Goto Forum:
  


Current Time: Sun Jul 06 06:53:10 EDT 2025

Powered by FUDForum. Page generated in 0.03226 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top