Closed Bug 309385 Opened 19 years ago Closed 19 years ago

Widgets not drawn and Gdk CRITICAL Assertions

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: djcater+bugzilla, Unassigned)

Details

Attachments

(1 file)

I built my own browser build using:

mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=~/mozilla-stuff/mozilla/objdir/browser-@CONFIG_GUESS@/
mk_add_options MOZ_MAKE_FLAGS=-j1
ac_add_options --enable-canvas
ac_add_options --enable-glitz
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-application=browser
ac_add_options --enable-pango
ac_add_options --enable-extensions=default,xforms,schema-validation
ac_add_options --enable-svg
ac_add_options --enable-svg-renderer=cairo
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-codesighs
ac_add_options --enable-xterm-updates
ac_add_options --enable-chrome-format=flat

From cvs trunk, 18th July 2005.

When I run it, no widgets are drawn (screenshots coming soon) and the console
prints out assertions (but they don't look like normal Mozilla assertions, I
think they might be coming from GNOME or somewhere else?) such as the following:

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_rectangle: assertion `GDK_IS_DRAWABLE
(drawable)' failed

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_rectangle: assertion `GDK_IS_DRAWABLE
(drawable)' failed

** (Gecko:16890): CRITICAL **: draw_box: assertion `window != NULL' failed

** (Gecko:16890): CRITICAL **: draw_box: assertion `window != NULL' failed

** (Gecko:16890): CRITICAL **: draw_box: assertion `window != NULL' failed

The above occurred when loading the profilemanager.

When mousing over any widgets, or tabbing through them, more assertions occur:

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_rectangle: assertion `GDK_IS_DRAWABLE
(drawable)' failed

** (Gecko:16890): CRITICAL **: draw_box: assertion `window != NULL' failed

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_rectangle: assertion `GDK_IS_DRAWABLE
(drawable)' failed

** (Gecko:16890): CRITICAL **: draw_flat_box: assertion `window != NULL' failed

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_drawable: assertion `GDK_IS_DRAWABLE
(drawable)' failed

I'm running GNOME 2.10.2 on Gentoo Linux.

Other ones I notice when using the browser (not for very long, it's fairly
unusable without any lines drawn) are:

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_point: assertion `GDK_IS_DRAWABLE
(drawable)' failed

(Gecko:16890): Gdk-CRITICAL **: gdk_draw_line: assertion `drawable != NULL' failed

^^^ This one occurs hundreds of times per minute whenever anything on the screen
changes.

** (Gecko:16890): CRITICAL **: draw_extension: assertion `window != NULL' failed

And when shutting down:

(Gecko:16890): Gdk-CRITICAL **: gdk_gc_new: assertion `drawable != NULL' failed

(Gecko:16890): Gdk-CRITICAL **: gdk_gc_set_rgb_fg_color: assertion `GDK_IS_GC
(gc)' failed

Oh, and menu backgrounds (menubar menus and context menus) are transparent.
This is a screenshot of the profilemanager. As you can see, buttons are not
drawn, nor are the checkboxes. In the preferences panel, none of the
checkboxes, radio buttons, buttons are drawn, but in content, they are (radio
buttons look much better on this build than gtk2 btw...)

Also, just found another assertion:

(Gecko:17034): Gdk-CRITICAL **: gdk_draw_lines: assertion `GDK_IS_DRAWABLE
(drawable)' failed
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051006 Firefox/1.6a1

This now WFM after the checkins today. No transparent menus, widgets are drawn
and no assertions.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: