Bug 419710 - Ability to open multiple terminals in Kate
Summary: Ability to open multiple terminals in Kate
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 19.12.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-06 08:39 UTC by newbytee
Modified: 2021-08-04 21:08 UTC (History)
4 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 newbytee 2020-04-06 08:39:43 UTC
SUMMARY
I've been looking into switching to Kate, and one feature I really miss is the ability to open multiple terminals. As detailed below I found a bug about this, but it is from 2007 and does not seem to apply any more. 

STEPS TO REPRODUCE
1. Enable Terminal Tool View plugin
2. Notice that there is no way to open multiple instances of it or have tabs in it 

OBSERVED RESULT
Kate only lets you open one terminal

EXPECTED RESULT
Kate lets you open multiple terminals, either via multiple instances of the Document Tree View plugin or via tabs in the plugin. 

ADDITIONAL INFORMATION
I found this bug, but it was closed as RESOLVED FIXED yet the proposed solution does not work. Might have to do with that it is from 2007.

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

I also found this, but it is not very clear what this plugin is called and where I might find it.
Comment 1 newbytee 2020-04-06 08:40:18 UTC
Oops, forgot to add last bug mentioned. Here: https://bugs.kde.org/show_bug.cgi?id=145203
Comment 2 Robert-André Mauchin 2020-12-19 08:59:35 UTC
Please note that the tmux solution is subpar as it doesn't track the current document and makes it difficult to do long copy-paste operations.
Comment 3 Waqar Ahmed 2021-04-06 06:08:52 UTC
*** Bug 435398 has been marked as a duplicate of this bug. ***
Comment 4 shenlebantongying 2021-04-26 12:50:50 UTC
I tried to add a tab bar for the terminal, but only find out multi-tab is already half-implemented or multi-tabs doesn't fit the current model at all.

There is a "multiple tabs" now:

If your editor has multiple tabs, then when you change editor tabs, the terminal will change the path according to the editor tabs.

A heavy overhaul seems needed to add a tab bar, if we don't break current behaviour.
Comment 5 Bug Janitor Service 2021-07-31 18:25:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/470
Comment 6 Christoph Cullmann 2021-08-04 21:08:46 UTC
Git commit f9c3bbe730de9fcaed3999e1027a2f0c5538e430 by Christoph Cullmann, on behalf of Waqar Ahmed.
Committed on 04/08/2021 at 21:08.
Pushed by cullmann into branch 'master'.

Allow multiple tabs for Konsole plugin(s)

You can use "Ctrl + Shift + t" to create a new tab (when konsole plugin
has focus). Not sure how to make this more discoverable atm.
Related: bug 437922, bug 435398, bug 200322, bug 145203
Signed-off-by: Waqar Ahmed <waqar.17a@gmail.com>

M  +28   -1    addons/konsole/kateconsole.cpp
M  +2    -0    addons/konsole/kateconsole.h
M  +29   -0    addons/project/kateprojectinfoviewterminal.cpp
M  +2    -0    addons/project/kateprojectinfoviewterminal.h

https://invent.kde.org/utilities/kate/commit/f9c3bbe730de9fcaed3999e1027a2f0c5538e430