Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Item registry crashes when trying to view a table's children #1907

Closed
Creonalia opened this issue Oct 15, 2022 · 3 comments
Closed

Item registry crashes when trying to view a table's children #1907

Creonalia opened this issue Oct 15, 2022 · 3 comments
Labels
state: ready Fixed/Added and will be present in an upcoming release type: bug bug

Comments

@Creonalia
Copy link
Contributor

Version of Dear PyGui

Version: 1.7.1
Operating System: Windows 10

My Issue/Question

Opening the item registry and then trying to expand the children of table with at least one column causes dpg to crash.

To Reproduce

Steps to reproduce the behavior:

  1. Open the item registry window
  2. Navigate through the list of items to the table
  3. Try to expand the table's children
  4. Crash

Alternatively, check Show Slots in the item registry and then expand Child Slot 2 (Child Slot 0 works normally) of the table to crash.

Expected behavior

The item registry should show the children of the table.

Standalone, minimal, complete and verifiable example

import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport()

with dpg.window():
    with dpg.table():
        dpg.add_table_column()

dpg.show_item_registry()

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
@Creonalia Creonalia added state: pending not addressed yet type: bug bug labels Oct 15, 2022
@hoffstadt hoffstadt added priority: high high priority and removed state: pending not addressed yet labels Oct 17, 2022
@hoffstadt hoffstadt added state: ready Fixed/Added and will be present in an upcoming release and removed priority: high high priority labels Oct 17, 2022
@hoffstadt
Copy link
Owner

Great catch. Fixed in next release.

@Creonalia
Copy link
Contributor Author

@hoffstadt this is still broken in 1.7.2 when checking Show Slots and then expanding Child Slot 2 of the table

@hoffstadt hoffstadt reopened this Oct 18, 2022
@hoffstadt
Copy link
Owner

Fixed in next release.

hoffstadt added a commit that referenced this issue Oct 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
state: ready Fixed/Added and will be present in an upcoming release type: bug bug
Projects
None yet
Development

No branches or pull requests

2 participants