-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8328035: Convert javax/swing/text/html/TableView/7030332/bug7030332.java applet test to main #18260
Conversation
👋 Welcome back tr! A progress list of the required criteria for merging this PR into |
@TejeshR13 The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
@TejeshR13 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:
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 209 new 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 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 |
test/jdk/javax/swing/text/html/TableView/7030332/bug7030332.java
Outdated
Show resolved
Hide resolved
test/jdk/javax/swing/text/html/TableView/7030332/bug7030332.java
Outdated
Show resolved
Hide resolved
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.
LGTM.
I am not sure but to me the images dont seem to match in windows11..it seems JEditorPane image is 1 pixel thicker than golden images...in which case, it needs to be problemlisted |
You mean to say the border of JEditorPane is 1 pixel thicker ? |
I am not sure...I think there was some fix regarding border stroke sometime back either by @honkar-jdk or @DamonGuy . Maybe expectation should be somewhat different now in which case, probably the instructions should be amended accordingly...Let them verify once.. |
or maybe run the test with uiScale 1.0 as I believe the golden images are generated without any scaling and windows has default 1.25/1.5 scaling |
@prsadhuk With scaling 1.0 it'll appear this way. I think it's supposed to be 1.0 scaling and its looking similar now. |
I am not sure..it still seems 1.25 bigger than golden image..."similar" word has different connotation and is very subjective....is it intentional that "same" was not mentioned? |
Then shall I problemlist it? |
Ideally yes, but you can discuss in the meeting since harshita/damon has not come back on this.. |
@prsadhuk @TejeshR13 I do see slight difference in borders on fractional scales 1.25,1.75. This looks similar to the border scaling issue fixed as part #11571, #10274. The border scaling fix was extended to line, etched borders and borders for JInternalFrame. This case is slightly different, in the sense html is parsed to paint the border of desired thickness but I believe the underlying issue is the same - painting of borders on fractional scales on Windows. |
This test was written before there was hidpi. So I am sure it is 100% so definitely you should specify that in the test to have any chance. |
Updated the instructions and scaling set to 1.0. |
/integrate |
Going to push as commit 481473e.
Your commit was automatically rebased without conflicts. |
@TejeshR13 Pushed as commit 481473e. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Convert javax/swing/text/html/TableView/7030332/bug7030332.java applet test to main based test using PassFailJFrame.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/18260/head:pull/18260
$ git checkout pull/18260
Update a local copy of the PR:
$ git checkout pull/18260
$ git pull https://git.openjdk.org/jdk.git pull/18260/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 18260
View PR using the GUI difftool:
$ git pr show -t 18260
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/18260.diff
Webrev
Link to Webrev Comment