DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

[Bug] menu_bar not rendered in v1.6.3 source build

Open yhyu13 opened this issue 2 years ago • 3 comments


Version of Dear PyGui

Version: 1.6.3 source build 13b39aa251ee3bd7f0701dc6f5ea5ecc73954db4 Operating System: Win10 x64

My Issue/Question

dpg.menu_bar created under a dpg.window is not rendered.

Not sure which commit caused it. The dpg v.1.6.2 release version runs fine.

To Reproduce

Steps to reproduce the behavior:

  1. Build and install commit 13b39aa251ee3bd7f0701dc6f5ea5ecc73954db4
  2. Run verifiable example

Expected behavior

dpg.menu_bar created under a dpg.window should be rendered

Screenshots/Video

v1.6.3 Source build

python_IXumUxH9jt

v.1.6.2 Release

python_jfy0Vw2RW4

Standalone, minimal, complete and verifiable example

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

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

with dpg.window(label="tutorial"):
    with dpg.menu_bar(label = 'Main Menu'):
        with dpg.menu(label = 'File'):
            pass

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

yhyu13 avatar Jun 26 '22 05:06 yhyu13

Is it reproduced by any dev or it is not reproduced?

yhyu13 avatar Jun 30 '22 17:06 yhyu13

can agree on that bug

Mstpyt avatar Jul 11 '22 19:07 Mstpyt

I have the same issue using the recently released v1.7.

Buggy: image Expected: image

Unrelated, the default_open=True from collapsing_header is also not respected.

rdoursenaud avatar Sep 10 '22 22:09 rdoursenaud

This has been fixed.

hoffstadt avatar Oct 22 '22 03:10 hoffstadt