Closed Bug 1185032 Opened 10 years ago Closed 10 years ago

Close and Hide buttons sometimes close app in RunWhatsApp

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: fstruck, Unassigned)

Details

(Keywords: dogfood, Whiteboard: [bzlite])

Attachments

(4 files)

User-Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0 In a conversation, the Close button is supposed to close the conversation, but it sometimes closes the app. The Hide button is supposed to getyou back to the homescreen or the previous app. It sometimes closes the app.
Attached file dev-log-main.log
Attached file properties.log
Attached image screenshot.png
(In reply to fstruck@mozilla.com from comment #0) > User-Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0 > > In a conversation, the Close button is supposed to close the conversation, > but it sometimes closes the app. Hmm, that isn't supposed to happen. Have you noticed anything different about the times when this occurs? One possibility is that the touch event is somehow being dispatched twice, and the first one targets the Close button, while the second one targets the Hide button that reappears in the same place after the conversation closes. > The Hide button is supposed to getyou back to the homescreen or the previous > app. It sometimes closes the app. Hmm, the Hide button should always return you to the homescreen, and I think it does this by actually quitting the app. That's incongruous with its name, but I've been assuming that it's nevertheless by design, as this is how the app "hides" itself on the emulated device. Perhaps that's a faulty assumption, however. Marco: what does WhatsApp actually do when you tap the Hide button? Does it merely exit the foreground midlet, or does it exit both midlets?
1) Close conversation- It could be, it doesn't happen that often. 2) Hide- I'm certain that this didn't happen before, but it does seem like it happens every time now. It also used to be that it reopened in the background by itself when I closed it manually, or when I restarted the phone (Bug 1185040) and now it doesn't (and it doesn't receive messages, until I reopen it manually).
> Marco: what does WhatsApp actually do when you tap the Hide button? Does it merely exit the foreground midlet, or does it exit both midlets? On the Nokia Asha it only closes the foreground MIDlet, the background one is always running. The user doesn't know it though, so we're emulating the behavior of the Nokia Asha correctly from a user perspective.
I agree that this would be the desired behavior, but unfortunately, messages are not received unless I can see the app in Task Manager, which currently only happens after I open it manually (after restart, after pushing "Hide" or after closing it from the Task Manager)
(In reply to fstruck@mozilla.com from comment #8) > I agree that this would be the desired behavior, but unfortunately, messages > are not received unless I can see the app in Task Manager, which currently > only happens after I open it manually (after restart, after pushing "Hide" > or after closing it from the Task Manager) Are you referring to bug 1185040? Does the app start in the background automatically after you've started it once manually?
I was about to answer "no" yesterday, but I tested again and it did, on reboot too. I remembered that I deactivated the Home Gesture (it had been active for some time) to play with two homebar customizations. I activated Home Gesture again, and it didn't restart by itself again after reboot. I deactivated Home gesture and the homebar customizations. It still doesn't restart after reboot, but it does restart after closing. As of right now... It doesn't seem to receive messages after restarting automatically in the background though, until I bring it to the foreground. At one point, it restarted 5 instances of Whatsapp in Task Manager, I will open another bug for that if I manage to reproduce again. On this bug, it still closes the app when I close a conversation sometimes, not very frequently.
QA Whiteboard: [foxfood-triage]
Component: Gaia::Feedback → Gaia
As Bill Walker notes in bug 1177394, comment 24, he has directed his engineering team to stop work on RunWhatsApp in favor of our new focus on progressive web apps, so we won't have time to spend on this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: