-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when closing a chat window immediately after sending a message #150
Comments
refresh-issue-150.mp4 |
ChatWindow.qml:
If the above is executed before the sent message is acknowledged, the following assertion is triggered: ConversationModel.cpp:
|
When the ConversationModel is cleared after sending a message but before the acknowledgement is received, Ricochet crashes. issue blueprint-freespeech#150
When the ConversationModel is cleared after sending a message but before the acknowledgement is received, Ricochet crashes. issue blueprint-freespeech#150
@wfr thanks for the patch, I'll review and likely merge w/ the next release. btw: your ricochet-irc project is neat, though I do somewhat question to decision to go through the shims in libtego_ui rather than through the libtego C API directly ^^; ( there is still the hidden qt dependency behind that C API but you know vOv ) |
Thanks :) It was a good idea of yours to split Ricochet into libtego and the UI, and I concur, the irc fork should use libtego directly. It used to be based on the original Ricochet and the quickest way to forward-port it to R² was to plug into libtego_ui. I will work on it at some point.
libtego doesn't have many Qt GUI dependencies; it should be feasible to make it completely headless, e.g. by replacing |
I'd be happy to review/merge patches, but my current dev focus (beyond some current grant work) is on redoing the entire libtego backend (see https://github.com/blueprint-freespeech/gosling for the authentication part). The next backend will be in Rust (with a C FFI) and will not be backwards compatible with the Ricochet-Refresh 3 series. |
When the ConversationModel is cleared after sending a message but before the acknowledgement is received, Ricochet crashes. issue #150
When the ConversationModel is cleared after sending a message but before the acknowledgement is received, Ricochet crashes. issue #150
When the user closes a chat window immediately after sending a message, the GUI crashes.
Version:
b0a274c07f0e8afd7b6727e3fe8428e1f9ad5249
(main)Steps to reproduce:
The text was updated successfully, but these errors were encountered: