defaultHandled always set in framesets

John Sullivan sullivan at apple.com
Wed Oct 22 18:54:42 CEST 2003


We recently started respecting defaultHandled in 
NodeImpl::dispatchKeyEvent. This uncovered a problem where 
setDefaultHandled was called for every event on a frameset page, though 
only one type of event is actually handled. The simple fix is attached. 
We weren't sure whether there was some reason important to KDE for 
calling setDefaultHandled here even when the event is not handled, but 
we're guessing that it was just an oversight that had no consequences 
until we started respecting the value of defaultHandled elsewhere.

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frameset_event_handled.diff
Type: application/octet-stream
Size: 525 bytes
Desc: not available
Url : http://mail.kde.org/mailman/private/khtml-devel/attachments/20031022/699d9cda/frameset_event_handled.obj


More information about the Khtml-devel mailing list