quotient-im / Quaternion

A Qt-based IM client for Matrix
https://matrix.org/ecosystem/clients/quaternion/
GNU General Public License v3.0
645 stars 108 forks source link

Crash when redacting events #768

Closed KitsuneRal closed 3 years ago

KitsuneRal commented 3 years ago

The context menu for a timeline item is shown synchronously, leading to a possibility that after redacting the item using that menu the QML object on which the menu was shown gets deleted before Qt closes the menu. Instead of exec(), the menu should be shown asynchronously with popup() (with WA_DeleteOnClose attribute set).