Closed Bug 1087197 Opened 11 years ago Closed 11 years ago

Weird behavior with using keys on the keyboard (like "W") in online games and feature "Search for text when I start typing"

Categories

(Firefox :: General, defect)

32 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: yajo.sk8, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140918134209 Steps to reproduce: Play a game in full screen, with mouse capture, from the Mozilla Humble Bundle. Actual results: When pressing "W" to move forward, Firefox started looking for "wwwwwwww[...]" because I have enabled the option "Look for text as I type" (Settings > Advanced > General > Accesibility). I had to disable that to play. Expected results: Firefox should be smart enough to disable that option while I'm playing. A good criteria would be disabling it if the web page asks for mouse capture.
Summary: Weird behavior with online games and function "look for text as I type" → Weird behavior with using keys on the keyboard (like "W") in online games and feature "look for text as I type"
Summary: Weird behavior with using keys on the keyboard (like "W") in online games and feature "look for text as I type" → Weird behavior with using keys on the keyboard (like "W") in online games and feature "Search for text when I start typing"
A similar bug in the past (with WebGL games), see bug 786300.
Component: Untriaged → DOM
Product: Firefox → Core
Not a DOM issue; this is a UI feature. That said, the web page in question is buggy: it should be doing preventDefault on those events if it wants to override their default actions.... The interaction will be broken not just with the search-for-text feature but also other shortcut situations.
Component: DOM → General
Product: Core → Firefox
(In reply to Boris Zbarsky [:bz] from comment #2) > Not a DOM issue; this is a UI feature. > > That said, the web page in question is buggy: it should be doing > preventDefault on those events if it wants to override their default > actions.... The interaction will be broken not just with the > search-for-text feature but also other shortcut situations. Quite. Marking as invalid because this is really a webpage bug. Please reopen if this still doesn't work if the webpage uses preventDefault.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.