ISISNeutronMuon / ISISNeutronMuon/MDMC
Wrong GUI visualistion from docker-Jupyter with different multiple monitors
- Dominant language
- Python
- Stars
- 4
- Forks
- 0
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 5
Description
**Description of the error**
Observed on Windows 10 running jupyter notebook through Docker (as per docker install instructions). GUI visualisation works fine when I just use my laptop screen, and is not connected to an external monitor.
However, when also connected to an external monitor, and I run
```
from MDMC.MD import Atom, Molecule, Bond
H1 = Atom('H', charge=0.4238)
O = Atom('O', position=(0., 0.81649, 0.57736), charge=-0.8476)
atoms = [H1, O]
```
following by
```
from MDMC.gui import view
view(atoms)
```
this is observe:

The above is as first displayed on my laptop screen, and as can be seen no O-H molecule visualised. If I move window round within laptop screen and / or click on window still see nothing. However, if I move it to the external monitor screen the molecule appear somewhat as shown below

and the molecule can now be rotated, to e.g. the this position

If I now move this window back to the laptop screen, the picture above remains but the molecule is freezed, i.e. I can no longer right-mouse-click-down rotate it. Finally if I move it to external monitor again, rotation now works fine again, but as can be seen below a kind of "double effect" happen:

Fixing this may be tough in general. While this is attempted this issue can be used to report similar observations on this.
Further, a sub-issue to this may be to add user documentation explaining what to watch out for in this scenario and workarounds when we understand any such
observed while testing PR #417
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.