|
|
Re: [Gallery] ESC key no longer closes WizardDialog when Gallery added [message #65746 is a reply to message #65344] |
Thu, 16 July 2009 05:47  |
Eclipse User |
|
|
|
Nicolas Richeton wrote:
> Hi Justin,
> This is strange. To cancel normal key handling, Gallery should set
> event.doit=false somewhere. Currently this is only done if you use the
> scrolling smoother and only for mouse wheel events.
> Please check you don't have the same problem with a Canvas instead of a
> Gallery. If the problem still occurs with Canvas, open a bug on SWT,
> else, open a bug on Gallery and attach a snippet showing the problem.
> Thanks,
Hi Nicolas,
Yes, I couldn't see anywhere in the source that's causing this, very odd.
Tried replacing the gallery with a blank canvas, and Esc is handled
correctly. I've changed my wizard, adding a ListViewer before the gallery
- this initially has focus & Esc is ok. However tabbing into the gallery
then stops Esc working...
My version of the source is a little old; will try this again once I've
refreshed.
Justin
|
|
|
Re: [Gallery] ESC key no longer closes WizardDialog when Gallery added [message #595534 is a reply to message #65323] |
Sun, 05 July 2009 07:28  |
Eclipse User |
|
|
|
Hi Justin,
This is strange. To cancel normal key handling, Gallery should set
event.doit=false somewhere. Currently this is only done if you use the
scrolling smoother and only for mouse wheel events.
Please check you don't have the same problem with a Canvas instead of a
Gallery. If the problem still occurs with Canvas, open a bug on SWT,
else, open a bug on Gallery and attach a snippet showing the problem.
Thanks,
--
Nicolas
Justin Dolezy a écrit :
> Hi,
>
> The Gallery seems to swallow/prevent normal ESC key handling when you
> add it to a Wizard Dialog. Is this a known thing? I can't see any bugs
> raised for this. Or maybe I've not spotted some setX() that's required?!
>
> Thanks,
> Justin
>
>
|
|
|
Re: [Gallery] ESC key no longer closes WizardDialog when Gallery added [message #595698 is a reply to message #65344] |
Thu, 16 July 2009 05:47  |
Eclipse User |
|
|
|
Nicolas Richeton wrote:
> Hi Justin,
> This is strange. To cancel normal key handling, Gallery should set
> event.doit=false somewhere. Currently this is only done if you use the
> scrolling smoother and only for mouse wheel events.
> Please check you don't have the same problem with a Canvas instead of a
> Gallery. If the problem still occurs with Canvas, open a bug on SWT,
> else, open a bug on Gallery and attach a snippet showing the problem.
> Thanks,
Hi Nicolas,
Yes, I couldn't see anywhere in the source that's causing this, very odd.
Tried replacing the gallery with a blank canvas, and Esc is handled
correctly. I've changed my wizard, adding a ListViewer before the gallery
- this initially has focus & Esc is ok. However tabbing into the gallery
then stops Esc working...
My version of the source is a little old; will try this again once I've
refreshed.
Justin
|
|
|
Powered by
FUDForum. Page generated in 0.03344 seconds