[Konversation-devel] [Bug 204970] Fails to connect to Freenode due to queue rates config from KDE 3 version config file

Modestas Vainius modestas at vainius.eu
Mon Sep 21 00:10:50 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=204970


Modestas Vainius <modestas at vainius.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |modestas at vainius.eu




--- Comment #8 from Modestas Vainius <modestas vainius eu>  2009-09-21 00:10:48 ---
It appears Application::newInstance() is tricky because it is called via DBus
from the parent process. This is kind of fragile and unreliable. So if
Application() is constructed, but app.exec() fails (or newInstance() is never
called due to DBus problems), Server::_stashRates() and subsequent calls in
~Application() will write wrong config file (destroying settings). I recommend
to protect all that configuration file writing stuff in destructor with at
least with "if (mainWindow) { ... }" (or better yet new variable which is set
at the end of newInstance() or readOptions()).

Reports suggest that something might have happened in a similar way: "<kaddi>  
  hi, my kubuntu just crashed while konversation was running and now all
settings are gone".

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list