Bug 77946 - scroll the tabs with mouse wheel
Summary: scroll the tabs with mouse wheel
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 70294 72213 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-18 21:04 UTC by Maciek Borowka
Modified: 2004-07-14 20:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciek Borowka 2004-03-18 21:04:16 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages

When many tabs are opened, kde shows a little "<" ">" at the left 
in order to let you scroll through tabs. It would be nice
to be able to achieve the same goal with the mouse wheel while
the cursor is over the tabs.

There is already such a bug reported for an old version of
Kdevelop (http://bugs.kde.org/show_bug.cgi?id=72213), but
it's not exactly the same (it talks about the horizontal
wheel only) and this wish applies to other applications as well.
Comment 1 Stephan Binner 2004-03-21 21:16:31 UTC
*** Bug 72213 has been marked as a duplicate of this bug. ***
Comment 2 Stephan Binner 2004-03-21 21:16:57 UTC
*** Bug 70294 has been marked as a duplicate of this bug. ***
Comment 3 Stephan Binner 2004-05-09 12:42:38 UTC
*** Bug 80466 has been marked as a duplicate of this bug. ***
Comment 4 Stephan Binner 2004-05-09 15:04:05 UTC
*** Bug has been marked as fixed ***.
Comment 5 Maciek Borowka 2004-05-24 11:27:21 UTC
Just checked out. Works wonderfully. Thanks Stephan!
Comment 6 Maciek Borowka 2004-05-24 15:36:15 UTC
Ouch, I was a little bit too quick...
There is a small glitch with this function:
When I edit a small file (with very few lines)
and I use the wheel, nothing should happen. Unfortunately, KDevelop
changes the actual file... This can be disturbing...

It's not very important, though. If you have 3 minutes, Stepham,
could you take a look at it? Please.. ;+)
Comment 7 Stephan Binner 2004-05-27 21:12:39 UTC
I don't understand what you mean? KDevelop? What interface mode? Why does existance of tabsa depend on length of the edited file?
Comment 8 Agron 2004-05-28 04:38:54 UTC
Thank you linux programmers. My wish came true.
Comment 9 Agron 2004-05-28 04:45:18 UTC
Stephan this feature is working on KDE 3.3 Alpha 1. But it only works with the vertical wheel. If the mouse has a horizontal wheel it is ignoring it completely, whereas the scrollbars function properly with both mouse wheels.
Comment 10 Stephan Binner 2004-05-28 09:33:26 UTC
Initially the orientation didn't matter until a two wheel mouse button owner complained about it (http://lists.kde.org/?l=kde-cvs&m=108411085019610&w=2). Now what? :-)
Comment 11 Maciek Borowka 2004-05-28 12:25:20 UTC
Ouch, I am really not clear here...

Let me explain:
The application I noticed this bug in is KDevelop. Everything is all-right now, it seems to work very nicely: when I have a lot of files open, I can change the active file (=chaging tabs) with my scroll wheel ONLY if the cursor is over the tabs -> this is a correct behaviour.

The only glitch is when the file I am currently editing is short and thus KDevelop doesn't show the vertical scrollbar in the editing area. In that case mouse wheel changes the tabs even if the cursor is elsewhere and not on the tabs.

It seems the problem is the missing vertical scrollbar (it is not really missing, but it doesn't move). Instead of doing nothing, KDE interprets my scroll-wheel movement and changes the tabs. 

I don't really know whether it is KDevelop bug or kdelibs bug. I can fill another request if you want.
Comment 12 Stephan Binner 2004-05-28 14:15:46 UTC
KTabWidget now ignores wheel events outside the tabbar area.
Comment 13 jakubpol 2004-07-12 03:34:01 UTC
Is there a way to switch off scrolling tabs with mouse wheel? I find it very annoying.
Comment 14 Stephan Binner 2004-07-14 20:58:53 UTC
No.