hoffstadt/DearPyGui

GUI launches as a window in window, when gui window is closed you're left with black main window

zamonary1 opened this issue · 2 comments

Version of Dear PyGui

Version: 1.11.1
Operating System: mint 21.3 cinnamon

My Issue/Question

DPG acts like a window in a window.

To Reproduce

Launch any example from github

Expected behavior

Normal looking window that can rescale without any problems

Screenshots/Video

Peek 2024-05-15 00-48

Standalone, minimal, complete and verifiable example

# Here's some code anyone can copy and paste to reproduce your issue
import dearpygui.dearpygui as dpg

def save_callback():
    print("Save Clicked")

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="Example Window"):
    dpg.add_text("Hello world")
    dpg.add_button(label="Save", callback=save_callback)
    dpg.add_input_text(label="string")
    dpg.add_slider_float(label="float")

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()```