Summary: | improper value of WM_CLASS property | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Mikolaj Machowski <mikmach> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fredrik, hawk, l.lunak, magnus.larsson.k, rdieter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Mikolaj Machowski
2004-06-25 09:31:36 UTC
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. |