-
Notifications
You must be signed in to change notification settings - Fork 488
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
8208169: can not print selected pages of web page #222
Conversation
👋 Welcome back bhaweshkc! A progress list of the required criteria for merging this PR into |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
@prrace can you also review this? |
Can you add a test for this? It may need to be a manual test, in which case it can go into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok. Approval waiting on a test.
@prrace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both the fix and the test look good. I left a couple minor formatting / style comments.
modules/javafx.web/src/main/java/javafx/scene/web/WebEngine.java
Outdated
Show resolved
Hide resolved
@bhaweshkc This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 31 commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge As you are not a known OpenJDK Author, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@prrace, @kevinrushforth) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@bhaweshkc |
/sponsor |
@kevinrushforth @bhaweshkc The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 8440b64. |
Print function of WebEngine.java ignores page range setting and prints given number of pages starting from first page, which is the root cause of this issue. To fix it, put check for page ranges and if it available, use it for printing pages otherwise print all pages as usual.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/222/head:pull/222
$ git checkout pull/222