Giter VIP home page Giter VIP logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Firefox is giving me pretty much the same problem

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_gc_new: assertion `drawable != 
NULL' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: assertion 
`GDK_IS_GC (gc)' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: assertion 
`GDK_IS_GC (gc)' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_gc_set_values: assertion `GDK_IS_GC 
(gc)' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(<unknown>:10293): Gdk-CRITICAL **: IA__gdk_draw_layout: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(<unknown>:10293): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

(<unknown>:10293): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

Original comment by [email protected] on 20 Sep 2011 at 8:27

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
I got the problem narrowed down I dont know the solution but the problem is 
happening on this line at least from what I can tell

GdkDrawable* gdkWindow = GDK_DRAWABLE(gdk_window_foreign_new(nativeWinId));

gdk_window_foreign_new seems to be returning null

Original comment by [email protected] on 20 Sep 2011 at 9:14

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Same behavios here with Mozilla Firefox 6.0.2, however Google Chrome and 
Chromium works well.
Google Chrome version: 14.0.835.186 (Official Build 101821)
Chromium version: 14.0.803.0 (Developer Build 90483) Ubuntu 11.04

Original comment by [email protected] on 4 Oct 2011 at 10:52

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
My version is
Chromium version: 12.0.742.112 (90304) Ubuntu 11.04

Original comment by [email protected] on 4 Oct 2011 at 11:24

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
This patch mostly fixes it. The issue was that the Drawable could be either a 
Pixmap or a Window. Newer browsers do out-of-process stuff and pass a Pixmap, 
but Firefox <4 in in-process plugin mode just passes in the Window.

This works for me in Firefox and WebKitGtk. Unfortunately, this doesn't work 
for me in Chrome for some reason. It renders, but most of the plugin ends up 
being transparent. I poked at it a bit Chrome-side but haven't figured out 
what's wrong.

(There is also another issue with QtWebKit, but it probably deserves its own 
bug. The plugin doesn't link to libgdk-x11-2.0.so.0, so QtWebKit can't load it. 
Once that's there, QtWebKit only calls gtk_init for Flash and nspluginwrapper. 
If you have one of those installed, it all works. If not, gtk_init never gets 
called. Not sure whose bug that should be considered.)

Original comment by [email protected] on 11 Oct 2011 at 4:52

Attachments:

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Thank you so much for spending your time fixing this it has had me going 
bonkers for quite a while. At the moment im not so worried about the chrome 
side.

Ill schedule some time in tomorrow and let you know the results. Once again 
thank you this is a big help.

Original comment by [email protected] on 11 Oct 2011 at 5:58

from npapi-sdk.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Finally got around to it 5 am on a saturday lol. It works perfectly in firefox 
and chromium is the same as you explained chrome is its mostly transparent but 
shows the useragent. Thank you!!

Original comment by [email protected] on 15 Oct 2011 at 9:28

from npapi-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.