Closed Bug 836023 Opened 11 years ago Closed 11 years ago

Click events on desktop homescreen are ignored

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(b2g18+ fixed, b2g18-v1.0.1 fixed)

RESOLVED FIXED
Tracking Status
b2g18 + fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: jedp, Assigned: crdlc)

References

Details

(Keywords: regression)

Attachments

(1 file)

When using b2g-18 with gaia v1-train on desktop, click events on the homescreen are ignored.  I can click through the first-time-experience pages, but on the homescreen, clicking browser, contacts, etc., does nothing.

Git bisect seems to indicate that the problem began with this commit:
https://github.com/mozilla-b2g/gaia/commit/8d780363

I filed this issue for gaia:
https://github.com/mozilla-b2g/gaia/issues/7854
We are using touch events in the homescreen right now. Should we support mouse and touch events at the same time in code? should the emulator support touch events?
Flags: needinfo?(francisco.jordano)
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
Hi all,

Unfortunately I don't think the emulator is going to support touch events soon.

The change that Cristian introduced was needed for the new developer phones, so I'll suggest we introduce the changes needed to support both, the phones with touch events and emulator with the mouse events.

Cheers!
F.
Flags: needinfo?(francisco.jordano)
Attached file Fixed hs on emulator
Attachment #708118 - Flags: review?(francisco.jordano)
asking for tracking-b2g18 due to homescreen broken on b2g desktop emulator
tracking-b2g18: --- → ?
Comment on attachment 708118 [details]
Fixed hs on emulator

Tried in both the emulator and the phone and works perfectly.

Thanks Cristian
Attachment #708118 - Flags: review?(francisco.jordano) → review+
Comment on attachment 708118 [details]
Fixed hs on emulator

NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 831656
User impact if declined: homescreen doesn't work in b2g-desktop
Testing completed: yes
Risk to taking this patch (and alternatives if risky): low
Attachment #708118 - Flags: approval-gaia-v1?(21)
Attachment #708118 - Flags: approval-gaia-v1?(21) → approval-gaia-v1+
https://github.com/mozilla-b2g/gaia/commit/3b48c3b5139f304355187f7750ba779a358c28a9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
The patch for this bug does not apply cleanly to v1-train.  Could you please
land this patch there?

git checkout v1-train
git cherry-pick -m 1 3b48c3b

Doing this will cause the merge conflict.
I don't know how to do this because it is my first time. I create a new branch from v1-train, after that, git cherry-pick -m 1 3b48c3b, fixed the conflict and push to my repo. 

https://github.com/mozilla-b2g/gaia/pull/7923

ok?
This was uplifted to v1-train but was not marked as fixed for b2g18.
We need to back this patch out for causing bug 837931.

jhford, reverting a cherry-picked merge commit kinda gives me the willies.  Do you know the right way to back this out?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Flags: needinfo?(jhford)
Looks like bug 837601 has the fix for bug 837931.

Guys, we *absolutely* must test on device.  These kinds of regressions are killer :(.
Flags: needinfo?(jhford)
Depends on: 837601
I cannot reproduce, could we close this bug?
(In reply to crdlc from comment #15)
> I cannot reproduce, could we close this bug?

Thanks for your help, crdlc,

It was working well on desktop for me; I'll pull and build for unagi now just to double-check everything.

Chris, does everything seem ok to you?
Thanks,
j
Flags: needinfo?(jones.chris.g)
I haven't seen issues with touch events since the fix, if that's the question to me.
Flags: needinfo?(jones.chris.g)
It works for me on desktop. I'm having trouble flashing my phone with my latest build, but if you're all good with device, let's close this.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Batch edit: bugs fixed on b2g18 since 1/25 branch of v1.0 are fixed on v1.0.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: