Errors spam when the windows is collapsed
Describe the bug
When the window is collapsed on the height, many VTK-related errors appear in the log window.
The width is properly locked on the width so there is no problem.
To Reproduce See the video below:
https://github.com/f3d-app/f3d/assets/6069752/f57dc3cd-81cb-41f8-a708-00a55e7e8176
Expected behavior A minimum height should be set on the window
System Information:
- OS: Windows
- GPU and GPU driver: RTX 3060M
F3D Information
Paste the content of f3d --version:
F3D 2.0.0
F3D - A fast and minimalist 3D viewer
Version: 2.0.0-99-g0643440.
Build date: 2023-06-01 14:21:14.
Build system: Windows 64-bits.
Compiler: MSVC 19.34.31937.0.
External rendering module: OFF.
Raytracing module: OFF.
VTK version: 9.2.20220823.
Copyright (C) 2019-2021 Kitware SAS.
Copyright (C) 2021-2023 Michael Migliore, Mathieu Westphal.
License BSD-3-Clause.
By Michael Migliore, Mathieu Westphal and Joachim Pouderoux.
Unable to reproduce on ArchLinux + AwesomeVM.
I do not reproduce on Linux, and it seems like the render window implementation enforce the minimum size to one pixel on width and height.
BTW it only appears on debug ofc, not a big deal
I do not reproduce on Linux, and it seems like the render window implementation enforce the minimum size to one pixel on width and height.
Should the Windows impl enforce that too ?
Yes it's better to fix it in VTK Windows impl directly
Still present in F3D 3.0 (the spam appears in the console of course)