# Image cursors not shown properly in VTK 9.1 (Four Pane Viewer)

**URL:** https://discourse.vtk.org/t/image-cursors-not-shown-properly-in-vtk-9-1-four-pane-viewer/7407
**Category:** Support
**Created:** [December 15, 2021, 9:10am UTC](https://discourse.vtk.org/t/image-cursors-not-shown-properly-in-vtk-9-1-four-pane-viewer/7407 "2021-12-15T09:10:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Peter](https://discourse.vtk.org/user_avatar/discourse.vtk.org/peter/32/3487_2.png) [@Peter](https://discourse.vtk.org/u/Peter)
#### Post date: [December 15, 2021, 9:10am UTC](https://discourse.vtk.org/t/image-cursors-not-shown-properly-in-vtk-9-1-four-pane-viewer/7407/1 "2021-12-15T09:10:56Z")

</div>

Hello!

If I am running the Four Pane Viewer example with VTK 9.1, the cursors are not shown properly.  
I.e. the cursors are not shown at all, only some dots of the line are shown or the line is behind the image. If I remember correctly, the example worked fine in previous versions I have used.

 ![image](https://discourse.vtk.org/uploads/default/original/2X/1/1760285d1d24e2baa3af0b8599a17e6d5660bca1.png)  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/b/bf870d10594bc18737fd511edc5c54021155270a.png)

In Debug mode I get some error messages:

> Generic Warning: In C:\Updated\_Libraries\VTK\Sources\VTK-9.1.0.rc2\Rendering\OpenGL2\vtkOpenGLState.cxx, line 525  
> Error glBindFramebuffer1 OpenGL errors detected  
> 0 : (1282) Invalid operation
> 
> with stack trace of  
> at vtksys::SystemInformationImplementation::GetProgramStack in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\utilities\kwsys\vtksys\systeminformation.cxx line 3980  
> at vtksys::SystemInformation::GetProgramStack in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\utilities\kwsys\vtksys\systeminformation.cxx line 829  
> at `anonymous namespace’::reportOpenGLErrors in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglstate.cxx line 294  
> at vtkOpenGLState::vtkglBindFramebuffer in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglstate.cxx line 525  
> at vtkOpenGLState::vtkBindFramebuffer in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglstate.cxx line 492  
> at vtkOpenGLFramebufferObject::Bind in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglframebufferobject.cxx line 747  
> at vtkOpenGLFramebufferObject::Bind in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglframebufferobject.cxx line 730  
> at vtkOrderIndependentTranslucentPass::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkorderindependenttranslucentpass.cxx line 319  
> at vtkOpenGLRenderer::DeviceRenderTranslucentPolygonalGeometry in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglrenderer.cxx line 560  
> at vtkOpenGLRenderer::UpdateGeometry in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglrenderer.cxx line 406  
> at vtkOpenGLRenderer::DeviceRender in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglrenderer.cxx line 300  
> at vtkRenderer::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\core\vtkrenderer.cxx line 383  
> at vtkRendererCollection::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\core\vtkrenderercollection.cxx line 53  
> at vtkRenderWindow::DoStereoRender in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\core\vtkrenderwindow.cxx line 347  
> at vtkRenderWindow::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\core\vtkrenderwindow.cxx line 306  
> at vtkOpenGLRenderWindow::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkopenglrenderwindow.cxx line 2335  
> at vtkGenericOpenGLRenderWindow::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\opengl2\vtkgenericopenglrenderwindow.cxx line 225  
> at vtkRenderWindowInteractor::Render in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\rendering\core\vtkrenderwindowinteractor.cxx line 186  
> at QVTKRenderWindowAdapter::QVTKInternals::paint in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\guisupport\qt\qvtkrenderwindowadapter.cxx line 269  
> at QVTKRenderWindowAdapter::paint in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\guisupport\qt\qvtkrenderwindowadapter.cxx line 547  
> at QVTKOpenGLNativeWidget::paintGL in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\guisupport\qt\qvtkopenglnativewidget.cxx line 265  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QVTKOpenGLNativeWidget::event in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\guisupport\qt\qvtkopenglnativewidget.cxx line 295  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QCborMap::value  
> at QCborMap::value  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QVTKOpenGLNativeWidget::event in c:\updated\_libraries\vtk\sources\vtk-9.1.0.rc2\guisupport\qt\qvtkopenglnativewidget.cxx line 295  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QCborMap::value  
> at QCborMap::value  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at QStyleOptionTabBarBase::QStyleOptionTabBarBase  
> at WinMain in c:\qt\5.12.6\qtbase\src\winmain\qtmain\_win.cpp line 97  
> at invoke\_main in f:\dd\vctools\crt\vcstartup\src\startup\exe\_common.inl line 99  
> at \_\_scrt\_common\_main\_seh in f:\dd\vctools\crt\vcstartup\src\startup\exe\_common.inl line 253  
> at \_\_scrt\_common\_main in f:\dd\vctools\crt\vcstartup\src\startup\exe\_common.inl line 296  
> at WinMainCRTStartup in f:\dd\vctools\crt\vcstartup\src\startup\exe\_winmain.cpp line 17  
> at BaseThreadInitThunk  
> at RtlUserThreadStart

I did not modify the example.

Any ideas how to solve this issue?

Thank you!
