|
|
Re: Tabitem dispose in Linux - possible bug [message #1715329 is a reply to message #1715170] |
Sun, 22 November 2015 05:53   |
Eclipse User |
|
|
|
Il 19/11/2015 19:58, Massimo Rabbi ha scritto:
> It appears that there has been a change in SWT (maybe?) in the last
> Eclipse versions: not sure starting from which version. The problem
> appears in Linux platform. It seems that when you dispose the
> TabItem, also the associated control is disposed. I verified this
> issue in our RCP product that is now based on Eclipse 4.5.1 platform
> while testing on Ubuntu 14.04. We never had such issue with the
> previous product versions based on Eclipse 3.8.2. Moreover the
> expected behavior is still the same in Windows and Mac OS X
> platforms.
Look at the source code, there is an explanation for the new behaviour,
and it is related to GTK3 only. You can try to run your product with
GTK2 by setting the environment variable SWT_GTK3=0, this should fix
your problem. CTabFolder/CTabItem doesn't seems to have this issue,
maybe you can use that instead of the native control if you can't run
with GTK2.
> Am i getting this wrong, or as I think it's a real bug that should
> reported to Bugzilla. I think it's quite severe too.
I agree, this is an inconsistency that should be fixed.
Bye,
Marco.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04104 seconds