Summary: | Clicking on "cancel" instead of "close chat" closes chat anyway | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Gerrit Visscher <gerrit> |
Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | doc.evans, vide80 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | A patch fixing this bug |
Description
Gerrit Visscher
2008-10-05 12:17:51 UTC
I can confirm this bug. how can i reproduce this? Try to close a chat window right after someone sent you a message. Then kopete will display a confirmation dialog... both options will close the dialog Created attachment 30530 [details]
A patch fixing this bug
The bug was in KopeteChatWindow::closeEvent - the QCloseEvent comes marked as Accepted by default, so accept() is actually a no-op, but it's necessary to call ignore() when the user doesn't want to close the window.
SVN commit 915669 by rjarosz: Fix bug 172188: Clicking on "cancel" instead of "close chat" closes chat anyway. Patch by Tomáš Trnka. Thanks! BUG: 172188 CCMAIL: TomTrnka@seznam.cz M +3 -0 kopetechatwindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=915669 SVN commit 915670 by rjarosz: Backport commit 915669. Fix bug 172188: Clicking on "cancel" instead of "close chat" closes chat anyway. Patch by Tomáš Trnka. Thanks! CCBUG: 172188 M +3 -0 kopetechatwindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=915670 Thank you Tomáš and Roman :) *** Bug 186822 has been marked as a duplicate of this bug. *** |