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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lchang, Assigned: amirn)

Details

Attachments

(2 files)

Attached image Screenshot
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.
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]
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)
Hi Ran, It can not be reproduced on the browser and the other apps with placeholder like "contacts" and "messages".
Flags: needinfo?(ran)
(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]
(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.
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.
: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)
Flags: needinfo?(ran)
Assignee: nobody → amirn
Attachment #827636 - Flags: review?(ran)
Attachment #827636 - Flags: review?(evyatar)
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+
Amir, can you add the new l10n key to the other 3 languages as well?
Flags: needinfo?(amirn)
(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?
Tim, yes we would prefer a separate bug for the other issue you mentioned.
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+
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(amirn)
Resolution: --- → FIXED
(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!
Do we still need this resolved for 1.2 given pinyin was needed primarily for flatfish which is not a 1.2 target now ?
At the moment there's nothing that uses both simplified Chinese and e.me, so koi can probably live without it.
Flags: needinfo?(bhuang)
-'ing based on comment above.
blocking-b2g: koi? → -
blocking-b2g: - → 1.3?
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.

Attachment

General

Created:
Updated:
Size: