Closed
Bug 982320
Opened 10 years ago
Closed 10 years ago
[B2G][Calendar]Tapping Month or Week view tab intermittently opens Add New Event screen when using Stylus rather than a person's finger
Categories
(Core :: DOM: Events, defect)
Tracking
()
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | unaffected |
b2g-v1.4 | --- | affected |
People
(Reporter: mclemmons, Unassigned)
References
()
Details
(Keywords: regression, Whiteboard: dogfood1.4 [p=2])
Initially, user taps Calendar App and either Week or Day view to exit the default Month view. In either Week or Day view, when user taps Month or Week at the bottom of the device screen using a stylus, the Add New Event page inadvertently and intermittently opens. This is problematic as some users may be uncomfortable, unwilling or incapable of using their fingers all the time on a mobile device. Furthermore, on the attached video, you can fast forward to various points (specifically the 56 second mark) and see successive instances where the Month tab is highlighted when selected with the stylus yet the Add New Event screen opens. Prerequisites: Have a tool such as a stylus with durable rubber tip that allows user input on mobile device. Repro Steps: 1) Updated Buri to BuildID: 20140310080111 2) Tap Calendar App and tap either Day or Week at bottom of device 3) Tap either Month or Week at bottom of device Actual: Intermittently, the Add New Event screen displays Expected: Either Month or Week view displays all the time Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140310080111 Gaia: 8c9191df3c107df4073f3ca63816a1d36c51af5d Gecko: 923f1411f42f Version: 30.0a1 Base image: v1.2-device.cfg Repro frequency: 25/100 – 25% Link to failed test case: https://moztrap.mozilla.org/manage/case/3590/ See attached: video clip http://youtu.be/aA-rUdvuIU4 Other information: Stylus used during this reported test http://www.amazon.com/Targus-Stylus-Generation-iPhone-AMM01US/dp/B003ZSHKIY
Reporter | ||
Comment 1•10 years ago
|
||
This issue does not reproduce on 1.3 Buri. Following the STR from Comment 0 and the selected tab view displays as expected each time after attempting 100 taps total of the three options. The same stylus used during testing in Comment 0 was used during testing for 1.3 Buri. Environmental Variables: Device: Buri 1.3 MOZ BuildID: 20140310004001 Gaia: 78c30d7ed6f6e30337d6c05453b867f5e97e42bc Gecko: 00f249d54bda Version: 28.0 Base image: v1.2-device.cfg
Reporter | ||
Updated•10 years ago
|
Keywords: regression,
regressionwindow-wanted
Comment 2•10 years ago
|
||
That's bizarre. I'm guessing this is a gecko bug. A window will confirm this.
blocking-b2g: --- → 1.4?
Updated•10 years ago
|
blocking-b2g: 1.4? → 1.4+
Hey Vivien? there was some way you were getting where the touch events were hitting in one of your builds. Would it be possible to have that happen in 1.4 as well? This might help with this bug.
Flags: needinfo?(21)
Reporter | ||
Updated•10 years ago
|
Whiteboard: dogfood1.4
Comment 4•10 years ago
|
||
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #3) > Hey Vivien? there was some way you were getting where the touch events were > hitting in one of your builds. Would it be possible to have that happen in > 1.4 as well? This might help with this bug. That's bizarre. mclemmons can you reproduce with APZC disabled ? I wonder if you are clicking outside the display port and then if we hit bug 973105 or something similar.
Flags: needinfo?(21) → needinfo?(mclemmons)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #4) > (In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from > comment #3) > > Hey Vivien? there was some way you were getting where the touch events were > > hitting in one of your builds. Would it be possible to have that happen in > > 1.4 as well? This might help with this bug. > > That's bizarre. > > mclemmons can you reproduce with APZC disabled ? I wonder if you are > clicking outside the display port and then if we hit bug 973105 or something > similar. I am able to reproduce the issue in Comment 0 with APZC disabled. The repro rate was nearly equally intermittent 2/10 (20%) following the same STR from Comment 0. Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140314040202 Gaia: ea9e23abea5933656555d849b922c8da7530c90b Gecko: fe40387eba1a Version: 30.0a1
Flags: needinfo?(mclemmons)
Updated•10 years ago
|
Assignee: nobody → evanxd
Updated•10 years ago
|
Target Milestone: --- → 1.4 S4 (28mar)
Updated•10 years ago
|
Assignee: evanxd → mmedeiros
Whiteboard: dogfood1.4 → dogfood1.4 [p=2]
Comment 6•10 years ago
|
||
I did some tests and it's really weird.. I was not able to reproduce it as often as the video unless I pressed it "hard", but every single time that it did happen the click event clientY was always smaller than 433 (usually between 408 and 422), and current view as the Day View, which would explain why the add event screen was showing up. I added the following code to the calendar app to debug the click events: ``` window.addEventListener('click', function(e) { dump( '\n[click] target: ' + tag(e.target) + ' | clientX: ' + e.clientX + ' | clientY: ' + e.clientY + ' | layerX: ' + e.layerX + ' | layerY: ' + e.layerY ); }); function tag(el) { var name = el.tagName.toLowerCase(); var id = el.id? '#'+ el.id : ''; var className = el.className ? '.' + el.className.split(/\s+/g).join('.') : ''; return '<'+ name + id + className + '>'; } ``` it's weird because the click is definitely happening on a area that should report clientY above 425.. any regression window?
Comment 7•10 years ago
|
||
Switching to QA Wanted - does this reproduce on 1.4 with tiling disabled?
Keywords: regressionwindow-wanted → qawanted
Comment 8•10 years ago
|
||
I did some investigation and I couldn't figure out why this happens.. for me it doesn't look like a calendar bug. The click event is reporting that click happened at wrong `clientY` (value is 30-40px smaller than expected); `event.target` points to element that is at the reported `clientY` - meaning that on the JS side all information tells us that user clicked an `.hour` element and not the "month" tab. Need help from other teams to identify the cause.
Assignee: mmedeiros → nobody
Comment 9•10 years ago
|
||
comment 8 potentially reads off as a DOM bug. Andrew - What do you think?
Flags: needinfo?(overholt)
Keywords: qawanted → regressionwindow-wanted
Updated•10 years ago
|
Component: Gaia::Calendar → DOM: Events
Product: Firefox OS → Core
Version: unspecified → 30 Branch
Comment 10•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #9) > comment 8 potentially reads off as a DOM bug. > > Andrew - What do you think? Oh and - if you can find out if bug 985218 is a dupe of this bug, then that would be helpful as well. I think it is, but I'd prefer if a dev can confirm this.
Comment 11•10 years ago
|
||
Could it be that we used to flush layout (or scroll position or some such) more often, so the click went to the expected place, but we have optimized out some flushes and the layout isn't quite what is expected when click is dispatched. Anyhow, regression range is needed here. (The regression can be in gaia or in gecko)
Comment 12•10 years ago
|
||
If this truly is a dupe, then this shouldn't be reproducing on the latest build right now, as the dupe's regressing patch was backed out. QA wanted to see if this still reproduces on the latest 1.4.
Keywords: regressionwindow-wanted → qawanted
Updated•10 years ago
|
Flags: needinfo?(overholt)
Comment 13•10 years ago
|
||
Unable to reproduce on latest 1.4 in 60+ tries using same model of stylus used in comment 0. Environmental Variables: Device: Buri v1.4 Mozilla RIL BuildID: 20140321000202 Gaia: b09bf796d82ca7aa00d141a0cb705ee9cabfab47 Gecko: 81bfa88dada6 Version: 30.0a2 Firmware Version: v1.2-device.cfg
Keywords: qawanted
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•