Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 4.1.2 20070423 (prerelease) OS: Linux When running a program that has support for KSystemTrayIcon, choosing the menu option "Quit" will pop up a message box that asks you if you are sure if you want to quit. If you cancel using the "Cancel" button, the application stays running if it is visible. On the other hand, if it is minimized to the system tray, it exits. This is using KDE4 Alpha 1.
Created attachment 20718 [details] Test program to illustrate Just a small program to illustrate that this happens in the simplest of cases. Compile using "gcc -I/opt/qt4/include/ -I/opt/kde4/include/ -L/opt/kde4/lib -L/opt/qt4/lib -lQtCore -lQtGui -lkdecore -lkdeui -o test main.cc" Remove the quotes and tweak the KDE4/QT paths for your distro.
Does the problem still happen with newer kde(libs)4 versions?
You can close this bug, it was caused by my not setting KApplication::setQuitOnLastWindowClosed( false ) My bad, sorry. It was not immediately evident from either the Qt4 documentation or the KDE4 documentation that this needed to be done, however.
Resolved