[Konsole-devel] [Bug 216626] New: Window class (WM_CLASS) not set via the command line switch "konsole --name foo" if konsole is already running

Frederic frederic at garzon.fr
Sun Nov 29 10:39:49 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=216626

           Summary: Window class (WM_CLASS) not set via the command line
                    switch "konsole --name foo" if konsole is already
                    running
           Product: konsole
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: frederic at garzon.fr


Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    openSUSE RPMs

If I run (with no other konsole running) 
konsole --name "foo"

then the WM_CLASS property is set (properly) as :
WM_CLASS(STRING) = "foo", "Konsole"

but If I already have a konsole running, then starting "konsole --name foo"
won't set the WM_CLASS:
WM_CLASS(STRING) = "Qt-subapplication", "Konsole"

What's weird, is that if the command line is executed from a running konsole,
then the --name switch will work. the bug is only triggered when the command
line is run from elsewhere (I use a ""link to application"  icon on the
desktop).

If there are no other konsole running, then launching the konsole --name foo
via the icon WILL set the WM_CLASS property... but after that, the other
konsole started from the regular menu (without the --name switch) will have the
wrong WM_CLASS (foo)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list