RESOLVED FIXED 137805
REGRESSION (r170808): Volume slider in built-in media controls only changes volume when thumb is released, not while dragging
https://bugs.webkit.org/show_bug.cgi?id=137805
Summary REGRESSION (r170808): Volume slider in built-in media controls only changes v...
mitz
Reported 2014-10-16 21:43:37 PDT
The volume slider in the built-in media controls doesn’t change the volume continuously as the thumb is being dragged. Instead, volume only changes when it’s released. To reproduce: navigate to the URL. When music starts playing, hover over the volume button in the media controls, then click and hold the thumb in the volume slider, and while still holding, drag it downwards. Notice that the volume doesn’t decrease. Release the thumb and notice that the volume drops. This is a regression, caused by <http://trac.webkit.org/r170808>, the fix for bug 134545.
Attachments
Patch (9.15 KB, patch)
2014-10-17 14:49 PDT, Jer Noble
mitz: review+
Patch for landing (7.29 KB, patch)
2014-10-20 08:35 PDT, Jer Noble
no flags
Jon Lee
Comment 1 2014-10-16 21:53:11 PDT
This affects scrubber behavior as well.
mitz
Comment 2 2014-10-16 22:05:07 PDT
pom
Comment 3 2014-10-17 03:16:39 PDT
This is *probably* caused by the volume slider relying on the incorrect behavior of the “change” event and should instead use the “input” event. I do not see a problem with the scrubber though (which was updated to use the “input” event.)
pom
Comment 4 2014-10-17 05:46:44 PDT
The problem is probably here: http://trac.webkit.org/browser/trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js#L388 The event name should be changed to “input” from “change” (see also line 337 where the timeline was updated correctly.)
Jer Noble
Comment 5 2014-10-17 14:49:16 PDT
*** Bug 137821 has been marked as a duplicate of this bug. ***
Jer Noble
Comment 6 2014-10-17 14:49:21 PDT
Jer Noble
Comment 7 2014-10-20 08:35:35 PDT
Created attachment 240125 [details] Patch for landing
Jer Noble
Comment 8 2014-10-21 09:28:34 PDT
Hunseop Jeong
Comment 9 2016-04-25 18:51:30 PDT
This bug also was seen on EFL port. Do I apply this patch to 'mediaControlsBase.js'? I made the bug : https://bugs.webkit.org/show_bug.cgi?id=156970.
Note You need to log in before you can comment on or make changes to this bug.