zoom issue [message #118088] |
Tue, 17 February 2004 11:26  |
Eclipse User |
|
|
|
I've encountered a problem with latest GEF - zoom combo is getting disabled
when I leave my editor and return back. It looks like problem is in
ZoomComboContributionItem - part listener is created only in constructor,
then it's removed in dispose(), which is called on my editor deactivation
and is never restored - only fill()/createControl() is called when I move
focus back into my editor. So, zoomMananger member of
ZoomComboContributionItem is always null and item is always disabled.
|
|
|
Re: zoom issue [message #118146 is a reply to message #118088] |
Tue, 17 February 2004 19:27  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Good job testing :-) It's a regression.
See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=50244
The problem still exists in M7, but it's harder to reproduce. Now you have
to switch to an editor of a different type, and then switch back to your
editor. It's important to test you application in the presence of other
applications. If we just tested the logic example by itself, we wouldn't
have seen this new form of the problem.
"Kirill Paliy" <kpaliy@aaanet.ru> wrote in message
news:c0tf6j$uve$1@eclipse.org...
> I've encountered a problem with latest GEF - zoom combo is getting
disabled
> when I leave my editor and return back. It looks like problem is in
> ZoomComboContributionItem - part listener is created only in constructor,
> then it's removed in dispose(), which is called on my editor deactivation
> and is never restored - only fill()/createControl() is called when I move
> focus back into my editor. So, zoomMananger member of
> ZoomComboContributionItem is always null and item is always disabled.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.38926 seconds