Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc3.3.1 OS: Linux Konsole has wrong value of WM_CLASS. Check with xprop | grep WM_CLASS It is "Qt-subapplication" not (k|K)onsole.
This is because konsole now opens the X-display itself and passes an open X-connection to QApplication. This causes QApplication to use different values for qAppName and qAppClass. QApplication also doesn't parse command line options this way so this needs to be done differently.
*** Bug 85263 has been marked as a duplicate of this bug. ***
CVS commit by waba: Disable COMPOSITE, the QApplication constructor required for it doesn't parse command line arguments and fails to set qAppClass. (BR83974) Can be reenabled once Qt has proper support for it. CCMAIL: 83974-done@bugs.kde.org M +6 -0 main.cpp 1.268 --- kdebase/konsole/konsole/main.cpp #1.267:1.268 @@ -35,7 +35,11 @@ #include "konsole.h" +// COMPOSITE disabled by default because the QApplication constructor +// needed to enable the ARGB32 visual has undesired side effects. +#if 0 #if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300 # define COMPOSITE #endif +#endif #ifdef COMPOSITE @@ -64,5 +68,7 @@ static KCmdLineOptions options[] = { "noscrollbar", I18N_NOOP("Do not display scrollbar"), 0 }, { "noxft", I18N_NOOP("Do not use Xft (Anti-Aliasing)"), 0 }, +#ifdef COMPOSITE { "noargb", I18N_NOOP("Do not use the ARGB32 visual (Transparency)"), 0 }, +#endif { "vt_sz CCxLL", I18N_NOOP("Terminal size in columns x lines"), 0 }, { "noresize", I18N_NOOP("Terminal size is fixed"), 0 },
Seems like this bug has been re-introduced in KDE 3.5.7 (Konsole 1.6.6). xprop yields WM_CLASS(STRING) = "Qt-subapplication", ""
Ditto. Reopening.
Yes, my bad. I think I have a patch provided by Lubos to fix this.
Qt-copy patch #0078 and r669488 should fix this in a gross way for KDE3. Keeping open as the KDE4 way should be preferably somewhat nicer.
*** Bug 146151 has been marked as a duplicate of this bug. ***
Fixed in KDE4 too.