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 693092 - totem-plugin-viewer: Gdk-WARNING **: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
totem-plugin-viewer: Gdk-WARNING **: The GDK_NATIVE_WINDOWS environment varia...
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-03 13:31 UTC by Paul Menzel
Modified: 2014-04-17 20:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2013-02-03 13:31:02 UTC
Using Debian Sid/unstable with Chromium 22.0.1229.94~r16106 and Totem 3.4.2-1, accessing the site <http://www.merriam-webster.com> and playing the pronunciation with the Totem plugin in, the following error messages are printed to the terminal.

        […]
        (totem-plugin-viewer:9375): Gdk-WARNING **: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
        See the documentation for gdk_window_ensure_native() on how to get native windows.
        Referrer URI: http://www.merriam-webster.com/audio.php?file=crayon01&word=crayon&text=%5C%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Ekr%C4%81-%3Cspan%20class%3D%22unicode%22%3E%CB%8C%3C%2Fspan%3E%C3%A4n%2C%20-%C9%99n%20%3Cem%3Ealso%3C%2Fem%3E%20%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Ekran%5C

        (totem-plugin-viewer:9375): Gtk-CRITICAL **: gtk_widget_realize: assertion `widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed
        TotemEmbedded-Message: Viewer state: STOPPED
        […]

There is also Launchpad report with that warning included [1].

[1] https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1035871
Comment 1 Bastien Nocera 2014-04-11 08:49:35 UTC
GDK_NATIVE_WINDOWS comes from Chromium I'm pretty certain, as we don't set that environment variable in totem.

commit 2cb45dcc295b892be7b9424d61d004ed0645746a
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Apr 11 10:42:02 2014 +0200

    browser-plugin: Fix warning inhibiting idle for hidden plugin
    
    When the plugin is hidden, we shouldn't be inhibiting idle to
    prevent the screensaver coming on. It also fixes warnings
    at run-time as gtk_application_inhibit() expects a real window,
    not NULL.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693092

commit 23ff9ed641915e1dfe55ca4e51c1136df005cf73
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Apr 11 10:40:47 2014 +0200

    browser-plugin: Fix warning for hidden plugin
    
    Fix warning on startup when we're not being embedded, we
    can't realise an unanchored window.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693092

commit d04d4804d31a59b4c13571871714f61c689f16c7
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Apr 11 10:22:06 2014 +0200

    browser-plugin: Fix warning when running in Chromium
    
    Work around Chromium setting GDK_NATIVE_WINDOWS. It's not used
    for GTK+ 3.x, so unset it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693092
Comment 2 Paul Menzel 2014-04-17 20:52:55 UTC
Thank you for looking into this. I did not try Totem with the fixes yet, but just wanted to document that this still happened with Totem 3.8.2-4+b1 and Chromium 33.0.1750.152-1. I am looking forward to the fixed version.