Bug 70294

Summary: [PATCH] permit use of mouse wheel to switch between tabs
Product: [Applications] konqueror Reporter: tnagy <tnagy256>
Component: tabbingAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: dr.dee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch for scrolling tabs in konqueror

Description tnagy 2003-12-13 13:06:15 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

Like in the kde pager where the mouse wheel helps switching desktops, the mouse wheel could be used in the tabwidgets to switch between the tabs. In my opinion this behaviour is better than the point and click when many tabs are opened.

I have tried to add this feature to konqueror and made a patch for it. However it only works when the mouse is on the tabwidget and not on the tabbar. In fact, when scrolling on the tabbar, the scroll event is redirected to the page opened and not to the tabwidget. It even happens when scrolling on a disabled tab, which is in my opinion a bit counter-intuitive.

I have thought about subclassing a tabbar, but it would require to do that for every tabwidget encountered (konsole, kdevelop, konversation ..). Would it be possible to change the class KTabBar to obtain this behaviour with the mouse wheel ?
Comment 1 tnagy 2003-12-13 13:09:48 UTC
Created attachment 3676 [details]
patch for scrolling tabs in konqueror

The wish/bug is mostly related to kdelibs. Here is the patch I have made for
konqueror.
Comment 2 Maksim Orlovich 2004-03-14 17:16:08 UTC
*** Bug 77575 has been marked as a duplicate of this bug. ***
Comment 3 Stephan Binner 2004-03-21 21:16:56 UTC

*** This bug has been marked as a duplicate of 77946 ***