SUMMARY It would be nice to have the middle-click action on the empty area of the tab bar open a new tab, and middle-clicking on a tab itself to close it. It would provide similar functionality as a modern web browser.
Paging Dr. Canabrava! :)
*** Bug 361756 has been marked as a duplicate of this bug. ***
Git commit 42eb5132e0da4860b9fdd36b916f7d8fe7dbe5b0 by Kurt Hindenburg, on behalf of Shubham Jangra. Committed on 20/02/2019 at 01:50. Pushed by hindenburg into branch 'master'. Add close tab and create new tab on middle click event Summary: Click with the middle mouse click on a tab: close it Click with the middle click on empty portion of tab bar creates a new tab. This makes konsole more streamlined with default behavior found in other tabbed applications like browsers. GUI option to enable/disable closing tab w/ mouse button. The default is to have closing tab with button disabled to avoid possible data loss. Tomaz Canabrava <tcanabrava@kde.org> also coded portion of this. FIXED-IN: 19.04 GUI: Test Plan: {F6618852} Reviewers: ngraham, hindenburg, tcanabrava Reviewed By: ngraham, hindenburg Subscribers: emateli, thsurrel, ngraham, hindenburg, shubham, broulik, konsole-devel Tags: #konsole Differential Revision: https://phabricator.kde.org/D15742 M +27 -1 src/DetachableTabBar.cpp M +4 -0 src/DetachableTabBar.h M +4 -0 src/ViewContainer.cpp M +7 -0 src/settings/TabBarSettings.ui M +4 -0 src/settings/konsole.kcfg https://commits.kde.org/konsole/42eb5132e0da4860b9fdd36b916f7d8fe7dbe5b0
is this feature already available on neon dev unstable? I only can open a new tab with middle click. Nothing happens when I click a tab with the mouse wheel or with a touchpad (tap with two fingers).
You need to turn it on in Konsole's settings. Also, with a touchpad, middle-click is generally three fingers, not two.
(In reply to Nate Graham from comment #5) > You need to turn it on in Konsole's settings. It's working now. \o/ > Also, with a touchpad, middle-click is generally three fingers, not two. Yes. But I set my touchpad to do middle click when I tap with two fingers. :)