Clear Web History and KDE Control Center

Daniele Domenichelli daniele.domenichelli at gmail.com
Sun Dec 23 15:21:11 GMT 2007


Clearing Web History from KDE Control Center (KDE 3.5.8) does not work
(Security & Privacy / Privacy module)
Actually, it clears the history in browser, but doesn't save it on the
file system. (It works if you clear the history from konqueror preferences.

"konqueror --preload" stays in memory so that it looks like that the
history is clean, but wen you kill the process and start konqueror again
(or when you restart kde session) you can see your old history.

You can check "~/.kde/share/apps/konqueror" after clearing history from
KDE Control Center still contains web browsing history.



In file libkonq/konq_historymgr.cc


void KonqHistoryManager::notifyClear( QCString )
{
    clearPending();
    m_history.clear();
    m_pCompletion->clear();

    if ( isSenderOfBroadcast() )
	saveHistory();

    KParts::HistoryProvider::clear(); // also emits the cleared() signal
}


if you remove line "if ( isSenderOfBroadcast() )" history is saved as it
should, but I don't know if that line is used for something else.


Best regards,
Daniele Domenichelli




More information about the kfm-devel mailing list