Skip to content

Minimising and then maximising window blanks screen #15

Open
@pavanakumar

Description

@pavanakumar

I found that when I tried to minimise the VTK window and then maximise it the contents of the VTK viewer the complete window goes blank and I get an error message from VTK.

prob1
prob2
prob3

  0 : (1286) Invalid framebuffer operation with stack trace of
0x117634668 : vtksys::SystemInformationImplementation::GetProgramStack(int, int) [(libvtksys-9.2.9.2.2.dylib) ???:-1]
0x1176345f0 : vtksys::SystemInformation::GetProgramStack(int, int) [(libvtksys-9.2.9.2.2.dylib) ???:-1]
0x102a13460 : (anonymous namespace)::reportOpenGLErrors(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x102a16a30 : vtkOpenGLState::SetEnumState(unsigned int, bool) [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x102860e14 : vtkOpenGLState::ScopedglEnableDisable::~ScopedglEnableDisable() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x10285fce0 : vtkOpenGLState::ScopedglEnableDisable::~ScopedglEnableDisable() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x102a19644 : vtkOpenGLState::vtkglBlitFramebuffer(int, int, int, int, int, int, int, int, unsigned int, unsigned int) [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x1029da240 : vtkOpenGLRenderWindow::Frame() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x1028c3130 : vtkGenericOpenGLRenderWindow::Frame() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x103394d74 : vtkRenderWindow::CopyResultFrame() [(libvtkRenderingCore-9.2.9.2.2.dylib) ???:-1]
0x103393b4c : vtkRenderWindow::Render() [(libvtkRenderingCore-9.2.9.2.2.dylib) ???:-1]
0x1029de9a4 : vtkOpenGLRenderWindow::Render() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x1028c37d0 : vtkGenericOpenGLRenderWindow::Render() [(libvtkRenderingOpenGL2-9.2.9.2.2.dylib) ???:-1]
0x10233d428 : VtkViewer::render(ImVec2) [(imgui_vtk) ???:-1]
0x10233d3cc : VtkViewer::render() [(imgui_vtk) ???:-1]
0x102246e64 : main [(imgui_vtk) ???:-1]
0x19ae41430 : start [(libdyld.dylib) ???:-1]

Currently I have disabled the window minimisation to prevent this from happening in my code. Am using VTK 9.0 and running MacOs Big Sur 11.7 on an Apple M1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions