core icon indicating copy to clipboard operation
core copied to clipboard

`T.MessageQuote.text` is sometimes(rarely) undefined

Open farooqkz opened this issue 1 year ago • 2 comments

  • Operating System (Linux/Mac/Windows/iOS/Android): Linux(from source)
  • Delta Chat Version: 1.46.1
  • Expected behavior: It should be some text
  • Actual behavior: It's undefined
  • Steps to reproduce the problem: Unknown
  • Screenshots:
  • Logs:

This happened for me once, while I was typing some reply and Desktop crashed. I did a reload and it was fine. Could not reproduce it.

farooqkz avatar Jul 01 '24 14:07 farooqkz

Core's Message::set_quote() sets a quoted message, but doesn't save the resulting message to the db. But i'm not sure this is the reason. Maybe Desktop doesn't call miscSetDraft() before the user starts typing? Also, was only the quote text empty or the typed text disappeared too?

I did a reload and it was fine.

What do you mean by "reload"?

iequidoo avatar Jul 04 '24 21:07 iequidoo

Core's Message::set_quote() sets a quoted message, but doesn't save the resulting message to the db. But i'm not sure this is the reason. Maybe Desktop doesn't call miscSetDraft() before the user starts typing? Also, was only the quote text empty or the typed text disappeared too?

I did a reload and it was fine.

What do you mean by "reload"?

Unfortunately, I don't know how to find steps to reproduce this message. It just happened for me on Desktop which resulted in a Crash.

I mean reloading Desktop using the Developer tools.

farooqkz avatar Jul 11 '24 13:07 farooqkz

closing stale issue, nothing really actionable.

if there are more information, please reopen

r10s avatar Nov 10 '24 23:11 r10s