I am using vtkCornerAnnotation to display image coordinates as the user moves the mouse over an image in the vtkRenderWindow. It works nicely when I have an two external monitors connected to my Windows laptop. However, perplexingly, when I do not have any external monitors attached to my laptop, and am running my Python/vtk script, the annotations overwrite themselves as I move the mouse around the image! This doesn’t make sense to me. Has anyone else encountered this behavior?
Here is what the annotations look like when they update correctly during mouse movement, and when I am using external monitors:
And here is what the annotations look like when I move my mouse around, and when I am using only my laptop display - no external monitors:
Any insights would be greatly appreciated.