#270 Mouse wheel regression (worked in 1.5.0)

open
nobody
5
2012-11-29
2008-05-30
No

Using the mouse wheel to scroll used to work in rdesktop 1.5.0 but now with 1.6.0 or even the current cvs head it is just ignored.
I'm connecting to a Windows Server 2003 machine which has all the latest updates installed.
Regards
Dennis

Discussion

  • mike_622

    mike_622 - 2008-05-30

    Logged In: YES
    user_id=1849989
    Originator: NO

    Confirmed. I just headed to the mailing list to see if anyone else had this issue. Looks like it's not just me.

    If information or testing is required please let me know.

     
  • yrtimiD

    yrtimiD - 2008-06-16

    Logged In: YES
    user_id=1938901
    Originator: NO

    Confirm:
    connecting to Win Server 2003.
    1.5.0 - worked
    1.6.0 - stopped.

     
  • mike_622

    mike_622 - 2008-06-26

    Logged In: YES
    user_id=1849989
    Originator: NO

    Commenting out line 2193 in xwin.c and recompiling rdesktop seems to work:

    --- orig/rdesktop-1.6.0/xwin.c 2008-05-10 23:14:38.000000000 -0700
    +++ rdesktop-1.6.0/xwin.c 2008-06-26 15:36:53.959127659 -0700
    @@ -2190,7 +2190,7 @@
    receive physical buttons (true in mstsc as well) and
    logical button behavior depends on the remote desktop's own
    mouse settings */
    - xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1];
    + /* xevent.xbutton.button = g_pointer_log_to_phys_map[xevent.xbutton.button - 1]; */
    button = xkeymap_translate_button(xevent.xbutton.button);
    if (button == 0)
    return;