8tracks shows "Copy" button whenever play/next/pause is pressed
Bug #1279903 reported by
Chris Wayne
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Webapps-core project |
Fix Released
|
Undecided
|
Unassigned | ||
webbrowser-app |
Fix Released
|
Medium
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In 8tracks, when pressing play, a blue box is shown, with "Copy", as if it were long-pressed. This is a bad UX for demos
Related branches
lp:~osomon/webbrowser-app/blacklist-selection
- Alexandre Abreu (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 348 lines (+175/-160)1 file modifiedsrc/Ubuntu/Components/Extras/Browser/selection.js (+175/-160)
Changed in webapps-core: | |
status: | New → Confirmed |
Changed in webbrowser-app: | |
status: | New → Confirmed |
assignee: | nobody → Olivier Tilloy (osomon) |
To post a comment you must log in.
Investigating the issue, on the play screen, I’m seeing touchstart events, but no touchend events.
The mechanism that detects long presses uses a timeout of 800ms that’s fired on touchstart, and touchend interrupts it. If there are no touchend events, then every single touch is incorrectly detected as a long press.
Now I need to understand how 8tracks can possibly swallow the touchend events.