Bug 419370

Summary: [regression] New tab does not create tab in a view
Product: [Applications] konsole Reporter: DimanNe <dimanne>
Component: split-viewAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: khindenburg, nate, tcanabrava
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description DimanNe 2020-03-29 10:57:09 UTC
SUMMARY
Today I upgraded to Kubuntu 20.04 (beta) and discovered that "New Tab" and "Split View" features interaction has been drastically changed (looks like a regression). The problem is that it has become impossible to open tab *in* a view. On the contrary, I can only split views in different tabs.

STEPS TO REPRODUCE
1. Open Konsole
2. Split view (View -> Split View -> Split view Top/Bottom)
3. Try to open a tab in the current view (File -> New Tab)

OBSERVED RESULT
New tab is opened, but there is no previously created views (in step 2), instead it is just new completely blank space without the views I have create at the second step.


EXPECTED RESULT
A new tab is opened in an *existing* view.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.5
Kernel Version: 5.4.0-18-generic
OS Type: 64-bit
Processors: 6 × , 6 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 62.7 GiB of RAM


ADDITIONAL INFORMATION
I will be happy to any workaround... The new behaviour makes me switch the context/attention frequently.
Comment 1 DimanNe 2020-03-29 10:59:47 UTC
P.S. It is so annoying that I am fine with the option of recompiling Konsole from sources with the commits (that introduced this behaviour) reverted. So if the change was intentional, can you please share which commits it were?
Comment 2 DimanNe 2020-03-29 11:25:09 UTC
*perhaps* it is this commit - https://cgit.kde.org/konsole.git/commit/?id=6e8153a78e3c63e514a6ecb62f6c9b4b504e7eb7
Comment 3 Nate Graham 2020-04-15 00:20:12 UTC

*** This bug has been marked as a duplicate of bug 417013 ***
Comment 4 tcanabrava 2020-05-20 09:14:11 UTC
DimanNe,

The split View feature interation has indeed been drastically changed (and no, it's not a regression) to allow splits to actually split into multiple terminals.

The old behavior just created a mirror of the current tab and duplicated it's views, but you could not create complex layouts for a task (for instance, I usually have a layout that resembles this.

 --------
 |   |  |
 |   |  | where each pane is a terminal, and it's doing a
 |   |--| separated thing. Konsole was the only terminal 
 |   |  | doing the 'mirror' thing in all of the terminal
--------- applications.

You can move terminals via Ctrl + Arrow Key, and you can rearrange the positions visually by dragging the Header Bar, you can even move them to a new tab by dragging it.

If you want to have a 'mirror' feature like in the previous version of konsole, this can be implemented. Would you mind trying to submit a patch for a Mirror feature that does not remove the current split functionality?