Closed Bug 1173586 Opened 9 years ago Closed 6 years ago

[Aries][Customizer] HTML Text in UI is affected by Overscroll bounce effects in certain apps

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: onelson, Unassigned)

References

()

Details

(Whiteboard: [3.0-Daily-Testing], [Spark])

Attachments

(1 file)

Summary (title) Field:

Description:
When the user is manipulating the HTML of certain apps with the Customizer, in certain apps they may observe that the text is affected by the 'bouncing' overscroll effects reserved for the app UI. This may be intended, but is demonstrated as being inconsistent, as observed certain apps produce this effect while most do not.
Confirmed reproducing:
* Gallery
* Camera
Confirmed not observed:
* Messages
* E-Mail
* Settings
* Homescreen
* Clock

Repro Steps:
1) Update a Aries to 20150610170534
2) Enable the Customizer
3) Open Customizer at homescreen via 2-finger swipe gesture
4) Observe no overscroll when sliding the HTML to borders of it's UI
5) Open the Camera app
6) Open Customizer in Camera via 2-finger swipe gesture
7) Observe overscroll when sliding the HTML to borders of it's UI

Actual:
HTML Text in Customizer displays overscroll bounce effects in certain apps

Expected:
HTML Text in Customizer is not affected by overscroll bounce effects


Environmental Variables:
----------------------------------------

Device: Aries 3.0
Build ID: 20150610170534
Gaia: e3eaf72ccd1bfe6d60d37efde6d3b92c1dbc5ff9
Gecko: 95afddf894e3
Gonk: 75c7e6ca80d0c7a53f346ecfcde2343be95808c9
Version: 41.0a1 (3.0)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
----------------------------------------

Repro frequency: 5/5 (depends on the app)
See attached: 
video
logcat
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
IMO, the Customizer *should* have overscroll effect always applied. However, as noted above, it does not behave this way in all apps. This has to do with some apps having an "overflow: hidden" CSS declaration on the <body>. If the app being customized has no overflow, then the overscroll effect will work in Customizer. Otherwise, for apps that scroll their entire <body>, the Customizer does not appear to get the overscroll effect inside its own container.
:kip, is there some scrolling limitation where only one area in the window can have the "overscroll" effect applied to it? That seems to be what's going on here.
Flags: needinfo?(kgilbert)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga)
(In reply to Justin D'Arcangelo [:justindarc] from comment #2)
> :kip, is there some scrolling limitation where only one area in the window
> can have the "overscroll" effect applied to it? That seems to be what's
> going on here.
IIRC, the overscroll is first passed up the handoff chain to until no frames can take the extra scroll.  The remaining, un-consumed scroll offset is passed to the overscroll effect.  It could be that the body of the app is consuming all of the excess scroll, leaving none to the overscroll effect.

Perhaps there is some way to break the handoff chain or otherwise affect its order to get the effect you want.
Flags: needinfo?(kgilbert)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 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: