[Webkit-unassigned] [Bug 73821] keyboard event doesn't fire while moving mouse with button pressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 5 04:28:00 PST 2011


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





--- Comment #1 from Rakesh <rakesh.kn at motorola.com>  2011-12-05 04:28:01 PST ---
This issue looks like hapening due to PAN scrolling.
After debugging I found it is returning from this code in EventHandler::keyEvent:

#if ENABLE(PAN_SCROLLING)
    if (Page* page = m_frame->page()) {
        if (page->mainFrame()->eventHandler()->m_panScrollInProgress || m_autoscrollInProgress) {
            // If a key is pressed while the autoscroll/panScroll is in progress then we want to stop
            if (initialKeyEvent.type() == PlatformKeyboardEvent::KeyDown || initialKeyEvent.type() == PlatformKeyboardEvent::RawKeyDown)
                stopAutoscrollTimer();

            // If we were in autoscroll/panscroll mode, we swallow the key event
            return true;
        }
    }
#endif

This check should only be for pan scrolling?

This I think some inputs can be taken from https://bugs.webkit.org/show_bug.cgi?id=28005

-- 
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