Summary: | double activation of href javascript when using the keyboard | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Luciano Montanaro <mikelima> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test case for the bug
possible fix Fix for the problem |
Description
Luciano Montanaro
2005-09-14 12:29:19 UTC
Created attachment 12565 [details]
Test case for the bug
This page shows the problem. Clicking the link increments the counter once,
while using the tab key and pressing enter makes the counter advance by two.
I tested the page on firefox also, and it behaves the same with the mouse or
with the keyboard.
Created attachment 12566 [details]
possible fix
This one-line patch cures the symptoms for me. I'm not sure it does not break
other things, however.
But the click() in the keypress case will eventually call submitURL() anyway.
Comment on attachment 12566 [details]
possible fix
Wrong patch.
I'll post a new one.
Created attachment 13057 [details]
Fix for the problem
This should be the correct one.
*** Bug has been marked as fixed ***. |