Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Gallery] ESC key no longer closes WizardDialog when Gallery added
[Gallery] ESC key no longer closes WizardDialog when Gallery added [message #65323] Sat, 04 July 2009 15:49 Go to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 #65344 is a reply to message #65323] Sun, 05 July 2009 11:28 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 #65746 is a reply to message #65344] Thu, 16 July 2009 09:47 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 11:28 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 09:47 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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
Previous Topic:Nebula Grid in RCP application
Next Topic:CalendarCombo Date Format
Goto Forum:
  


Current Time: Sun Nov 03 12:24:59 GMT 2024

Powered by FUDForum. Page generated in 0.03295 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top