GNOME Bugzilla – Bug 703623
Brightness OSD does not work anymore
Last modified: 2013-07-05 13:48:11 UTC
After pressing the brightness keys in the keyboard, the following is printed instead of displaying the brightness OSD: (gnome-settings-daemon:192940): GLib-GIO-WARNING **: Type of return value is incorrect: expected '(i)', got '(u)'' (gnome-settings-daemon:192940): media-keys-plugin-WARNING **: Failed to set new screen percentage: Timeout was reached The following is also printed immediately after starting gnome-settings-daemon. I don't know if it's related. (gnome-settings-daemon:192940): GLib-GObject-WARNING **: value "100.000000" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble' gnome-settings-daemon 3.9.3.r16.g1a5bd57
Created attachment 248434 [details] [review] media-keys: Fix brightness for new power API
Attachment 248434 [details] pushed as 5f188fe - media-keys: Fix brightness for new power API
(In reply to comment #0) > After pressing the brightness keys in the keyboard, the following is printed > instead of displaying the brightness OSD: > > (gnome-settings-daemon:192940): GLib-GIO-WARNING **: Type of return value is > incorrect: expected '(i)', got '(u)'' > > (gnome-settings-daemon:192940): media-keys-plugin-WARNING **: Failed to set new > screen percentage: Timeout was reached That's fixed. > The following is also printed immediately after starting gnome-settings-daemon. > I don't know if it's related. > > (gnome-settings-daemon:192940): GLib-GObject-WARNING **: value "100.000000" of > type 'gdouble' is invalid or out of range for property 'percentage' of type > 'gdouble' That's not. If it still happens, run: gdb --args /path/to/gnome-settings-daemon -r --g-fatal-warnings And gather the backtrace in a new bug.
Built 5f188fe; the "out of range" warning went away – but it still complains about the incorrect return value type (the error message remains exactly the same). (Is it okay to change status to "Unconfirmed" in such cases?)
Really fixed in master. Best test the changes next time...