Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8303217: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements #1049

Closed
wants to merge 8 commits into from

Conversation

jaybhaskar
Copy link
Member

@jaybhaskar jaybhaskar commented Feb 26, 2023

Issue: default html5 video element not showing media controls
Details: Media control design has been refactored in the current Webkit Gtk port. The CSS id
and properties related to media buttons, and slider have been removed, due to which the
media style mediaControlsAdwaita.css values are not being applied.
Solution: restored media control keywords and mapped to CSS keywords values.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issues

  • JDK-8303217: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements
  • JDK-8300954: HTML default Range input control not rendered

Reviewers

Contributors

  • Hima Bindu Meda <hmeda@openjdk.org>

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/1049/head:pull/1049
$ git checkout pull/1049

Update a local copy of the PR:
$ git checkout pull/1049
$ git pull https://git.openjdk.org/jfx pull/1049/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1049

View PR using the GUI difftool:
$ git pr show -t 1049

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1049.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 26, 2023

👋 Welcome back jbhaskar! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Ready for review label Feb 26, 2023
@jaybhaskar jaybhaskar changed the title 8302284: Webview loaded webpage is not showing play, volume related b… 8302284: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements Feb 26, 2023
@mlbridge
Copy link

mlbridge bot commented Feb 26, 2023

@jaybhaskar jaybhaskar changed the title 8302284: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements 8303217: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements Feb 27, 2023
@jaybhaskar
Copy link
Member Author

with this pr default media control works excluding slider, slider might be solved with range input bug JDK-8300954

@openjdk
Copy link

openjdk bot commented Feb 27, 2023

@jaybhaskar Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@kevinrushforth
Copy link
Member

/reviewers 2

@kevinrushforth
Copy link
Member

@HimaBinduMeda Can you be the second reviewer?

@openjdk
Copy link

openjdk bot commented Feb 27, 2023

@kevinrushforth
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

@kevinrushforth
Copy link
Member

NOTE: This is a follow-on to JDK-8301022 which was fixed in PR #1045

@jaybhaskar
Copy link
Member Author

/issue add JDK-8300954

@openjdk
Copy link

openjdk bot commented Feb 28, 2023

@jaybhaskar
Adding additional issue to issue list: 8300954: HTML default Range input control not rendered.

@jaybhaskar
Copy link
Member Author

/contributor hmeda@openjdk.org

@openjdk
Copy link

openjdk bot commented Feb 28, 2023

@jaybhaskar Syntax: /contributor (add|remove) [@user | openjdk-user | Full Name <email@address>]. For example:

  • /contributor add @openjdk-bot
  • /contributor add duke
  • /contributor add J. Duke <duke@openjdk.org>

User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address.

@jaybhaskar
Copy link
Member Author

/contributor add hmeda@openjdk.org

@openjdk
Copy link

openjdk bot commented Feb 28, 2023

@jaybhaskar hmeda@openjdk.org is not a valid name and email string.

Syntax: /contributor (add|remove) [@user | openjdk-user | Full Name <email@address>]. For example:

  • /contributor add @openjdk-bot
  • /contributor add duke
  • /contributor add J. Duke <duke@openjdk.org>

User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address.

@jaybhaskar
Copy link
Member Author

/contributor add hmeda

@openjdk
Copy link

openjdk bot commented Feb 28, 2023

@jaybhaskar
Contributor Hima Bindu Meda <hmeda@openjdk.org> successfully added.

@jaybhaskar
Copy link
Member Author

jaybhaskar commented Feb 28, 2023

With this fix slider and media, controls are being rendered but the thumb part of the slider is missing. The thumb issue could be filed as follow on bug based on the current analysis. The investigation is in progress to fix it.

@kevinrushforth
Copy link
Member

As a note to other reviewers, the fix for PR #1050 was folded into this fix. There were overlapping changes (merge conflicts), so it was easier to resolve them in a single PR.

@openjdk openjdk bot removed the rfr Ready for review label Mar 6, 2023
@openjdk openjdk bot added the rfr Ready for review label Mar 6, 2023
Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I've tested this on macOS and Windows and confirm that both bugs are fixed.

@HimaBinduMeda
Copy link
Contributor

Looks good. I have verified unit tests and drt tests on mac and windows.
No issue seen.Slider and media controls are rendered properly.

@openjdk
Copy link

openjdk bot commented Mar 6, 2023

@jaybhaskar This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8303217: Webview loaded webpage is not showing play, volume related buttons for embeded Audio/Video elements
8300954: HTML default Range input control not rendered

Co-authored-by: Hima Bindu Meda <hmeda@openjdk.org>
Reviewed-by: kcr, hmeda

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 9 new commits pushed to the master branch:

  • b213450: 8300872: WebView's ColorChooser fails to initialize when running in security context
  • 9df6039: 8303026: [TextField] IOOBE on setting text with control characters that replaces existing text
  • 00f1aca: Merge
  • 17ea057: 8302470: Change JBS version in .jcheck/conf to jfxNN[.0.MM]
  • e44e0dc: 8302470: Change JBS version in .jcheck/conf to jfxNN[.0.MM]
  • 0de0837: 8290866: Apple Color Emoji turns gray after JavaFX version 18
  • a916629: Merge
  • 1dd0a59: 8303019: cssref.html incorrect internal link in Path
  • 7bf2372: 8293587: Fix mistakes in FX API docs

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Ready to be integrated label Mar 6, 2023
@jaybhaskar
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Mar 6, 2023

Going to push as commit bbdc599.
Since your change was applied there have been 9 commits pushed to the master branch:

  • b213450: 8300872: WebView's ColorChooser fails to initialize when running in security context
  • 9df6039: 8303026: [TextField] IOOBE on setting text with control characters that replaces existing text
  • 00f1aca: Merge
  • 17ea057: 8302470: Change JBS version in .jcheck/conf to jfxNN[.0.MM]
  • e44e0dc: 8302470: Change JBS version in .jcheck/conf to jfxNN[.0.MM]
  • 0de0837: 8290866: Apple Color Emoji turns gray after JavaFX version 18
  • a916629: Merge
  • 1dd0a59: 8303019: cssref.html incorrect internal link in Path
  • 7bf2372: 8293587: Fix mistakes in FX API docs

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 6, 2023
@openjdk openjdk bot closed this Mar 6, 2023
@openjdk openjdk bot removed ready Ready to be integrated rfr Ready for review labels Mar 6, 2023
@openjdk
Copy link

openjdk bot commented Mar 6, 2023

@jaybhaskar Pushed as commit bbdc599.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
3 participants