Details
Description
1. Compile and run the attached examples with Qt 6.2.7
2. examples.zip contains 3 examples : qchart_contextmenuevent, qchart_customcontextmenurequested, qchartcontextmenu_release_event
3. All three examples contain code to show the context menu on the chart.
4. Right click on the chart to see the context menu.
5. Observe that it crashes after multiple clicks. (It may take several clicks continuously to reproduce the crash.)
I tested on Windows. It might be an issue on Mac and Linux too.
I was able to reproduce crash for qchartcontextmenu_release_event on macOS as well.