tristanpoland / SkiffUI

Create container images at the click of a button, and manage your network with an easy-to-use, intuitive UI
Apache License 2.0
5 stars 1 forks source link

Multi monitor support is sketchy at best #10

Open tristanpoland opened 1 year ago

tristanpoland commented 1 year ago

The add node menu is buggy when SkiffUI is open on a secondary monitor.

When opening SkiffUI on a second monitor and opening the add node menu with the (+) button, the menu appears on the first monitor in the corresponding location.

tristanpoland commented 1 year ago

This also appears to be an issue with the upstream. This is a UI bug and will likely be fixed as we approach version 2.

tristanpoland commented 1 year ago

This may help in solving the issue: https://discuss.wxpython.org/t/using-wxpython-in-the-presence-of-multiple-monitors/30413/4

Edit:

It appears that the best way to do this may be to position the "Add Node" popup relative to the primary window. In this case we should make sure the relative positioning can lock to a moving window so that if the popup is opened and the main window moved the popup follows it smoothly. It would also be helpful to include this in the upstream GimelStudio project.

tristanpoland commented 1 year ago

A fix is now in progress for this bug