Bug 207270 - option to close kmail tabs with middle click
Summary: option to close kmail tabs with middle click
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: new message list (show other bugs)
Version: 1.12.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Szymon Stefanek
URL:
Keywords: junior-jobs
: 260708 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-13 18:52 UTC by Janet
Modified: 2011-07-12 13:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Bug 207270 (3.47 KB, patch)
2011-06-12 00:14 UTC, mariusknaust
Details

Note You need to log in before you can comment on or make changes to this bug.
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?