DetachableTabPane with multiple monitors

Issue #61 new
Antoine Guillou created an issue

I observed 2 bugs when working on windows with 2 monitors of different screen resolution, in the Java8 branch.

  • When detaching a tab, there is a offset in the position. The position in which the TabStage is created is not the position of the mouse. I fixed that by using the com.sun.glass.ui.Robot as in the Mac case in the TabStage constructor.
  • On the second monitor, the arrows buttons never detect the mouse. I fixed that by using sceneToLocal and getSceneX instead of screenToLocal and getScreenX in the repaintPath method.

Comments (3)

  1. Amrullah

    Thanks for the report. We’ll check the problem. It will be great if you can make a Pull Request.

  2. Log in to comment