Wizard dialog resize weirdiness [message #498975] |
Thu, 19 November 2009 07:01  |
Eclipse User |
|
|
|
Hi.
I have a weird issue with a wizard that is using WizardSelectionPage as
the first page: when the user selects one of the available wizards,
click next button (the new wizard page is displayed correctly) then
resizes the dialog, the page is switched back to the first
WizardSelectionPage but the wizard still thinks that the page was not
switched (i.e. next button doesn't work because the new wizard isn't
completed).
It seems that the dialog doesn't know what is the topmost composite when
reisizing. I don't think it is an internal issue but I can't find any
reason of this behaviour.
Anyone has an idea or some suggestions on how to debug this issue ?
Regards,
Marco.
|
|
|
|
|
Re: Wizard dialog resize weirdiness [message #499163 is a reply to message #498975] |
Fri, 20 November 2009 03:29  |
Eclipse User |
|
|
|
On 19/11/2009 13:01 Marco Maccaferri ha scritto:
> I have a weird issue with a wizard that is using WizardSelectionPage as
> the first page: when the user selects one of the available wizards,
> click next button (the new wizard page is displayed correctly) then
> resizes the dialog, the page is switched back to the first
> WizardSelectionPage but the wizard still thinks that the page was not
> switched (i.e. next button doesn't work because the new wizard isn't
> completed).
I found the cause: the WizardSelectionPage was composed of a single
table so I used the table widget as the page control. Believe it or not
this caused the resize issues in Windows, I had to add a composite
container around the table and use that composite as the page control.
So today's lesson is: always use a composite to wrap controls, even if
you believe it is not necessary and is a waste of resources.
Regards,
Marco.
|
|
|
Powered by
FUDForum. Page generated in 0.66946 seconds