visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Mouse clicks on Tracer tab on Mac do not always open tracer groups consistently

Open tmiddlet2666 opened this issue 1 year ago • 3 comments

Describe the bug When I have installed various tracer plugins, such as Tracer-Monitor Probes and Tracer-JVM Stats Probes, when i click on the various group names such as JIT Compiler or Garbage Collectors to display the individual probes, the UI doesn't always respond and open or close the items. I need to click multiple times, which differs from twice to many more. It is not consistent.

I have tried on Linux and it is responsive all the time. Have not tried on Windows.

To Reproduce Steps to reproduce the behavior:

  • Install any of the tracer probes
  • Open any JVM process such as VisualVM
  • Click the tracer tab
  • Click on any of the high level areas to open/close
  • Response from the UI is not consistent

Expected behavior I Expect that the UI will respond and open / collapse the elements consistently.

VisualVM log Nothing relevant in log

Screenshots

visualvm-tracer

Desktop (please complete the following information):

  • OS: Mac OS Ventura,
  • JDK version JDK 17.0.2
  • Version 2.1.6

Additional context Add any other context about the problem here.

tmiddlet2666 avatar Mar 22 '24 07:03 tmiddlet2666

It maybe related that on Linux XWayland clicks will sometimes go right through visualvm and interact with apps underneath. I've never seen any other App do that.

Dmole avatar Mar 27 '24 04:03 Dmole

Actually related to https://bugs.openjdk.org/browse/JDK-8218421

tmiddlet2666 avatar Mar 28 '24 03:03 tmiddlet2666

If you don't move your mouse between the click down and click up its good

tmiddlet2666 avatar Mar 28 '24 03:03 tmiddlet2666