- context menu was owned by widget that is to be deleted
BUG: 384828, 384977
BUG: 384828, 384977
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
@kossebau You just added this parent -- do you think this is the correct fix?
In any case, this fix should've probably gone to 5.2 branch(?)
Hmpf... and I thought I had tested all menus after that other crash i introduced with those QMenu-on-Wayland support fixes.
A proper fix would be needed in Qt, to separate memory management and visual relationship. Until that exists, reverting my parent addition should be fine for now. There aren't yet many people if any running KDevelop on Wayland (and this was just a blind fix done following guides).
In any case, this fix should've probably gone to 5.2 branch(?)
Very possibly yes.