After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144476 - Escape button doesn't work with javascript event ONKEYDOWN
Escape button doesn't work with javascript event ONKEYDOWN
Status: RESOLVED DUPLICATE of bug 113449
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
1.2.x
Other Linux
: Normal minor
: ---
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2004-06-16 15:53 UTC by Hakon
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test page (387 bytes, text/html)
2004-06-16 15:54 UTC, Hakon
Details

Description Hakon 2004-06-16 15:53:10 UTC
Epiphany, doesn't pass the Escape keyboard key with the javascript event
ONKEYDOWN. Most other keys work though.
I first thought this was a GNOME thing, that ESC was reserved. However I have
checked the keybindings for GNOME and Metacity and haven't found anything that
reserves ESC.
It's also noteworthy that ONKEYUP works, as you can see in the example after
having pressed '1'. The character code of the pressed key is supposed to display
as "document title".
Comment 1 Hakon 2004-06-16 15:54:30 UTC
Created attachment 28768 [details]
Test page

Here's the example. I also forgot to mention I tested with the Mozilla browser
and there wawsn't this problem.
Comment 2 Christian Persch 2004-06-16 17:11:44 UTC
Esc is bound to View->Stop, maybe that's what's swallwing the keypress? (If so,
that's the same problem as in bug 108094 and bug 113449, i.e. that accelerators
have precedence).
Comment 3 Marco Pesenti Gritti 2004-06-16 17:57:20 UTC

*** This bug has been marked as a duplicate of 113449 ***
Comment 4 Hakon 2004-06-16 17:59:43 UTC
You're right. I missed that.
It's a little funny though, that it works with ONKEYUP but not ONKEYDOWN.