[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] Re: [Gallery] ESC key no longer closes WizardDialog when Gallery added

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