Bug 49562

Summary: knewsticker causes internet connection on startup although "Offline Mode" is enabled
Product: [Unmaintained] knewsticker Reporter: Marc Schiffbauer <mschiff>
Component: generalAssignee: Frerich Raabe <raabe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Schiffbauer 2002-10-23 11:06:48 UTC
Version:            (using KDE KDE 3.0.7)
Installed from:    Debian testing/unstable Packages
OS:          Linux

I have a router with auto dialup connection to the internet. 
"Offline mode" in enabled. knewsticker does not cause any internet 
activity BUT on startup! So everytime I log into KDE any knewsticker is 
started from session management an internet connection is started caused 
by knewsticker. 
This should not be in Offline Mode ...

I will add the produced traffic later.
Comment 1 Marc Schiffbauer 2002-10-23 11:25:31 UTC
These pages are loaded by knewsticker on startup (in my configuration):
http://segfault.org/favicon.ico
http://techupdate.zdnet.com/techupdate/filters/zdrc/0,14177,6020498,00.html
http://techupdate.zdnet.com/techupdate/filters/main/
http://www.netphoenix.at/favicon.ico
http://www.netphoenix.at/favicon.ico

I can reproduce that if I remove knewsticker, go offline, and add 
knewsticker again --> internet connection is started
Comment 2 Frerich Raabe 2003-08-04 21:37:30 UTC
Subject: kdenetwork/knewsticker/common

CVS commit by raabe: 

- Don't fetch the favicons for newsfeeds if offline mode is activated
CCMAIL: 49562-done@bugs.kde.org


  M +2 -1      newsengine.cpp   1.94


--- kdenetwork/knewsticker/common/newsengine.cpp  #1.93:1.94
@@ -54,4 +54,5 @@ NewsSourceBase::NewsSourceBase(const Dat
         connect(m_newsIconMgr, SIGNAL(gotIcon(const KURL &, const QPixmap &)),
                         this, SLOT(slotGotIcon(const KURL &, const QPixmap &)));
+        if ( !m_cfg->offlineMode() )
         m_newsIconMgr->getIcon(m_data.icon);
 }