<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>380455</bug_id>
          
          <creation_ts>2017-06-02 08:06:17 +0000</creation_ts>
          <short_desc>Option to open new tab when splitting</short_desc>
          <delta_ts>2018-12-10 15:02:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>split-view</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gauthier POGAM--LE MONTAGNER">gplm+kde</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          
          
          <cf_commitlink>https://commits.kde.org/konsole/7a43e3b2cde05a70a38c0bcac39051b675425bf9</cf_commitlink>
          <cf_versionfixedin>19.04</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1678964</commentid>
    <comment_count>0</comment_count>
    <who name="Gauthier POGAM--LE MONTAGNER">gplm+kde</who>
    <bug_when>2017-06-02 08:06:17 +0000</bug_when>
    <thetext>Currently, it&apos;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&apos;s really useful as splitting and opening tab are two operations I often do together.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825573</commentid>
    <comment_count>1</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2018-12-10 15:02:14 +0000</bug_when>
    <thetext>Git commit 7a43e3b2cde05a70a38c0bcac39051b675425bf9 by Kurt Hindenburg, on behalf of Tomaz Canabrava.
Committed on 10/12/2018 at 15:02.
Pushed by hindenburg into branch &apos;master&apos;.

Don&apos;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&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>