To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85893
                 Issue #|85893
                 Summary|mouse wheel scrolling does not work at all when using 
                        |a Wacom Tablet mouse
               Component|framework
                 Version|OOo 2.3.1
                Platform|PC
                     URL|
              OS/Version|Windows Vista
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|tm
             Reported by|martindev





------- Additional comments from [EMAIL PROTECTED] Tue Feb  5 18:18:52 +0000 
2008 -------
I use a Wacom Tablet Intuos 2 mouse (http://www.wacom-europe.com) which has a 
joystick like wheel (no detents, spring loaded). Scrolling will not work in any 
OO-
App, neither on workspace, nor in panels or even help window which is really 
painful.
Scrolling by holding middle button depressed plus moving the mouse works but it 
is 
by far not as convenient and fast.
Using notebook touchpad everything works fine, though, which means the problem 
is 
device related.
I use lots of Windows apps and wheel scrolling works fine with everything 
except 
OpenOffice. So I think OO does something wrong and I guess it is caused by some 
WHEEL_DELTA threshold beeing too specific/high.

I wrote simple C++ and C# test apps to report mouse wheel data for my devices. 
It 
turnes out that Wacom driver always reports wheel delta +40 or -40, independet 
of 
driver settings (mouse wheel slow, medium, fast etc.). So I cannot fix the 
problem 
by adjusting driver settings.
Notebook touchpad always reports values equal or larger than +/-120.

Following paragraph taken from: http://msdn2.microsoft.com/en-us/library/
system.windows.forms.mouseeventargs.delta.aspx

The mouse wheel combines the features of a wheel and a mouse button. The wheel 
has 
discrete, evenly spaced notches. When you rotate the wheel, a wheel message is 
sent as each notch is encountered. One wheel notch, a detent, is defined by the 
windows constant WHEEL_DELTA, which is 120. A positive value indicates that the 
wheel was rotated forward, away from the user; a negative value indicates that 
the 
wheel was rotated backward, toward the user. Currently, a value of 120 is the 
standard for one detent. If higher resolution mice are introduced, the 
definition 
of WHEEL_DATA might become smaller. Most applications should check for a 
positive 
or negative value rather than an aggregate total.

Lines from my test code:
C++
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
...
  case WM_MOUSEWHEEL:
        // GET_WHEEL_DELTA_WPARAM Macro; Declared in Winuser.h, include 
Windows.h
        zDelta = GET_WHEEL_DELTA_WPARAM(wParam);
        // reported zDelta value:
        //              Wacom Tablet Mouse: +/- 40
        //              Notebook Touchpad: +/- >=120

        TCHAR buf[MAX_LOADSTRING];
        swprintf_s(buf, MAX_LOADSTRING, L"GET_WHEEL_DELTA_WPARAM(wParam) : %d", 
zDelta);

        MessageBox(hWnd, buf, L"WM_MOUSEWHEEL", MB_OK | MB_ICONINFORMATION);
        break;


C#
private void panel1_MouseWheel(object sender, 
System.Windows.Forms.MouseEventArgs 
e)
{
        MessageBox.Show("MouseEventArgs.Delta: " + e.Delta.ToString(), 
"MouseWheel", MessageBoxButtons.OK, MessageBoxIcon.Information);
}

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to