Closed
Bug 1060230
Opened 10 years ago
Closed 10 years ago
CopyPaste Tip overlap with Date/Time Selector
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mnjul, Assigned: gduan)
References
Details
(Whiteboard: [p=2])
Attachments
(2 files)
STR: 1. With the new CopyPaste functionality, copy some text from a textfield. 2. Focus a date/time input field. For example, launch UI Tests app and go to Keyboard page -- there are a few date/time/datetime... inputs available. Actual Results: At step 2, the date/time selector shows up and also the "Paste" tip shows on top of the selector (see attached screenshot) Expected Results: At step 2, only the date/time selector shows up and not the "Paste" tip.
Assignee | ||
Comment 1•10 years ago
|
||
The root cause is, inputmethod-contextchange event is fired later than selectionchange, so the text_selection dialog is triggered to launched later than value_selector dialog.
Assignee | ||
Comment 2•10 years ago
|
||
Sorry, inputmethod-contextchange event is earlier, not later.
Assignee | ||
Comment 3•10 years ago
|
||
Hi Alive, I'd need your feedback on this patch. The pb is as you have suspected, input-contextchange is fired earlier than selectionchange, that's why text_selection dialog overlap on value_selector dialog. I think there's no direct event to hide text_selection dialog ? Please let me know if there's any better fix for it. Thanks.
Attachment #8482524 -
Flags: feedback?(alive)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gduan
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=2]
Assignee | ||
Updated•10 years ago
|
Blocks: CopyPasteLegacy
Updated•10 years ago
|
Priority: -- → P2
Comment 4•10 years ago
|
||
Comment on attachment 8482524 [details] [review] PR to master Please use shown/hidden event.
Attachment #8482524 -
Flags: feedback?(alive) → feedback+
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8482524 [details] [review] PR to master Hi Tim, Since inputmethod-contextchange is fired earlier than selectionchange, text_selection dialog should check if value_selector is already showed or not. I've addressed comment 4 and added test cases for it. could you help to review this patch? Thanks.
Attachment #8482524 -
Flags: review?(timdream)
Updated•10 years ago
|
Attachment #8482524 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Thanks, master: https://github.com/mozilla-b2g/gaia/commit/f1dfe20bfaee93e789c31f3604249fa24eb6f3fd
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•