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

            Bug ID: 487564
           Summary: killing an app that gets started with a defined
                    shortcut kills the whole plasma session
    Classification: Plasma
           Product: krunner
           Version: 6.1.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: rauchwo...@gmx.net
                CC: alexander.loh...@gmx.de, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
killing an app that gets started with a defined shortcut kills the whole plasma
session

the actual script used called - ~/foo.sh
"
#!/bin/bash

trap "exit" INT TERM ERR
trap "{ kill 0; }" EXIT

sleep 1000 &
wait
"

STEPS TO REPRODUCE
1. define a shortcut - Add new -> "Command and Script", as command set ~/foo.sh
and define a keyboard shortcut
2. activate the command by pressing the keyboard shortcut
3. open a konsole window and run - killall foo.sh

OBSERVED RESULT
the whole /usr/bin/startplasma-x11 session gets killed

EXPECTED RESULT
the script should get killed, the /usr/bin/startplasma-x11 session should be
unaffected

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1 (64-bit)
Graphics Platform: X11
Memory: 38.8 GiB of RAM
Graphics Processor: Mesa IntelĀ® UHD Graphics 620

ADDITIONAL INFORMATION

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

Reply via email to