Closed
Bug 883250
Opened 13 years ago
Closed 13 years ago
typing a space fast and repetively adds periods instead
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)
VERIFIED
FIXED
| blocking-b2g | leo+ |
People
(Reporter: julienw, Assigned: djf)
References
Details
Attachments
(1 file)
STR:
* launch the SMS app
* start a new message
* write a word
* touch the space button several times quickly
Expected:
* several space characters are added
Actual:
* several period characters are added
qawanted to know if this happens on 1.1 too. Please try with and without word suggestions too.
Requesting blocking because I hit this a lot, so I expect users will too.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dflanagan
Comment 1•13 years ago
|
||
The issue reproduces on v1.1
- tapping space button several times inside of the message will add dots instead of the spaces
*reproduces with and without word suggestions
test device info:
Leo
Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/537f3eac4c48
Gaia ba4c3763514dbb9fd1dd886b4b6f3bff50bad264
Build 20130614070213
Version 18.0
Keywords: qawanted
Updated•13 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Comment 2•13 years ago
|
||
This issue is due to there was a user story saying that "if a user double space after a word or few words, it would put a period after the sentence". However, something broke in v1.1.0 so that it caused this problem that it will keep adding the dots.
REPRODUCIBLE:
It can be reproduce in pvt v1.1.0 build in unagi
Gaia: f2d6ed54a236e6e3b94f0abad9f0dacb8a1cc7b3
B-D 2013-06-15 07:33:44
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/15d9885034a0
BuildID 20130616070209
Version 18.0
NOT REPRODUCIBLE:
It won't reproduce in pvt v1.0.1 build in unagi
Gaia: b0e2d4a5b6e16a023ae331320578f5363b1425da
B-D 2013-06-13 18:53:16
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/4e98d1dcfa9e
BuildID 20130616230208
Version 18.0
It won't reproduce in pvt master build in unagi
Gaia: 141ed6da339f477523dcc932217fc0ba7a0ea68d
B-D 2013-06-15 01:39:53
Gecko: http://hg.mozilla.org/mozilla-central/rev/36da3cb92193
BuildID 20130616030713
Version 24.0a1
| Assignee | ||
Comment 3•13 years ago
|
||
Rudy,
This is a one-line patch.
Latin.js converts double space into period space and space punctionation into punctuation space. Previously I was doing this as long as the character before the (first) space was non-space. This patch changes it so that the punctuation is only performed if the character before the space is not space and is not punctuation.
Attachment #764013 -
Flags: review?(rlu)
Comment 4•13 years ago
|
||
Comment on attachment 764013 [details]
link to patch on github
lgtm, thanks.
Attachment #764013 -
Flags: review?(rlu) → review+
Comment 5•13 years ago
|
||
Comment on attachment 764013 [details]
link to patch on github
Sorry that I might find a regression when testing the patch for Bug 881239, so clear the flag first.
Attachment #764013 -
Flags: review+
| Assignee | ||
Comment 6•13 years ago
|
||
| Assignee | ||
Comment 7•13 years ago
|
||
Mid-air collision! Sorry Rudy. If you find a regression, feel free to back that commit out. I'll wait 'till you've finished both reviews before closing the bugs and requesting uplift.
Comment 8•13 years ago
|
||
Hi David,
It seems that this patch will cause an issue that, when you type "http:", it will be changed auto-corrected to "HTTP.", with a period at the end.
Could you please help double confirm if you will encounter this situation?
Thank you.
Comment 9•13 years ago
|
||
Comment on attachment 764013 [details]
link to patch on github
Ah, sorry that I made a stupid mistake.
It did not cause any regression. it was that the ":" symbol would be so close to the "P" char so it looked like ".".
r=me.
Thank you for your work.
Attachment #764013 -
Flags: review+
| Assignee | ||
Comment 10•13 years ago
|
||
Comment on attachment 764013 [details]
link to patch on github
I'm not sure that this bug needs to block, but the one-line patch is trivial and fixes very strange behavior when typing space rapidly. This fix goes nicely with 881239, which is leo+, and I'd like to uplift them both.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: incorrect auto-punctuation behavior, including the repeated periods when typing spaces repeatedly.
Testing completed: yes
Risk to taking this patch (and alternatives if risky): not risky. It is a one line patch that reduces the set of strings that trigger auto-punctuation.
String or UUID changes made by this patch:none
Attachment #764013 -
Flags: approval-mozilla-b2g18?
Comment 11•13 years ago
|
||
Triage - leo+'ing per comment 10 and also triage feels this symptom is not very user friendly
Thank you David.
blocking-b2g: leo? → leo+
| Assignee | ||
Comment 12•13 years ago
|
||
Oops, this has been fixed on master for a few days, but I never set the resolved/fixed flags.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 13•13 years ago
|
||
Uplifted to v1-train: https://github.com/mozilla-b2g/gaia/commit/f88249cc452c39abd0768ec65729939fb561eca2
status-b2g18:
--- → fixed
status-b2g-v1.1hd:
--- → affected
Comment 14•13 years ago
|
||
1.1hd: f88249cc452c39abd0768ec65729939fb561eca2
Updated•13 years ago
|
Attachment #764013 -
Flags: approval-mozilla-b2g18?
Comment 16•13 years ago
|
||
Hi, all,
Thanks for your help! ^^
I cannot reproduce this bug on the latest v1.1.0 hd build.
* Test Build:(Mozilla-b2g18_v1_1_0_hd-unagi/2013-07-01-07-02-15)
+ Mercurial-Information:
- Gecko: "f686f56c11d6"
- Gaia: ""
+ Git-Information:
- Gecko: ""
- Gaia: "c7472acec84f0d4527cdd6fd555d289e1d3e1d1d"
Status: RESOLVED → VERIFIED
Comment 17•13 years ago
|
||
Varified fix on leo 1.1 Mozilla RIL
Environmental Variables
Build ID: 20130716070204
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/629020cf576b
Gaia: fb9362d34260771d4a00b9a0e10a6bbad397bd3b
Platform Version: 18.1
RIL Version: 01.01.00.019.138
The user can only see a single period after tabbing space couple to times.
You need to log in
before you can comment on or make changes to this bug.
Description
•