Hi Cedric,
thanks, that information is helpful. I found the code in VCL for the
scrollbar. When I've got some time, I'll try to get familiar with gdb
and have a closer look at it.
Samuel
Am 28.01.2013 13:31, schrieb Cedric Bosdonnat:
Hi Samuel,
On Sat, 2013-01-26 at 11:21 +0100, Samuel Mehrbrodt wrote:
I would like to work on Bug #43650 [1].
The bug is about disabling the tooltip showing Title/Page number when
scrolling in Writer. But it should only be disabled when scrolling with
the mouse wheel, not when dragging the scroll bar. From this Apache
patch [2] I can see where the tool tip is drawn.
What I want to do different than Apache does, is that whether the tool
tip is shown or not, should not be based on a configuration setting, but
on whether one is using the mouse wheel.
Can someone please have a look at it and give me a code pointer for that?
The ScollbarHdl doesn't tell you how this has been triggered. I think
you'll have to have a look at the ScrollBar vcl control to add that
information... Some debugging may also help to see the difference
between scrolling with the wheel or by dragging the lift.
I hope this helps,
--
Cedric
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice