Closed
Bug 933592
Opened 11 years ago
Closed 11 years ago
The composition string is overlapped with the "I'm thinking of..." string in the search box of everything.me
Categories
(Firefox OS Graveyard :: Gaia::Everything.me, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lchang, Assigned: amirn)
Details
Attachments
(2 files)
gaia: 987e1035d32ded28c830ad5867e38d6ee15e107a
gecko: a4511eaf5fb2a6cabac9082485089a7a35eee03f
Please refer to the attachment for this bug.
You can try this issue by using pinyin IME since it is the only layout engine which uses new composition APIs so far. You may need using "GAIA_KEYBOARD_LAYOUTS=en,zh-Hans-Pinyin make reset-gaia" to enable pinyin IME after Bug 884752 is landed.
Comment 1•11 years ago
|
||
Evyatar, could you take a look?
Bruce, are we shipping any v1.2 build with both Pinyin IME and E.me enabled?
If not this bug is probably not koi+.
That said, I can say that bug is fairly trivial (maybe as simple change the event name from keypress to input), so if this is fixed we could a+ the patch.
Component: Gaia::Keyboard → Gaia::Everything.me
Flags: needinfo?(evyatar)
Flags: needinfo?(bhuang)
Whiteboard: [good first bug][mentor=evyatar]
Comment 2•11 years ago
|
||
The behind text comes from a standard placeholder attribute on the <input>. Not handling any events here.
Can you check if this can be reproduced on the browser as well?
Flags: needinfo?(evyatar)
Reporter | ||
Comment 3•11 years ago
|
||
Hi Ran, It can not be reproduced on the browser and the other apps with placeholder like "contacts" and "messages".
Flags: needinfo?(ran)
Comment 4•11 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #2)
> The behind text comes from a standard placeholder attribute on the <input>.
> Not handling any events here.
> Can you check if this can be reproduced on the browser as well?
Interesting .... if e.me is not at fault here we would have to kick this bug to the platform.
(In reply to Luke Chang [:lchang] from comment #3)
> Hi Ran, It can not be reproduced on the browser and the other apps with
> placeholder like "contacts" and "messages".
Would it be possible they are not using html5 placeholder?
Whiteboard: [good first bug][mentor=evyatar]
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #4)
> Would it be possible they are not using html5 placeholder?
I created a test app which contains only pure html5 placeholder and it works.
Comment 6•11 years ago
|
||
Hum, I see similar thing on when I working on my add-on in Firefox and I found that I did not send the composition with proper closure attribute.
Maybe we didn't do that properly in B2G either. If we didn't do anything fancy when we call inputContext.setComposition(), supposedly the closure attribute would be set here:
http://dxr.mozilla.org/mozilla-central/source/b2g/chrome/content/forms.js#l1115
Evidently the underline is being drawn. Need more investigation next week.
Another bug I found is that e.me did not start search as we type. I am confident this is a bug in e.me because you must have rely on some event to start searching :P We should file another bug after this one.
Comment 7•11 years ago
|
||
:masayuki is the person to needinfo once we could confirm we didn't misuse the |clauses| parameter of the API method.
(it's "clauses" not "closures" O_o)
Updated•11 years ago
|
Flags: needinfo?(ran)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → amirn
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #827636 -
Flags: review?(ran)
Attachment #827636 -
Flags: review?(evyatar)
Comment 9•11 years ago
|
||
Comment on attachment 827636 [details]
redirect to PR 13398.html
r+ for the PR, not sure if we need to ni? the l10n guys for this.
Attachment #827636 -
Flags: review?(evyatar) → review+
Comment 10•11 years ago
|
||
Amir, can you add the new l10n key to the other 3 languages as well?
Flags: needinfo?(amirn)
Comment 11•11 years ago
|
||
(In reply to Evyatar 'Tron' Amitay (everything.me) from comment #9)
> Comment on attachment 827636 [details]
> redirect to PR 13398.html
>
> r+ for the PR, not sure if we need to ni? the l10n guys for this.
So we indeed need to remove the <span> and use placeholder instead ...
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #6)
> Another bug I found is that e.me did not start search as we type. I am
> confident this is a bug in e.me because you must have rely on some event to
> start searching :P We should file another bug after this one.
Do you want to fix this behavior in the same bug or should I file another one?
Comment 12•11 years ago
|
||
Tim, yes we would prefer a separate bug for the other issue you mentioned.
Comment 13•11 years ago
|
||
Comment on attachment 827636 [details]
redirect to PR 13398.html
Ok so the other l10n files aren't necessary. You may proceed!
Attachment #827636 -
Flags: review?(ran) → review+
Assignee | ||
Comment 14•11 years ago
|
||
landed in master https://github.com/mozilla-b2g/gaia/commit/f4a2321cbd1ff2aaa9f66edccbbdbc5129a70b83
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(amirn)
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #12)
> Tim, yes we would prefer a separate bug for the other issue you mentioned.
bug 935845 filed. Thanks!
Comment 16•11 years ago
|
||
Do we still need this resolved for 1.2 given pinyin was needed primarily for flatfish which is not a 1.2 target now ?
Comment 17•11 years ago
|
||
At the moment there's nothing that uses both simplified Chinese and e.me, so koi can probably live without it.
Flags: needinfo?(bhuang)
Assignee | ||
Updated•11 years ago
|
blocking-b2g: - → 1.3?
Comment 19•11 years ago
|
||
Clearing nom - this is already part of 1.3, so this doesn't need to be triaged.
blocking-b2g: 1.3? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•