Bug 97192 - [GTK] no volume slider in HTML5 media element controls
Summary: [GTK] no volume slider in HTML5 media element controls
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Xabier Rodríguez Calvar
URL:
Keywords:
Depends on:
Blocks: 102776
  Show dependency treegraph
 
Reported: 2012-09-20 03:34 PDT by Philippe Normand
Modified: 2012-11-20 08:34 PST (History)
10 users (show)

See Also:


Attachments
Partially reverting r115829, new baseline and updated test expectations (39.81 KB, patch)
2012-11-19 09:53 PST, Xabier Rodríguez Calvar
pnormand: review-
pnormand: commit-queue-
Details | Formatted Diff | Diff
Partially reverting r115829, new baseline and updated test expectations (39.93 KB, patch)
2012-11-20 04:06 PST, Xabier Rodríguez Calvar
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2012-09-20 03:34:29 PDT
run-launcher --gtk LayoutTests/media/content/test.mp4

Should show the volume slider when clicking on the controls volume button. Right now it toggles mute state.
Comment 1 Philippe Normand 2012-11-03 06:06:01 PDT
I wonder if this regression was actually introduced by Bug 82150.

Also, as a quick test to do (that I haven't tried), what happens if you make MediaPlayerPrivateGStreamer::hasAudio() always return true? Asking because MediaControlRootElement::showVolumeSlider() checks for it.
Comment 2 Xabier Rodríguez Calvar 2012-11-06 01:15:49 PST
(In reply to comment #1)
> I wonder if this regression was actually introduced by Bug 82150.
> 
> Also, as a quick test to do (that I haven't tried), what happens if you make MediaPlayerPrivateGStreamer::hasAudio() always return true? Asking because MediaControlRootElement::showVolumeSlider() checks for it.

After reverting that and trying, it looks like it is not.
Comment 3 Xabier Rodríguez Calvar 2012-11-19 09:53:55 PST
Created attachment 175000 [details]
Partially reverting r115829, new baseline and updated test expectations

There as a problem caused by r115829 that prevented the volume slider from showing. I reverted the commit partially and updated the tests.
Comment 4 Philippe Normand 2012-11-19 12:56:56 PST
Comment on attachment 175000 [details]
Partially reverting r115829, new baseline and updated test expectations

View in context: https://bugs.webkit.org/attachment.cgi?id=175000&action=review

Looks good, just a nit to fix :) We need to sync with Gustavo when landing this patch though, so no cq for this time.

> LayoutTests/platform/gtk-wk2/TestExpectations:589
> +Bug(GTK) media/track/track-cue-container-rendering-position.html [ Failure ]

It'd be nice to open a bug ASAP and mention it in the test expectation. So it's not forgotten after.

> LayoutTests/platform/gtk/TestExpectations:1394
> +Bug(GTK) media/media-document-audio-repaint.html [ Failure ]
> +Bug(GTK) media/track/track-cue-container-rendering-position.html [ Failure ]
> +Bug(GTK) media/track/track-cue-rendering-horizontal.html [ Failure ]
> +Bug(GTK) media/track/track-cue-rendering-vertical.html [ Failure ]

Ditto!
Comment 5 Philippe Normand 2012-11-19 12:57:53 PST
+Gustavo, we'll need a clean build for this patch. Be prepared! Tomorrow maybe?
Comment 6 Xabier Rodríguez Calvar 2012-11-20 04:06:24 PST
Created attachment 175185 [details]
Partially reverting r115829, new baseline and updated test expectations

(In reply to comment #4)
> (From update of attachment 175000 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=175000&action=review
> 
> Looks good, just a nit to fix :) We need to sync with Gustavo when landing this patch though, so no cq for this time.

Roger that.

> > LayoutTests/platform/gtk-wk2/TestExpectations:589
> > +Bug(GTK) media/track/track-cue-container-rendering-position.html [ Failure ]
> 
> It'd be nice to open a bug ASAP and mention it in the test expectation. So it's not forgotten after.
> 
> > LayoutTests/platform/gtk/TestExpectations:1394
> > +Bug(GTK) media/media-document-audio-repaint.html [ Failure ]
> > +Bug(GTK) media/track/track-cue-container-rendering-position.html [ Failure ]
> > +Bug(GTK) media/track/track-cue-rendering-horizontal.html [ Failure ]
> > +Bug(GTK) media/track/track-cue-rendering-vertical.html [ Failure ]
> 
> Ditto!

Done.

Something that I had forgotten to say: please, have special look at the expectations for media/video-volume-slider as  it has some subtantial changes, but I think they are logical because now it should be showing the slider.
Comment 7 Philippe Normand 2012-11-20 05:45:17 PST
Committed r135273: <http://trac.webkit.org/changeset/135273>
Comment 8 Philippe Normand 2012-11-20 08:34:14 PST
Comment on attachment 175185 [details]
Partially reverting r115829, new baseline and updated test expectations

Heh seems like I forgot to set r+ before landing, but I did the review for real :)