[konsole] [Bug 506361] New: --new-tab doesn't work if it's after -e

Damglador bugzilla_noreply at kde.org
Sun Jun 29 20:18:46 BST 2025


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

            Bug ID: 506361
           Summary: --new-tab doesn't work if it's after -e
    Classification: Applications
           Product: konsole
      Version First 25.04.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: vse.stopchanskyi at gmail.com
  Target Milestone: ---

SUMMARY
I have «Run all Konsole windows in a single process» enabled and trying to
execute something with «konsole -e <command> --new-tab» and it just opens a new
Konsole window, but if I do «konsole --new-tab -e <command>» it opens a new tab
in existing window as it should. At first I thought it didn't work at all,
because I'm used to adding flags at the end and konsole --help doesn't mention
that «--new-tab» should be at the begging. 

STEPS TO REPRODUCE
1. Do konsole -e sleep 20 --new-tab
2. Do konsole --new-tab -e sleep 20 

OBSERVED RESULT
konsole --new-tab -e sleep 20 opens a new window and instantly closes it. But
if the command is not valid it falls back to shell and deosn't close the window
konsole -e sleep 20 --new-tab opens a new tab as it should

EXPECTED RESULT
--new-tab should work no matter the placement in the arguments

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (13.5 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list