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

8244421: Wrong scrollbar position on touch enabled devices #208

Closed
wants to merge 1 commit into from

Conversation

jperedadnr
Copy link
Collaborator

@jperedadnr jperedadnr commented May 5, 2020

VirtualFlow makes use of VirtualScrollBar controls, that are laid out next to the clipped container region, by default.

However, when touch is supported, these scrollBars are floating controls laid out over the container. Therefore, in this case, when the viewport dimensions are updated, the presence of the scrollBars shouldn't be taken into account.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8244421: Wrong scrollbar position on touch enabled devices

Reviewers

  • Johan Vos (jvos - Reviewer)
  • Ajit Ghaisas (aghaisas - Reviewer)

Download

$ git fetch https://git.openjdk.java.net/jfx pull/208/head:pull/208
$ git checkout pull/208

@bridgekeeper
Copy link

bridgekeeper bot commented May 5, 2020

👋 Welcome back jpereda! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request.

@openjdk openjdk bot added the rfr Ready for review label May 5, 2020
@mlbridge
Copy link

mlbridge bot commented May 5, 2020

Webrevs

@kevinrushforth
Copy link
Member

/reviewers 2

@openjdk
Copy link

openjdk bot commented May 6, 2020

@kevinrushforth
The number of required reviews for this PR is now set to 2 (with at least 1 of role reviewers).

@kevinrushforth
Copy link
Member

@aghaisas can you also take a look?

@kevinrushforth
Copy link
Member

I've asked Ajit to review it (and I presume Johan will review as well?)

It looks like a safe enough fix. Have you tested it on multiple platforms?

@jperedadnr
Copy link
Collaborator Author

Yes, I've tested on Mac OS and Linux (with or without -Dcom.sun.javafx.touch=true), and also on Android and iOS.

Copy link
Collaborator

@johanvos johanvos left a comment

Choose a reason for hiding this comment

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

I confirm this fixes JBS-8244421

@openjdk
Copy link

openjdk bot commented May 8, 2020

@jperedadnr This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type /integrate in a new comment to proceed. After integration, the commit message will be:

8244421: Wrong scrollbar position on touch enabled devices

Reviewed-by: jvos, aghaisas
  • If you would like to add a summary, use the /summary command.
  • To credit additional contributors, use the /contributor command.
  • To add additional solved issues, use the /solves command.

Since the source branch of this PR was last updated there have been 3 commits pushed to the master branch:

  • 0385563: 8243255: Font size is large in JavaFX app with enabled Monocle on Raspberry Pi
  • 2e90076: 8242507: Add support for Visual Studio 2019
  • 39d9c3b: 8244110: NPE in MenuButtonSkinBase change listener

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 master into your branch, and then specify the current head hash when integrating, like this: /integrate 038556390ef30c912139fcb828ee4a41d8c5abc8.

As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@johanvos, @aghaisas) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Ready to be integrated label May 8, 2020
@jperedadnr
Copy link
Collaborator Author

/integrate

@openjdk
Copy link

openjdk bot commented May 8, 2020

@jperedadnr
Your change (at version 2e1cb40) is now ready to be sponsored by a Committer.

@openjdk openjdk bot added the sponsor Ready to sponsor label May 8, 2020
@aghaisas
Copy link
Collaborator

aghaisas commented May 8, 2020

/sponsor

@openjdk openjdk bot closed this May 8, 2020
@openjdk openjdk bot added integrated Pull request has been integrated and removed sponsor Ready to sponsor ready Ready to be integrated rfr Ready for review labels May 8, 2020
@openjdk
Copy link

openjdk bot commented May 8, 2020

@aghaisas @jperedadnr The following commits have been pushed to master since your change was applied:

  • 0385563: 8243255: Font size is large in JavaFX app with enabled Monocle on Raspberry Pi
  • 2e90076: 8242507: Add support for Visual Studio 2019
  • 39d9c3b: 8244110: NPE in MenuButtonSkinBase change listener

Your commit was automatically rebased without conflicts.

Pushed as commit 236e2d6.

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
Development

Successfully merging this pull request may close these issues.

4 participants