You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 2.0.0
Operating System: Linux (Arch, 6.12.8)
Python: 3.12.8
My Issue/Question
In 2.0.0 there seems to be an issue with plot legend right-click functionality. Specifically, if a plot has any of slot 0 children shown (annotation, drag line, drag point, except for legend of course), it seems to be impossible to access right-click menu for plotted series. When such children are not shown, there is no issue (see MRE).
It also seems that, unlike in <2.0.0, such children are counted as series (?), as when toggling the plot annotation in MRE, line series changes color.
Standalone, minimal, complete and verifiable example
Try right-clicking the "Line" line series in the legend with the "Show annotation" checkbox on and off. When the checkbox is on right-clicking the legend does nothing.
Swapping dpg.add_plot_annotation to any of [dpg.add_drag_point, dpg.add_drag_line or dpg.add_drag_rect] with appropriate args exhibits the same behavior.
Version of Dear PyGui
Version: 2.0.0
Operating System: Linux (Arch, 6.12.8)
Python: 3.12.8
My Issue/Question
In 2.0.0 there seems to be an issue with plot legend right-click functionality. Specifically, if a plot has any of slot 0 children shown (annotation, drag line, drag point, except for legend of course), it seems to be impossible to access right-click menu for plotted series. When such children are not shown, there is no issue (see MRE).
It also seems that, unlike in <2.0.0, such children are counted as series (?), as when toggling the plot annotation in MRE, line series changes color.
Standalone, minimal, complete and verifiable example
Try right-clicking the "Line" line series in the legend with the "Show annotation" checkbox on and off. When the checkbox is on right-clicking the legend does nothing.
Swapping
dpg.add_plot_annotation
to any of [dpg.add_drag_point
,dpg.add_drag_line
ordpg.add_drag_rect
] with appropriate args exhibits the same behavior.Expected behavior
Right-clicking plot legend should show child widgets of any plot series regardless of plot's other children (as was the case in DPG <2.0.0)
The text was updated successfully, but these errors were encountered: