! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
endless loop when setting up mouse with XInput
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce-mcs
Component:
Plugins

Comments

Description Wolfgang Oertl 2008-03-31 07:48:59 CEST
I have experienced similar problems as bug #927 describes - which was closed due to insufficient feedback from the initial reporter.  After login on slim (the display manager), xfce4 starts but xfce-mcs-manager goes into a 100% cpu loop.  Eventually I can do something but everything is very slow.

  I have the XInput extension, and a Wacom tablet is attached. Some debugging shows an endless loop in mouse_plugin.c in function set_xinput_mouse_values.  The reason is obvious, using the same variable in an outer and iner loop.  Duh!

This hasn't been fixed in SVN head yet. I'll attach a patch for 4.4.2 but it should apply to SVN too.
Comment 1 Wolfgang Oertl 2008-03-31 07:53:18 CEST
Created attachment 1575 
Fixes the endless loop in the function set_xinput_mouse_values.

Due to recent changes in this function, won't apply to SVN trunk.
Comment 2 Wolfgang Oertl 2008-06-09 07:40:41 CEST
Today I downloaded the required packages from SVN snapshot 27044 (libxfce4mcs, libxfce4util, libxfcegui4, xfce-mcs-manager, xfce-mcs-plugins), compiled and tested the code. It works in my setup (10 XInput devices), the patch has been applied by oliver and it works for me.  Therefore I now set the bug to resolved.

Bug #3974

Reported by:
Wolfgang Oertl
Reported on: 2008-03-31
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information