DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Window menu_bar no longer showing after update to 1.7.0

Open grgsaliba opened this issue 3 years ago • 1 comments

The with dgp.menu_bar(): is no longer showing a menubar since upgrading to version 1.7.0, downgrading to 1.6.2 the menu bar shows as expected.

The issue can be reproduced also using the basic example from the DearPyGui docs, no menu bar is show with this code when using dearpygui version 1.7.0

import dearpygui.dearpygui as dpg

dpg.create_context()

with dpg.window(label="Main"):

    with dpg.menu_bar():
        with dpg.menu(label="Themes"):
            dpg.add_menu_item(label="Dark")
            dpg.add_menu_item(label="Light")
            dpg.add_menu_item(label="Classic")

            with dpg.menu(label="Other Themes"):
                dpg.add_menu_item(label="Purple")
                dpg.add_menu_item(label="Gold")
                dpg.add_menu_item(label="Red")

        with dpg.menu(label="Tools"):
            dpg.add_menu_item(label="Show Logger")
            dpg.add_menu_item(label="Show About")

        with dpg.menu(label="Oddities"):
            dpg.add_button(label="A Button")
            dpg.add_simple_plot(label="Menu plot", default_value=(0.3, 0.9, 2.5, 8.9), height=80)

dpg.create_viewport(title='Custom Title', width=800, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

grgsaliba avatar Sep 17 '22 02:09 grgsaliba

Having same issue 😃.

WannaBeKratos avatar Sep 18 '22 19:09 WannaBeKratos

Fixed in 1.7.1 releasing in a few hours.

hoffstadt avatar Sep 24 '22 03:09 hoffstadt