Hi, first of all I don't know how to formulate the topic for this problem, maybe you can rephrase it. Problem is following: I have custom scripts which runs a konsole session with predefined command to execute: konsole -e "cmd". I use it to call remote ssh session, but for simplicity I will use example with gdb which also reproduces my problem. so my custom scripts looks following: -- CUT HERE -- ~/bin/kons_gdb -- #!/bin/bash konsole -e "gdb" -- END -- Then I have desktop entry for the runner for this script: -- CUT HERE -- ~/.local/share/applications/kgdb.desktop -- [Desktop Entry] Comment= Exec=/home/user/bin/kons_gdb GenericName=GDB in Konsole demo Name=kons_gdb NoDisplay=false Path[$e]= StartupNotify=true Terminal=0 TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username= -- END -- Now, following steps should reproduce my problem: 1. Invoke krunner (Alt+F2) and type: konsole Konsole window should open 2. Invoke krunner and type: kons_gdb Konsole window with gdb should open 3. Invoke krunner and type: konsole Konsole window with gdb is open, but normal konsole should be started 4. Close windows open is steps 2 and 3 5. Invoke krunner and type: konsole Again gdb is seen 6. Close windows open in 5 and 1 7. Invoke krunner and type: konsole Normal konsole is open At this moment I don't know whether krunner invokes wrong *.desktop entry (kons_gdb instead of konsole) or konsole somehow remember the last -e "cmd" option and calls it. Rafal
Created attachment 103469 [details] htop output showing the bug This attachment shows three konsole processes. The first one was created through Intellij external tool facility. The other two processes were created through krunner using only "konsole" as input. It seems that the two new instances copied the arguments used to start the first one. Besides that, I can read the environment variables of the first process in all other konsole windows.
Is this still an an issue? TBH I find the problem really confusing, it might be related to BUG 417050
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!