Version: 1.1 (using KDE 3.5 (RC1) Level "a" , SUSE 10.0 UNSUPPORTED) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.13-15-default An Option to start ktorrent in the background with system start would be an nice improvement. Best regards Thomas
There allready is, just enable the system tray icon.
Yes I know, what I meant was the re-pop-up-ing of the torrent GUI with every system/kde-reboot. In this situation the system tray icon firstly does work after closing/hiding the GUI. Maybe this does only happen with my system/kde, i don't know - I'm using kde 3.5rc1!?
You're right, I didn't test it when the session was restored
SVN commit 487369 by guisson: Fixed starting minimized to system tray when the session is restored. BUG: 116342 M +11 -1 ktorrent.cpp M +2 -2 ktorrentapp.cpp --- trunk/extragear/network/ktorrent/apps/ktorrent/ktorrent.cpp #487368:487369 @@ -162,6 +162,7 @@ bool hidden_on_exit = KGlobal::config()->readBoolEntry("hidden_on_exit",false); if (!(Settings::showSystemTrayIcon() && hidden_on_exit)) { + Out() << "Showing KT" << endl; show(); } } @@ -169,7 +170,6 @@ KTorrent::~KTorrent() { delete m_dcop; - bt::Out() << "I'm dead" << bt::endl; delete m_core; delete m_pref; delete m_statusInfo; @@ -499,6 +499,16 @@ void KTorrent::readProperties(KConfig*) { + bool hidden_on_exit = KGlobal::config()->readBoolEntry("hidden_on_exit",false); + if (!(Settings::showSystemTrayIcon() && hidden_on_exit)) + { + Out() << "Showing KT" << endl; + show(); + } + else + { + hide(); + } } void KTorrent::urlDropped(QDropEvent* event,QListViewItem*) --- trunk/extragear/network/ktorrent/apps/ktorrent/ktorrentapp.cpp #487368:487369 @@ -46,11 +46,11 @@ dcopClient()->registerAs(name(), false); // see if we are starting with session management - if (restoringSession()) +/* if (restoringSession()) { RESTORE(KTorrent); } - else + else*/ { // no session.. just start up normally KCmdLineArgs *args = KCmdLineArgs::parsedArgs();