commit | b36bf02b6c5a548c8a88e8abde912f44f3fee4f1 | [log] [tgz] |
---|---|---|
author | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Tue Apr 07 18:15:17 2020 +0200 |
committer | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Wed Apr 08 11:49:39 2020 +0200 |
tree | 461abaee8a2d4556d4c6255b097e4417152b4024 | |
parent | 028d4483be0dc4f9a50e9a377b19b33a3f56fd86 [diff] |
Layout: improve layout caching and remove unnecessary layout calls If setSize is used with fractional values, the wrong size is cached (without fractional values) so that the component will always be invalidated and the layout done even if it would not be necessary. Fixed by using the exact size when caching. Also removed some unnecessary validateLayoutTree calls, the desktop bench itself does it already, no need for the bench column to do it as well. The unnecessary layout invocations can even lead to exceptions in the tree. Example: first node is selected, outline is scrolled so that the first node is detached, outline is reloaded -> outline content will be removed, invalidateLayoutTree called from the bench but still the outline layout executed due to the not working cache. TreeLayout calls renderViewPort which throws an exception because deleting nodes is still in progress. 265861 Change-Id: I5ba24ce4efc73d946392b227f752a05c8ff339f9 Reviewed-on: https://git.eclipse.org/r/160604 Tested-by: CI Bot Reviewed-by: Andre Wegmueller <awe@bsiag.com>
[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.
This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.
The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.
The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.
We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.
The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).
External tools like the GitHub tracker and pull requests are not supported.
To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org
[Eclipse Public License (EPL) v1.0] 9