#1562: licq crashes in message mode when message gets send, but menu is open
------------------------+---------------------------------------------------
 Reporter:  human       |       Owner:     
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:     
Component:  qt/kde gui  |     Version:     
 Keywords:              |  
------------------------+---------------------------------------------------
 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.

-- 
Ticket URL: <http://www.licq.org/ticket/1562>
Licq <http://trac.licq.org/>
Licq - an instant messaging client for UNIX.

Reply via email to