Bug 385697 - New session in split view
Summary: New session in split view
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: split-view (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 12:48 UTC by Tomsk
Modified: 2018-12-10 15:02 UTC (History)
2 users (show)

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 Tomsk 2017-10-13 12:48:31 UTC
Hello,

if I split view in Konsole, it just split view in same session.

I would like to see split view functionality in Konsole like in Terminator.

This split view functionality in Konsole is useless, because if I want a new session I need to open a new tab, but I dont want to open new tabs, I hate tabs.

So for now Im going to use Terminator.
Comment 1 Egmont Koblinger 2017-10-13 13:08:27 UTC
Indeed what Konsole and Terminator do are two completely different things.

What Konsole has is called "split view" because it indeed splits the _view_ of the given terminal emulator session.

Note that Terminator doesn't call its feature "split view", it avoids using the word "view" exactly because it does not offer multiple "views" to the same terminal. The feature it provides is simply called "split" in the menu, or "split terminals" in the manual page.

Another popular choice for the so-called "paned" interface (what you're asking for) is Tilix, which calls the same feature "Add terminal right/down".

(On the other hand, Terminator, Tilix and other VTE-based emulators cannot do a konsole-like "split view" because the underlying VTE terminal emulation widget doesn't support this.)

(I'm not a konsole developer so I cannot comment on whether this feature will be implemented.)
Comment 2 Daniel 2017-10-13 13:32:22 UTC
Thank you for explanation, so yea, I want option to add new terminal session to right/down like in Terminator :) I hope it will be possible.
Comment 3 Tomsk 2017-10-13 18:08:14 UTC
@Egmont Koblinger I hope that it will be implemented :)
Comment 4 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 380455
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