Open3D
Open3D copied to clipboard
Is it expected behavior for the application to crash when minimized? GUI
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
mainbranch).
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