isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.22k stars 2.28k forks source link

How to wrap Scene Widget in WidgetProxy / proper way to remove SceneWidget from window #5772

Open decamargo10 opened 1 year ago

decamargo10 commented 1 year ago

Checklist

My Question

Hey together, I currently work on a project where I add SceneWidgets to a window. In some scenarios I want to remove a specific Scene Widget from the window. For other Widgets this can be easily done using a WidgetProxy but when I wrap a SceneWidget into a WidgetProxy, the Scene widget seems to work normal first and I can also navigate using the scroll wheel and the right mouse button but it becomes unusable as soon as I leftclick the SceneWidget (it looks like the whole scene disappears and only the background is left). Before left clicking the widget: before_click

After left clicking the widget: after_click

Anybody knows what is going on here and how to fix that?

If a WidgetProxy does not work for this: What is the proper way to remove a SceneWidget?

Any help is greatly appreciated!

Thank you in advance!

jordanott commented 11 months ago

Did you ever figure this out? I am facing a similar issue

WangYH195 commented 2 weeks ago

today, this bug still exist

WangYH195 commented 2 weeks ago

I just want to find an effective solution.