Closed
Bug 944681
Opened 11 years ago
Closed 11 years ago
Keyboard should not fire inputcontextchange on every mouseup event
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: janjongboom, Assigned: janjongboom)
References
Details
Attachments
(1 file)
911 bytes,
patch
|
xyuan
:
review+
|
Details | Diff | Splinter Review |
At the moment we fire Forms:Input event from forms.js on every mouseup. That is not correct as we have a separate event to update the selection range already.
Assignee | ||
Comment 1•11 years ago
|
||
Need to have this fixed for cursor positioning.
Assignee: nobody → janjongboom
Attachment #8340347 -
Flags: review?(xyuan)
Comment 2•11 years ago
|
||
Comment on attachment 8340347 [details] [diff] [review]
944681.patch
Review of attachment 8340347 [details] [diff] [review]:
-----------------------------------------------------------------
r=+ if someone can fix gaia keyboard bug after apply this gecko patch.
The gaia keyboard doesn't listen to the selection change or surroundingtextchange event. If gecko doesn't fire inputcontextchange event when user moves the cursor, the keyboard doesn't know the cursor position is changed and the auto-correction will be wrong.
Attachment #8340347 -
Flags: review?(xyuan) → review+
Assignee | ||
Comment 3•11 years ago
|
||
I'll write a patch.
Assignee | ||
Comment 4•11 years ago
|
||
I don't think this is correct, I checked with this patch and the autocorrect still works, because the gaia keyboard doesn't use any of the events at the moment but keeps state internally.
Rudy, can you confirm?
Flags: needinfo?(rlu)
Comment 5•11 years ago
|
||
Yes, I think right now the buit-in keyboard does not listen to selectionchange or surroundingtextchange and would keep the state internally.
Flags: needinfo?(rlu)
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/578b2f1504d8
Jan, the name on your patches still isn't importing into hg correctly.
Keywords: checkin-needed
Assignee | ||
Comment 7•11 years ago
|
||
Yeah, sorry, this was still an old style patch. Thanks for landing.
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: CopyPasteLegacy
You need to log in
before you can comment on or make changes to this bug.
Description
•