Closed Bug 786549 Opened 12 years ago Closed 12 years ago

Cannot input Minus Symbol "-" in some boxes based on Flash

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(firefox16-, firefox17-, firefox18-)

RESOLVED INCOMPLETE
Tracking Status
firefox16 - ---
firefox17 - ---
firefox18 - ---

People

(Reporter: lenppqq, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0 Build ID: 20120824154833 Steps to reproduce: I was on webassign.net. This site is for home assignments and it contains some input boxes based on Flash. I attempted to input some equations into them. Actual results: When I was inputing the Minus Symbol "-", it did not appear in the box. There was no problems with inputing +,^,* or other symbols. By the way, this Flash-based box will transform ^ and * and so on into naturally hand-writing style. There was no problems when I was using FF14. Expected results: There should have been a "-" in the box when I press "-".
Steps to reproduce: 1. Open https://www.webassign.net/how_it_works/ 2. Click "Preview: Example Accounts" st the right side of page 3. Click "Faculty View:" 4. Click "view" of "Getting Started with WebAssign" in table list 5. Scroll to "5. - 0/1 points" 6. Click input area and try to keyin "-" Acrual results: Nothing happens Expected results: "-" should appears in the box Regression window(m-i) Good: http://hg.mozilla.org/mozilla-central/rev/f2b2b99108a2 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517030029 Bad: http://hg.mozilla.org/mozilla-central/rev/895e12563245 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517110214 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f2b2b99108a2&tochange=895e12563245 Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/2c3647738e81 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120516230826 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/12f13acb5ea8 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517005526 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2c3647738e81&tochange=12f13acb5ea8 Suspected : Bug 630810
Blocks: 630810
Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Win32
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
I think that this is the web site's bug. I guess that the site filters key events by using keydown event and its keycode. It's wrong approach. Instead of that, keypress event and its charcode should be used. The older firefox used DOM_VK_SUBTRACT for '-' key but starting Fx15, we're using new keycode DOM_VK_HYPHEN_MINUS for the way to distinguish it from numpad's '-' key. Anyway, keydown/keyup events shouldn't used for handling text input because they are physical key state events. If this guess is correct, this should be marked as INVA.
Given Masayuki's comment 2, sending over to TE.
Assignee: nobody → english-us
Component: Widget: Win32 → English US
Product: Core → Tech Evangelism
Version: 15 Branch → unspecified
And unless somebody here is going to contact the website, there's no point in leaving this bug open.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.