Bug 205190

Summary: konsole caption is not correctly set when launching more than one konsoles from desktop shortcuts (*.desktop files)
Product: [Applications] konsole Reporter: Giorgos Pallas <gpall>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee, Ben.Kevan
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Giorgos Pallas 2009-08-26 13:31:28 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Problem reproduction:

Create on your desktop two program shortcuts for running konsole:

k1.desktop ->
user@debTest:~$ cat k1.desktop
[Desktop Entry]
Comment=
Comment[en_US]=
Exec[$e]=konsole --title "mytitle1"
GenericName=
GenericName[en_US]=
Icon=gnomemeeting
MimeType=
Name=k1
Name[en_US]=k1
Path[$e]=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
user@debTest:~$

and k2.desktop ->
user@debTest:~$ cat k2.desktop
[Desktop Entry]
Comment=
Comment[en_US]=
Exec[$e]=konsole --title "mytitle 2"
GenericName=k2
GenericName[en_US]=k2
Icon=gnomemeeting
MimeType=
Name=k2
Name[en_US]=k2
Path[$e]=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
user@debTest:~$

Then, from your desktop, find those shortcuts which should have terminal icons. Click on k1 and you will see that a konsole is opening with caption "mytitle1"

Close it. Then click on k2 and you see a console opening with caption "mytitle 2". OK, so both of them do what they are supposed to do. Now without closing the "mytitle 2" konsole, click on k1. A second konsole opens but without the correct "mytitle 1" caption. Instead it says "user" or something like that...

For people using their konsole captions for automated input (using keepassx for example) this is a much problematic bug...

thanks guys (and girls?) for this VERY helpful program!

G.
Comment 1 Jekyll Wu 2011-08-03 05:00:03 UTC
That is caused by konsole trying to be single process application when started from menu or shortcut. 

It is actually the same as bug #189184, although that one is about the --name option.

*** This bug has been marked as a duplicate of bug 189184 ***
Comment 2 Jekyll Wu 2011-11-24 08:15:55 UTC
*** Bug 286807 has been marked as a duplicate of this bug. ***