Bug 425398 - new-tab does not open a new tab, opens a new window
Summary: new-tab does not open a new tab, opens a new window
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-15 19:54 UTC by Patafurdio
Modified: 2020-11-26 17:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patafurdio 2020-08-15 19:54:54 UTC
SUMMARY


STEPS TO REPRODUCE
1. open konsole
2. konsole --new-tab -e /bin/sh -c "cd /media/; ./program.sh;"
3. konsole --new-tab -e /bin/sh -c "cd /media-other/; ./other-program.sh;"

OBSERVED RESULT
opens a new window in version 20.08 in the first time it is executed step number 2
opens a new window when executed step 3

EXPECTED RESULT
to open a new window on step 2 but it should open new-tab (on second window) on step number 3, but instead opens a new window

SOFTWARE/OS VERSIONS
Linux: 5.8.1-arch1-1
KDE Plasma: 5.85.19.4
(available in About System)
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
usually open one konsole, paste several commands that open a second window and all other commands are in new-tabs on the second window.
this was working fine before unti 20.04 but in 20.08 just opens new windows.
I updated today my Arch Linux.
Comment 1 Patafurdio 2020-08-15 19:59:04 UTC
Downgraded to 20.04 and it works again.I have konsole-20.04.3-1-x86_64.pkg.tar.zst on my cache.
Comment 2 tcanabrava 2020-08-15 21:41:07 UTC
Please go to konsole settings -> General -> Run all konsole windows in a single session.

This happens because a fix for konsole multi-session mode changed the behavior, and now if konsole runs with multiple sessions there's no way to open a tab in a specified PID.

*currently* this is considered more an annoyance (as it's fixed by a simple settings change) but we are looking for alternatives on how to properly fix this even in multiple PID's.
Comment 3 Patafurdio 2020-08-15 21:57:37 UTC
(In reply to tcanabrava from comment #2)
> Please go to konsole settings -> General -> Run all konsole windows in a
> single session.
> 
> This happens because a fix for konsole multi-session mode changed the
> behavior, and now if konsole runs with multiple sessions there's no way to
> open a tab in a specified PID.
> 
> *currently* this is considered more an annoyance (as it's fixed by a simple
> settings change) but we are looking for alternatives on how to properly fix
> this even in multiple PID's.

Thanks, it works.