Closed Bug 870057 Opened 11 years ago Closed 11 years ago

[MMS][Composer] Input field in bottom bar is not working as expected.

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect, P1)

x86
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:leo+, b2g18 verified)

RESOLVED FIXED
1.1 CS (11may)
blocking-b2g leo+
Tracking Status
b2g18 --- verified

People

(Reporter: danheberden, Assigned: steveck)

References

Details

Attachments

(2 files, 2 obsolete files)

Implement (currently page 53 on v8 wireframes) styling of input box with dynamic height to allow user to drag down the message (hiding the keyboard) and allowing review of the previous parts of the conversation while composing. 

This should also fix any current CSS bugs/issues with the composition window, size, and reaction to variable length content and limits.
Depends on: 840069
Priority: -- → P1
Target Milestone: --- → 1.1 CS (11may)
Notes from #840069  

Composer input:
	+ Black & blinking text (Issue 1 attachment)
	+ 'setInputHeight' is not working as expected
	+ Layout is broken, and is breaking the App layout as well (not only the composer) (Issue 2 attachment)
- Composer, recipients container:
	+ Height has a 'pull-down' effect while typing. CSS is not working as expected. (Issue 3 attachment)
	+ Header is pushed up, so the layout of the app is broken
- Counter
The last part of the Counter note from bug 840069 was:

+ Counter style completely broken (Issue 4 attachment)
+ maxSegmentsInfo is not working at all (it was a Tef+
Blocks a blocker.
blocking-b2g: --- → leo+
Whiteboard: dev-branch
Whiteboard: dev-branch → dev-branch [NO_UPLIFT]
As here there are more a lot of different things to fix, Im gonna split this in several bugs for having small & surgical patches. Stay tuned!
Summary: [MMS][User Interface] Viewing existing thread whilst replying → [MMS][Composer] Input field in bottom bar is not working as expected.
Attached image Black text issue (obsolete) —
Attached image Layout broken (obsolete) —
Can you give steps to reproduce the black text issue. The layout issue seems to be a dup of https://bugzilla.mozilla.org/show_bug.cgi?id=870628
STR:
- Go to input field
- Type 'mmmmmmmmm'
- Tap on 'ENTER' until reaching the header
- One more 'ENTER' until getting overflow
You will see a weird blinking text as in the attachment.
Whiteboard: dev-branch [NO_UPLIFT] → [NO_UPLIFT]
Borja Salguero:

which version do you use?? 

I can't reproduce the "blinking text" in gaia-master.
Flags: needinfo?(fbsc)
Hi John,
We were using gaia-master with B2G18.
Flags: needinfo?(fbsc)
I can't reproduce it either with current gaia master (1a9c162)/gecko b2g18 (a79f866) on Nexus S, neither on Keon with the same gecko b2g18 and gaia v1-train (08074c4) or gaia master (6f1813f).

Do you still experience it ?
Flags: needinfo?(fbsc)
Borja can you provide exact hardware and software details? Nobody has been able to make this happen, but we really need to nail it down.
It was tested during the work-week in Portland. Currently the issue here is the input height, that is not working as expected. I'm gonna update with a snapshot.
Today's BUILD, Gaia master.
Flags: needinfo?(fbsc)
Attachment #747495 - Attachment is obsolete: true
Attachment #747496 - Attachment is obsolete: true
Comment on attachment 751010 [details]
setInputHeight is not working as expected

And what should be the expected behavior ?
It's not clear to me what the status of the "blinking text" issue is. Borja, could you clarify the status of the different issues in this bug, and/or create separate bugs so their statuses can be tracked independently.
Flags: needinfo?
Still hoping :borjasalguero or :danheberden can look at this and break this into separate bugs for each issue and clarify the status of the various sub-issues.
Flags: needinfo? → needinfo?(danheberden)
Hi Greg,
As I commented in https://bugzilla.mozilla.org/show_bug.cgi?id=870057#c13 the issue here is the 'setInputHeight' method. The height of the input should reach the bottom border of the recipients layer. This is the issue to fix in this bug.
Flags: needinfo?(danheberden)
Steve, is it something you can help here? Thanks.
Assignee: nobody → schung
:borjasalguero In that case, am I correct in assuming that every other problem mentioned in this bug is no longer an issue? Thanks in advance
(In reply to khu from comment #19)
> Steve, is it something you can help here? Thanks.

I can take this on, but I need some confirmation:

Hi Borja, based on your description and attached image, the main purpose in this bug is to adjust the input to fill up all the area under the recipients layer (like https://www.dropbox.com/sh/8jkb0osnvfda96e/TkcQuTbhHj#f:01.SMS.MMS_0008_Compose_textMMS_txt.png) instead of leaving the gray margin between the recipients and input?
Flags: needinfo?(fbsc)
Yep. It's like in the following image:
https://www.dropbox.com/sh/8jkb0osnvfda96e/TkcQuTbhHj#f:01.SMS.MMS_0006_Compose_Longmessage.png

Thanks Steve!
Flags: needinfo?(fbsc)
Attachment #752578 - Flags: review?(fbsc)
Depends on: 870739
Comment on attachment 752578 [details]
Patch for adjusting max input height

The code looks good for me. Im gonna request Ismael review due this code is tied to his patch! ;)
Attachment #752578 - Flags: review?(igonzaleznicolas)
Attachment #752578 - Flags: review?(igonzaleznicolas) → review+
Comment on attachment 752578 [details]
Patch for adjusting max input height

Thanks Steve!
Attachment #752578 - Flags: review?(fbsc) → review+
No longer depends on: 870739
Whiteboard: [NO_UPLIFT] → [NO_UPLIFT][uplift-blocker]
Land in master: 3b9de15f436e60d5b92837cba166d3484efff0ea
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [NO_UPLIFT][uplift-blocker]
Uplifted 3b9de15f436e60d5b92837cba166d3484efff0ea to:
v1-train: a9245c4de36f6d84ab860ea60b87470048bbbca7
Verified fixed on: 

Build ID: 20130806071254
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/a2a9b89ef5ee
Gaia: 4c1a20570e20f64782ba170c14604395c48f7381
Platform Version: 18.1

No blinking text appears in the attachment, functions as intended
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: