! 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 !
Setting tab width to 33 crashes mousepad
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Alistair Buxton 2015-07-08 18:25:36 CEST
Created attachment 6378 
Patch to fix the mismatch

Due to a mismatch between gsettings schema and UI glade.

(mousepad:27389): GLib-GIO-CRITICAL **: GObject property 'value' on a 'GtkSpinButton' object is out of schema-specified range for key 'tab-width' of 'org.xfce.mousepad.preferences.view': 33
**
GLib-GIO:ERROR:/build/buildd/glib2.0-2.40.2/./gio/gsettings.c:2389:g_settings_binding_free: assertion failed: (!binding->running)


Downstream bug https://bugs.launchpad.net/ubuntu/+source/mousepad/+bug/1472690

Patch attached.

Should mousepad really crash on errors like this? Shouldn't it be a warning, rather than an assert/exit?
Comment 1 Matthew Brush editbugs 2015-07-09 01:51:42 CEST
Thanks for reporting and fixing.

See: http://git.xfce.org/apps/mousepad/commit/?id=15f4e5a47bd85d2cd831f65d6a66e548ad4d5708

Bug #12055

Reported by:
Alistair Buxton
Reported on: 2015-07-08
Last modified on: 2015-07-09

People

Assignee:
Matthew Brush
CC List:
1 user

Version

Target Milestone:
Mousepad 0.2.x

Attachments

Patch to fix the mismatch (886 bytes, patch)
2015-07-08 18:25 CEST , Alistair Buxton
no flags

Additional information