[Webkit-unassigned] [Bug 29389] [Qt] isAccepted() from mouse event handling has a strange behavior on buttons of google.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 17:51:22 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=29389





--- Comment #8 from Rafael Brandao <rafael.lobo at openbossa.org>  2011-04-07 17:51:21 PST ---
QWebPage::event returns true if it has any function that handles that kind of event, no matter if the event has been accepted or not by the event handler:

bool QWebPage::event(QEvent *ev)
{
    switch (ev->type()) {
    case QEvent::Timer:
        d->timerEvent(static_cast<QTimerEvent*>(ev));
        break;
<..>
    default:
        return QObject::event(ev);
    }

    return true;
}

So I suppose it won't propagate this event to the parents. How could this flag isAccepted() make any difference in this case? Another thing I would like to ask, if QWebPage handle the event and then mark it as ignored to allow any parents to keep track of that event as well, how bad this could be?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list