RFR: JDK-8290016: IGV: Fix graph panning when mouse dragged outside of window [v2]

Tobias Holenstein tholenstein at openjdk.org
Wed Jul 20 15:10:47 UTC 2022


> A graph in IGV can be moved by dragging it with the left mouse button (called panning). 
> ![panning](https://user-images.githubusercontent.com/71546117/178509416-24dd900f-131b-484b-af47-c7a78e791434.png)
> 
> If the mouse left the visible window of the graph during dragging, the diagram started to move in the opposite direction. This was annoying. Now panning stops as soon as the mouse leaves the window. 
> ![stop reverse panning](https://user-images.githubusercontent.com/71546117/178509309-3df03b7a-ada4-45a3-b9a7-d6e10664033d.png)
> 
> In selection mode, the graph still moves when the mouse is dragged outside the window, as this is meant to make a larger selection. 
> ![keep panning for selection](https://user-images.githubusercontent.com/71546117/178509302-74fa41d2-e611-40a3-b6b0-c937ef4b2462.png)

Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:

  fixed locking in CustomizablePanAction

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/9470/files
  - new: https://git.openjdk.org/jdk/pull/9470/files/942a34d5..e6647572

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9470&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9470&range=00-01

  Stats: 53 lines in 1 file changed: 13 ins; 17 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/9470.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9470/head:pull/9470

PR: https://git.openjdk.org/jdk/pull/9470


More information about the hotspot-compiler-dev mailing list