patch: click event handling

Lars Knoll lars at trolltech.com
Wed Oct 29 11:57:47 CET 2003


On Wednesday 29 October 2003 09:37, David Faure wrote:
> On Wednesday 29 October 2003 09:06, Lars Knoll wrote:
> > On Wednesday 29 October 2003 07:49, David Faure wrote:
> > > On Tuesday 28 October 2003 23:25, Maciej Stachowiak wrote:
> > > > Here's a patch to make click handlers added w/ addEventListener work
> > > > right for form controls.
> > >
> > > Thanks, I'll have a look.
> >
> > This should mostly work already in HEAD, since we now send the mouse and
> > key events through the DOM for most form elements (not for <textarea>
> > though).
>
> Yup, exactly - it doesn't work for textarea. Works for the rest.

Reason is that textarea uses a widget that derives from QScrollView, where we 
(unfortunately) can't use the event filtering and painting hack I added in 
Novre Hrady. I'm still thinking on how to solve the whole problem.

Lars



More information about the Khtml-devel mailing list