| Summary: | kate part: scrollwheel on horizontal vertical only moves slider but not text | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Majin Sniper <majinsniper> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexrudd0, andresbajotierra, christoph, cuciferus, herve |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Before Wheel scrolling
After Wheel Scrolling |
||
|
Description
Majin Sniper
2008-02-26 20:00:20 UTC
Created attachment 23717 [details]
Before Wheel scrolling
Created attachment 23718 [details]
After Wheel Scrolling
It's probably in kateviewinternal.cpp. m_lineScroll is of type KateScrollBar. Some signals are connected, but not the signal QScrollBar::valueChanged(int). I don't have a wheel mouse :o anyone else? :) The bug 160981 is a duplicate of this. I can confirm this in KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686 Confirmed with kde 4.2>=20080709 on gentoo I can also reproduce this using: Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814)) kdelibs4.2 svn rev.849324 kdebase4.2 svn rev.849337 ArchLinux 2.6.25-zen2-20080814 i686 *** Bug 160981 has been marked as a duplicate of this bug. *** *** Bug 161412 has been marked as a duplicate of this bug. *** SVN commit 858143 by cullmann:
fix scrolling with wheel on scrollbar
BUG: 161412
M +5 -0 kateviewhelpers.cpp
M +1 -0 kateviewhelpers.h
--- trunk/KDE/kdelibs/kate/view/kateviewhelpers.cpp #858142:858143
@@ -196,6 +196,11 @@
}
}
+void KateScrollBar::wheelEvent(QWheelEvent *e)
+{
+ QCoreApplication::sendEvent(m_viewInternal, e);
+}
+
void KateScrollBar::marksChanged()
{
recomputeMarksPositions();
--- trunk/KDE/kdelibs/kate/view/kateviewhelpers.h #858142:858143
@@ -74,6 +74,7 @@
virtual void resizeEvent(QResizeEvent *);
virtual void styleChange(QStyle &oldStyle);
virtual void sliderChange ( SliderChange change );
+ virtual void wheelEvent(QWheelEvent *e);
protected Q_SLOTS:
void sliderMaybeMoved(int value);
I still have this bug in KDE 4.1.3/Kate 3.1.3 |