After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616288 - lightsoff doesn´t work with other GTK-Engines than Clearlooks
lightsoff doesn´t work with other GTK-Engines than Clearlooks
Status: RESOLVED OBSOLETE
Product: lightsoff
Classification: Applications
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: GNOME Games maintainers
Robert Carr
Depends on:
Blocks:
 
 
Reported: 2010-04-20 14:31 UTC by vamp898
Modified: 2013-09-05 22:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description vamp898 2010-04-20 14:31:39 UTC
If you run lightsoff with an other GTK-Engine than Clearlooks (for example murrina) you get this

http://img44.imageshack.us/img44/4812/bildschirmfoto20.jpg
Comment 1 Ionut Biru 2010-04-20 14:35:48 UTC
running from terminal brings up some exceptions in seed. I don't know if if seed fault or lightsoff not taking care of them:

Couldn't load selected theme...

(seed:25821): GLib-GObject-CRITICAL **: g_value_transform: assertion `G_IS_VALUE (src_value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

** (seed:25821): WARNING **: Exception in instance construction. Line 17 in Light.js: TypeError Result of expression 'Settings.theme.light' [undefined] is not an object. 


** (seed:25821): WARNING **: Exception in instance construction. Line 12 in Board.js: TypeError Result of expression 'Settings.theme.light' [undefined] is not an object. 


(seed:25821): GLib-GObject-CRITICAL **: g_value_transform: assertion `G_IS_VALUE (src_value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_transform: assertion `G_IS_VALUE (src_value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_transform: assertion `G_IS_VALUE (src_value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_transform: assertion `G_IS_VALUE (src_value)' failed

(seed:25821): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

** (seed:25821): WARNING **: Exception in instance construction. Line 182 in Board.js: TypeError Result of expression 'lights[x][y]' [undefined] is not an object.
Comment 2 Ionut Biru 2010-04-20 14:42:31 UTC
additional packaging info:

seed 2.30.0
gtk-engines 2.20.1
gobject-introspection 0.6.10

fill free to ask any questions or additional info
Comment 3 Egor Vyscrebentsov 2011-02-07 15:12:42 UTC
Reason:

/usr/share/gnome-games/lightsoff/themes/tango/theme.js @ reload_theme()

    // TODO: there must be a better way to get the Gtk selection color
    var gtk_settings = Gtk.Settings.get_default();
    var gtk_color_scheme = gtk_settings.gtk_color_scheme;
    var c = new Clutter.Color();
    c.from_string(gtk_color_scheme.match(/selected_bg_color: (.*);?/)[1]);

Not every theme has gtk_color_scheme in its [/usr/share/themes/$THEME/gtk-2.0/]gtkrc. Guess there should be a fallback when gtk_color_scheme is undefined.
Comment 4 Michael Catanzaro 2013-09-05 22:41:40 UTC
I don't think we touch themes at all in the Vala version.  Please do reopen if this is still an issue.