vtk test applications lack proper user interaction on Mac
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtk test applications don't allow proper user interaction on Mac. That is to say, the test apps like "Cone", "Cube", "Cyclinder" (in the /bin directory after building VTK) are all broken.
Keyboard interaction does not work at all and the window cannot be resized nor moved. Clicking to rotate does however work.
There may be several reasons for this, but the primary one is that these applications are built as command line applications. On OS X, such application cannot reliably have a GUI. See:
and
http://www.cocoabuilder.com/archive/message/cocoa/2005/1/20/126215
The solution is that these must be bundled applications. See:
I have looked into this and it seems CMake does have some understanding of Mac application bundles via its MACOSX_BUNDLE option, but it is apparently broken, see bug 1962.
In any case, the string 'MACOSX_BUNDLE' does not appear anywhere in the vtk source tree so it seems that vtk is simply not using this facility of cmake. It should.
I would very much like to see this bug fixed. When included test apps don't work, it makes a project look bad, and will discourange more people from using vtk.
I am also willing to help get this fixed, but I don't know enough about cmake to do it myself and submit a patch.