You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When windows display scaling is active like this:
then the node selection popup menu is displaced by that amount: In the picture the user clicked on the middle of the box and that is the location the menu is expected but the position iof the menu has been multiplied by 1.5. (Clicking on other parts of the screen shows the 1.5 relation. E.g. clicking in the top left corner (0,0) places the menu correctly (0,0) * 1.5 = (0,0). The further away one clicks from the top left corner the larger is the displacement.)
Setting the scaling to 100% and restarting the application removes that behavior.
This might be a swing issue.
The text was updated successfully, but these errors were encountered:
I found that val dpiScaling = Toolkit.getDefaultToolkit().screenResolution.toDouble() / 96.0 wasn't leading to a scale factor that helped (i needed 0.5, but am getting 1.5729166666666667)
then if you run sciview and add the mesh demo and double click on it the context menu should show up. When I scale x, y by 0.5 I can get the context menu in the right place.
When windows display scaling is active like this:
then the node selection popup menu is displaced by that amount:
In the picture the user clicked on the middle of the box and that is the location the menu is expected but the position iof the menu has been multiplied by 1.5. (Clicking on other parts of the screen shows the 1.5 relation. E.g. clicking in the top left corner (0,0) places the menu correctly (0,0) * 1.5 = (0,0). The further away one clicks from the top left corner the larger is the displacement.)
Setting the scaling to 100% and restarting the application removes that behavior.
This might be a swing issue.
The text was updated successfully, but these errors were encountered: