Ticket #1562 (closed defect: fixed)
licq crashes in message mode when message gets send, but menu is open
| Reported by: | human | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | qt/kde gui | Version: | |
| Keywords: | Cc: |
Description
Hi,
this bug has a looong history ;)
To reproduce it, do the following: Write a message in message mode, not chat mode. Send it, sometimes it takes some time until the message window disappears (connecting to user first, or whatever. maybe auto send through server). Until the message window dissappears you can open the menu by clicking on the menu button of the message window.
When the message window now gets closed by licq, because the message has been sent, the menu stays open. It doesn't matter what you do or click, licq will crash.
This one is annoying, because it is possible that because of this crash "NewMessages?" is set to 1 for the user the message was for, even if there's no new message from that user. (This explains maybe some other bugs. I thought about it for a long while and you should check two things at startup: is there NewMessages? set to 1 and is the last message a sent one or received.)
My solution for this bug would be to deactivate every button instead of "Cancel". But the "menu" list could be closed also, when the message window disappears.
