Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Is it expected behavior for the application to crash when minimized? GUI

Open johngabe opened this issue 1 year ago • 0 comments

Checklist

My Question

Windows 11 X64

I am building an application in C++ using the GUI features. If I minimize the application, I get the following error even when I'm using a sample program. This crashes the application.

Assertion failed: (int32_t)viewport.width > 0, file D:\a\filament\filament\filament\src\View.cpp, line 106

In the filament source code I see that this is defined as the following.

void FView::setViewport(filament::Viewport const& viewport) noexcept {
    // catch the cases were user had an underflow and didn't catch it.
    assert((int32_t)viewport.width > 0);
    assert((int32_t)viewport.height > 0);
    mViewport = viewport;
}

When used with python it seems to work fine by just ignoring the assertion. My plan is to remove this assertion and build filament from source. I wanted to confirm that I am not removing some expected behavior before I proceed

johngabe avatar Apr 30 '24 00:04 johngabe