Closed BruceSherwood closed 10 years ago
Even after setting menus=True there are problems with large width and/or height:
The following program running (at least) on 64-bit Windows 7 (with 64-bit VPython) fails or succeeds depending on the values I choose for window width and height. It shows among other things that maximizing the window isn't the fundamental problem, rather it does indeed have to do with choosing large values for width and/or height (I didn't map out the full range of success and failure).
from visual import *
w_width = 1800 # works with 1800, fails with 1900 w_height = 1500 w = window(menus=True, width=w_width, height=w_height) display(window=w, width=w_width-100, height=w_height-150) sphere()
Seemed to be fixed by commit of 2014 July 6.
This very simple program works properly:
w = window(menus=True) display(window=w) ball = sphere()
Change to menus=False (which is the default) and the program displays incorrectly on Windows and Ubuntu until and unless you resize the window. There is no problem on a Mac, where menus don't yet work at all.