Closed Bug 84868 Opened 24 years ago Closed 23 years ago

Mozilla doesn't support "Internet" keyboards and mice

Categories

(Core :: DOM: Events, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 66519
mozilla1.1alpha

People

(Reporter: brian, Assigned: bnesse)

References

Details

Attachments

(1 file)

Mozilla doesn't respond to any of the "Internet" keys under X/gtk (or any other platform as far as I know). X has keysyms for these keys and Mozilla should respond to them. Mozilla also does not respond to the Back/Forward buttons on internet mice under X/gtk. X generated Button 6/7 events for these buttons and mozilla should respond to them.
The mouse part of this is bug 30431 - a "helpwanted" bug. Perhaps this is the help..resolving as new for now. Patch kw, CC hewitt.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch
--- ../mozilla/widget/public/nsGUIEvent.h Tue Apr 17 06:02:09 2001 +++ ./widget/public/nsGUIEvent.h Thu Jun 7 16:39:38 2001 @@ -408,21 +408,29 @@ changing constants is sometimes a bad idea. Sending to dom because the core of this is probably the dom changes. jcgriggs@sympatico.ca: it looks like you'll have to do a Qt version of this. maarten@belgonet.be: I'm assuming you're actively trying to resurect --motif in which case you'll probably want to make a motif version of this.
Assignee: alecf → joki
Component: Keyboard Navigation → DOM Events
QA Contact: sairuh → vladimire
I didn't really want to change the constants but there wasn't enought room to fit the additional constants in the "pattern" that was already there. I don't really know Qt or motif which is why I only did gtk+. I was hoping this could give someone a good start in supporting these buttons/keys on all platforms.
If everyone is using the constant macros as they should be, instead of the raw values, then there doesn't seem to be any danger of changing these values...Qt/etc can update to recognize these events at their own discretion.
Not that this may be helpful, but I'll write it anyway just to verify: the Logitech iTouch keyboard keys don't work in Mozilla under Windows XP (and most likely other ones). I worked around it by pointing to mozilla (using iTouch's Program links) and using a website as a command line parameter... but it opens a new window.
->bnesse to slam in the patch if it doesn't merge conflict too much. Also look at it on win32.
Assignee: joki → bnesse
Target Milestone: --- → mozilla0.9.9
What about adding support for the Sun/SPARC function keys, e.g. "Stop", "Copy", "Cut", "Paste", "Print", "Props"(=properties), "Front", "Open", "Find" ?
Copy/Cut/Paste are already supported....
What about the remaining ones ("Stop", "Print", "Props"(=properties), "Open", "Find") ? Each of them can easily be mapped to a Mozilla function, like: "Open" --> open new window/tab (same as middle-mouse button) "Print" --> same as "File/Print..." menu item "Props" --> uhm... view source - or prefs ?! "Find" --> start "Find" dialog
Let's have a separate bug on that... this patch has already been rotting for 7 months(!) now because no one seems to care to review it. Let's get it in if it works and is good. bnesse, are you actually going to deal with this anytime soon? Like the next week?
Blocks: 123569
Keywords: review
there are bugs for sparc keys, bug 36640 bug 48322 bug 103102
Fun. bug 48322 is rotting since two years... ;-(
Boris, As per commment 7, this was assigned to me to slam it into the tree if it didn't merge conflict too badly. At the time this patch had already been rotting for 5 months. After reviewing the patch and finding things like: + const unsigmed long DOM_VK_GOBACK = 0xA0; + const unsigmed long DOM_VK_FWD = 0xA1; + const unsigmed long DOM_VK_STOP = 0xA2; + const unsigmed long DOM_VK_REFRESH = 0xA3; + const unsigmed long DOM_VK_SEARCH = 0xA4; + const unsigmed long DOM_VK_FAV = 0xA5; I gathered that the patch probably hadn't even been compiled, much less tested. Also, going through the event code adding switch cases for MOUSE_SIX_XXX and MOUSE_SEVEN_XXX didn't appear to be a particularly graceful, or flexible, solution to this issue. Of course, I don't know enough about the event code to know if there is a better way to do it...
Target Milestone: mozilla0.9.9 → mozilla1.1
Comment on attachment 37770 [details] [diff] [review] Makes mozilla generate events for these keys. Patch against 0.9 bnesse, thanks. That would be a review. :)
Attachment #37770 - Flags: needs-work+
Hi I'm the guy that made the patch on 2001-06-08. Yes it compiled and yes it worked great. I'm sure it doesn't apply anymore. I don't use linux on my main desktop anymore (I use a G4 w/ OS X), so I havn't bothered maintaining it. I agree that it is probably not the cleanest way to do it, but it seemed to be the only way to do it at the time.
I just read "unsigmed long", thats what you mean. I think that may have been a file used to generate some of the header files or something. I really wasn't completelly sure what I was doing. Whatever the case, that file obviously wasn't being used because I know it compiled and worked.
This appears to be a duplicate of bug 66519.
duplicate *** This bug has been marked as a duplicate of 66519 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: