Community
Participate
Working Groups
Currently all widgets that need a GradientBackgroundListener are stored in a static map in GradientBackgroundListener. This has two major drawbacks: a) not really multi-user aware b) the map never releases any widget which can be quite memory-consuming. I think in the first place we should at least add a dispose listener to the widget to remove it from the map again when it is disposed.
Somewhat related to bug 278638 and bug 279349.
New Gerrit change created: https://git.eclipse.org/r/46983
Dirk, would you mind reviewing Robert's patch?
Moving to Platform UI since CSS graduated from e4. We could consider storing the handlers directly on the control's data and avoid the static map entirely.
Gerrit change https://git.eclipse.org/r/46983 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=80948a6f0db902be6fbffd9371a498d2918fb086
Thx Robert for the fix, and Lars for the quick review! Fixed for RC1.