-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault in mate-mouse-properties on Wayland #768
Comments
Mate-mouse properties right now only controls the mouse in x11 as it sets the x11 mouse properties. Not sure if this has any effect on
apps running under xWayland, so far it seems on my setup the mouse behavior in xWayland matches that in native wayland
except sometimes the cursor shown,
Thus, this should probably pop up an error dialog when invoked under Wayland, then close on click. In wayfire the mouse is controlled
from wcm->input and the results are written to the wayfire.ini file in use and read from there. Pretty sure wcm has code to force that
file to be reloaded on exiting a section of the gui, which would complicate a wayfire backend for mate-mouse-properties. Also this would
be compositor-specific and work only in wayfire.
|
I've opened a ticket with wayfire-config-manager asking them to add command-line switches for accessing plugins within wcm. This should allow us to integrate wcm with mate-control-center. e.g mouse/keyboard setup will launch with wcm --input which we can add to mate-control-center as a desktop shortcut. |
Thanks, that would be a real upgrade
|
I've submitted PR WayfireWM/wcm#94 to WCM which adds this enhancement. |
There is also an interesting issue there asking for support for controlling GTK theme, icon theme, font etc from WCM. I let them know this is simple as it just involved writing to gsettings. |
Expected behaviour
Mouse properties to open and run in mate-control-center
Actual behaviour
Segfault.
Steps to reproduce the behaviour
Compiled from source and installed. run either via mate-control-center or mate-mouse-properties in cli.
MATE general version
1.28
Package version
1.28.0
Linux Distribution
Debian
GDB Output:
Starting program: /home/james/development/mate/mate-control-center-1.28.0/capplets/mouse/mate-mouse-properties
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff61646c0 (LWP 602619)]
[New Thread 0x7fffed7ff6c0 (LWP 602620)]
[New Thread 0x7ffff59636c0 (LWP 602621)]
[New Thread 0x7ffff50fc6c0 (LWP 602622)]
[New Thread 0x7ffff48fb6c0 (LWP 602623)]
Thread 1 "mate-mouse-prop" received signal SIGSEGV, Segmentation fault.
0x0000000000000003 in ?? ()
(gdb) bt
#0 0x0000000000000003 in ??? ()
#1 0x00007ffff74f37b3 in XQueryExtension () at /lib/x86_64-linux-gnu/libX11.so.6
#2 0x000055555555882f in supports_xinput_devices () at ./capplets/mouse/msd-input-helper.c:36
#3 touchpad_is_present () at ./capplets/mouse/msd-input-helper.c:103
#4 0x0000555555557ac7 in setup_dialog (dialog=0x5555556bd040) at ./capplets/mouse/mate-mouse-properties.c:319
#5 main (argc=, argv=) at ./capplets/mouse/mate-mouse-properties.c:431
The text was updated successfully, but these errors were encountered: