Updates:
        Status: Started

Comment #2 on issue 15531 by [email protected]: regression: shift-space  
doesn't scroll the page backwards
http://code.google.com/p/chromium/issues/detail?id=15531

Thank you for your bug reports.
Yes, this is caused by my change r19238 that doesn't set the modifier-key  
state when creating a Char
event in RenderWidgetHostViewGtkWidget::ForwardCharEvent(). Since r19238, a  
space-key event is sent to
RenderWidgetHostViewGtkWidget::InputMethodCommit(), which is a signal  
handler of the GtkIMContext
object. WebKit uses Char events for scrolling a page, so it mistreats a  
shift+space event as a space
event and it cannot scroll a page backwards.
Since this problem also affects onkeypress() events of JavaScript, I would  
like to attach a reduced
test case to this comment. To check if this issue is fixed, we press  
shift+space keys in the attached
page and observe its 'ev.shiftKey' value becomes true.
I'm going to send a change which fixes this issue.

Attachments:
        keyevent.html  515 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to