Closed Bug 874973 Opened 11 years ago Closed 11 years ago

[MMS] Keyboard not triggered

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox22 wontfix, firefox23 wontfix, firefox24 fixed, b2g18+ fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed)

RESOLVED FIXED
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- fixed
b2g18 + fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: jugglinmike, Assigned: vingtetun)

Details

Attachments

(1 file)

When the Messaging application is first installed, if you navigate directly to an ongoing message thread and select the text entry field (all without selecting any other elements), the keyboard is not displayed.

Steps to reproduce:

- Open the Messaging application
- Re-install the application with `make install-gaia APP=sms`
- Open the Messaging application
- Select a message thread
- Select the text entry field

After the text entry field loses focus, subsequent attempts to enter text trigger the keyboard as expected. Neither forcing the application to close nor re-starting the device is sufficient to make the bug reproducible.

Notably, this bug is only reproducible directly after the Messaging application has been installed, and only when it is installed while the application is already running.

Because reproducing relies on such precise conditions, this bug should be considered low-priority.
Probably a keyboard bug.

Vivien, do you have a clue ?

IMHO the important information here is that the bug is triggered when we reinstall the app while it's running.
Component: Gaia::SMS → Gaia::Keyboard
Flags: needinfo?(21)
tracking? because it probably happens on v1.1.
tracking-b2g18: --- → ?
Attached patch PatchSplinter Review
Does it answer the needinfo? ;) Thanks for having opened the bug and thanks Julien for the time spent to show it to me IRL.
Assignee: nobody → 21
Attachment #753217 - Flags: review?(fabrice)
Flags: needinfo?(21)
Component: Gaia::Keyboard → General
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Comment on attachment 753217 [details] [diff] [review]
Patch

Review of attachment 753217 [details] [diff] [review]:
-----------------------------------------------------------------

::: b2g/components/Keyboard.jsm
@@ +49,4 @@
>  
> +    if (topic == 'oop-frameloader-crashed') {
> +      if (this.messageManager == mm) {
> +        // The application has been close unexpectingly. Let's tell the

nit: s/close/closed/
Attachment #753217 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/8e461d0d00c4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 753217 [details] [diff] [review]
Patch

NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): -
User impact if declined: The keyboard sometimes doesn't show whereas it should. This happens in rare occasions (when the app is killed, eg OOM killer or an update) but this is frustrating enough to warrant an uplift.
Testing completed: yes
Risk to taking this patch (and alternatives if risky): low, we add a new observer and we add the code for thie observer; the existing code is not changed.
String or UUID changes made by this patch: none
Attachment #753217 - Flags: approval-mozilla-b2g18?
Comment on attachment 753217 [details] [diff] [review]
Patch

Many aspects of LMK came later in v1.0.1 development, so we can consider this cleanup.
Attachment #753217 - Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: