Bug 207270

Summary: option to close kmail tabs with middle click
Product: [Applications] kmail Reporter: Janet <bugzilla>
Component: new message listAssignee: Szymon Stefanek <pragma>
Status: RESOLVED FIXED    
Severity: wishlist CC: bjoern, kdebugs.99.urgwurz, sergiosdj
Priority: NOR Keywords: junior-jobs
Version: 1.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Bug 207270

Description Janet 2009-09-13 18:52:40 UTC
Version:           1.12.1 (using 4.3.1 (KDE 4.3.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-0.slh.1-sidux-686

It's nice to be able to open several mail folders in tabs in kmail. Alas it is not possible to close the tabs with a middle mouse click like it is e.g. in dolphin and webbrowsers. It would be more convenient to have a consistent tab closing behaviour throughout all applications.
Comment 1 Christophe Marin 2011-02-16 12:56:10 UTC
*** Bug 260708 has been marked as a duplicate of this bug. ***
Comment 2 mariusknaust 2011-06-12 00:14:30 UTC
Created attachment 60917 [details]
Bug 207270
Comment 3 mariusknaust 2011-06-12 14:34:14 UTC
Comment on attachment 60917 [details]
Bug 207270

Possible fix using ktabwidget instead of qtabwidget and a eventFilter to catch the MidButton MouseButtonPress event to avoid the tab selection.
May not confirm to the pimple idiom.
Comment 4 Thomas McGuire 2011-06-18 17:19:09 UTC
Git commit 569903cef49e4e40b5eac86ec052a07f5d57b231 by Thomas McGuire, on behalf of Marius Knaust.
Committed on 18/06/2011 at 17:17.
Pushed by tmcguire into branch 'master'.

Make it possible to close tabs with the middle mouse button.

Possible fix using KTabWidget instead of QTabWidget and a eventFilter to
catch the MidButton MouseButtonPress event to avoid the tab selection.

BUG: 207270
REVIEW: 101632

M  +23   -2    messagelist/pane.cpp     
M  +5    -2    messagelist/pane.h     

http://commits.kde.org/kdepim/569903cef49e4e40b5eac86ec052a07f5d57b231
Comment 5 Peter Paulsen 2011-07-12 13:22:05 UTC
I guess this will be fixed in Kmail 2?