Open
Bug 195560
Opened 21 years ago
Updated 2 years ago
Support Home button on Internet keyboards
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement)
Tracking
()
NEW
People
(Reporter: deanis74, Unassigned)
Details
A continuation of bug 30431, we can now easily add support for the Home button. Unfortunately there's no interface I can find to tell the browser to load the home page, as GlobalWindowImpl::Home is not exposed. The easiest thing for me to do is just copy the code out of there into nsEventStateManager::PostHandleEvent. Any objections to that? It's only 15 or 20 lines of code.
Comment 1•21 years ago
|
||
I suspect there are objections to adding 20 lines of code to support the Home button on internet keyboards. We've been fighting bloat for a while, battling over each additional unnecessary line of code during code reviews. Isn't there a better way than copy/paste?
Comment 2•21 years ago
|
||
hear hear, good spot aaron. Here's a perfect opportunity to consolidate some code. Are there other places that these same lines have been copy/pasted, that we could also consolidate?
We do something similar in at least navigator.js. http://lxr.mozilla.org/mozilla/source/xpfe/browser/resources/content/navigator.js#771 I wonder if the nsGlobalWindowImpl::Home code is even used, as it doesn't support a home page group. http://lxr.mozilla.org/mozilla/source/dom/src/base/nsGlobalWindow.cpp#2437
Updated•21 years ago
|
Summary: Support Home button on internet keyboards → Support Home button on Internet keyboards
Assignee: dean_tessman → aaronleventhal
QA Contact: bugzilla
Comment 4•18 years ago
|
||
This is (hopefully) the last obstacle for ditching Internet Explorer. Has there been any progress lately???
Comment 6•15 years ago
|
||
This was fixed in FF 3.0
Updated•15 years ago
|
QA Contact: keyboard.navigation
Assignee | ||
Updated•5 years ago
|
Component: Keyboard: Navigation → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•