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

            Bug ID: 373186
           Summary: Krunner runs wrong konsole session
           Product: krunner
           Version: 5.8.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@privat.broulik.de
          Reporter: rafalla...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to