Version: (using KDE 4.2.1) Compiler: gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) OS: Linux Installed from: Gentoo Packages Hi, I use "konsole -name xyz" to pass a x-window-class to the new konsole-window which i use to place the window with the window-matching feature. This works fine, when issued from a terminal. When i bind the same command to a key, konsole does not use the specified "-name" but takes it often (not always) from an already existing konsole-window. If there is no konsole-window, it takes the specified one.
This is a side effect of Konsole being a sort-of single-process application in KDE 4. When you start Konsole from a terminal it will start a new process. When you start from the GUI it creates an existing window for the new process. I don't know if it is possible to support a new window class for new windows in the same process.
Ok, that explaines why the left konsole is sometimes followed (when autostarted) and sometimes not. >I don't know if it is possible to support a new window class for new windows in >the same process. Wouldn't it suffice to have an option to force the creation of new process? Or just to create a new process, when the windowclass is set?
> Wouldn't it suffice to have an option to force the creation of new process? > Or just to create a new process, when the windowclass is set? No need for an option, we could just check for -name in the arguments list.
*** Bug 216626 has been marked as a duplicate of this bug. ***
*** Bug 205190 has been marked as a duplicate of this bug. ***
This problem also applies to the '--title' option, as in bug #205190
*** Bug 171152 has been marked as a duplicate of this bug. ***
This problem also applies to the '--icon' option, as in bug #171152
This is sort of fixed in recent konsole versions because there's an option to toggle running konsole in a single process, in Settings -> Configure Konsole, "Run all konsole windows in the same process". Resolving as fixed, if you disagree feel free to reopen the report.