Vladimir Ein
Vladimir Ein
FYI: This part: >There is also a second bug when item is not hovered or sometimes just random with no sense behind it. is described in #2077 and will eventually...
Probably Linux-only (with the minimal example given), because on Windows you can only get to `print("window closed")` by closing the window :rofl:
Here's a modified example that will show somewhat similar behavior on Windows: ```py import dearpygui.dearpygui as dpg dpg.create_context() dpg.create_viewport() dpg.setup_dearpygui() with dpg.window(label="tutorial"): dpg.add_text("Hello world") dpg.add_button(label="Exit", callback=lambda: dpg.stop_dearpygui()) dpg.show_viewport() dpg.start_dearpygui() dpg.destroy_context()...
Also, this is most probably a duplicate of #2013 - see [my comment](https://github.com/hoffstadt/DearPyGui/issues/2013#issuecomment-1663592906) in that issue.
Also, there's a discussion in #1593 which shows how old the issue is! :joy:
I'd like to point out that both #2013 and #1593 are closed - but not fixed. Let's leave at least one issue open ;)
I'm not sure how to fix this issue properly - it's up to @hoffstadt to decide... It might well be that `mvCleanupViewport` needs some rework. Unfortunately I don't have spare...
On Windows, you could use WinAPI wrappers to close your window directly. I don't know if such a package exists on Linux - basically you need some kind of a...
It's a bug in DPG, just like I said in [a comment](https://github.com/hoffstadt/DearPyGui/issues/2013#issuecomment-1663592906) in another ticket. I'm talking about Wayland because you can use its API to forcefully close the window...
As an option, use `dpg.minimize_viewport` before `destroy_context` to get the unresponsive window out of view. Only if your program ends in a reasonably short time after that (so that the...