Bug 380455 - Option to open new tab when splitting
Summary: Option to open new tab when splitting
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: split-view (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-02 08:06 UTC by Gauthier POGAM--LE MONTAGNER
Modified: 2018-12-10 15:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 19.04


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gauthier POGAM--LE MONTAGNER 2017-06-02 08:06:17 UTC
Currently, it's not possible to easily split the screen and then open a new tab, you need to do both operations separately.

I would like to have an option which create automatically a new tab when I split screen. It exists on soft like tmux or terminator and I think it's really useful as splitting and opening tab are two operations I often do together.
Comment 1 Kurt Hindenburg 2018-12-10 15:02:14 UTC
Git commit 7a43e3b2cde05a70a38c0bcac39051b675425bf9 by Kurt Hindenburg, on behalf of Tomaz Canabrava.
Committed on 10/12/2018 at 15:02.
Pushed by hindenburg into branch 'master'.

Don't duplicate the tabs when Spliting the View

Summary:
Instead of iterating over the sessions to fetch the view and
duplicate the current screen once for each split, ignore all
of them and just create a new terminal view. The only thing
this terminal view shares with the previous current widget
is the profile.

use createView instead of manually trying to create the view

Fixes bug while closing the split

Don't duplicate tabs in the splits
Related: bug 385697
FIXED-IN: 19.04

Reviewers: thsurrel, hindenburg, gennad, ngraham, #konsole

Reviewed By: thsurrel, hindenburg, ngraham, #konsole

Subscribers: ngraham, hindenburg, gennad, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D17267

M  +11   -9    src/Application.cpp
M  +20   -21   src/MainWindow.cpp
M  +7    -4    src/MainWindow.h
M  +3    -4    src/Part.cpp
M  +6    -0    src/TerminalDisplay.cpp
M  +13   -19   src/ViewContainer.cpp
M  +4    -5    src/ViewContainer.h
M  +35   -71   src/ViewManager.cpp
M  +9    -5    src/ViewManager.h
M  +12   -0    src/ViewSplitter.cpp

https://commits.kde.org/konsole/7a43e3b2cde05a70a38c0bcac39051b675425bf9