f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Errors spam when the windows is collapsed

Open Meakk opened this issue 2 years ago • 6 comments

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.

Meakk avatar Jun 01 '23 14:06 Meakk

Unable to reproduce on ArchLinux + AwesomeVM.

mwestphal avatar Jun 01 '23 16:06 mwestphal

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.

Meakk avatar Jun 04 '23 08:06 Meakk

BTW it only appears on debug ofc, not a big deal

mwestphal avatar Sep 17 '23 13:09 mwestphal

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 ?

mwestphal avatar Jan 25 '24 07:01 mwestphal

Yes it's better to fix it in VTK Windows impl directly

Meakk avatar Jan 25 '24 12:01 Meakk

Still present in F3D 3.0 (the spam appears in the console of course)

mwestphal avatar Feb 28 '25 13:02 mwestphal