Closed Bug 46279 Opened 24 years ago Closed 24 years ago

unrealizing and rerealizing the gtk embedding widget causes crash

Categories

(Core Graveyard :: Embedding: GTK Widget, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

Details

(Keywords: crash)

Attachments

(3 files)

Subject: realize crash w/GtkMozEmbed
From: Ari Heitner <aheitner@andrew.cmu.edu>

We've been observing an unusual bug in GtkMozEmbed: if you stick the widget
in a container, realize it, then remove it from the container and add it
again, it crashes.

We noticed this using the GNOME MDI notebook -- if you've realized
(displayed) the page GtkMozEmbed is on, then drag that page off into a new
window, it crashes.

There appear to be some comments in the unrealize code that indicate there's
some more work to be done there -- something related to telling the mozilla
internals that the stored parent-window info is bad.

We'd take a look at fixing it if we had a better clue about what to do ...
Status: NEW → ASSIGNED
Summary: unrealizing and rerealizing the widget causes crash → unrealizing and rerealizing the gtk embedding widget causes crash
spam: Adding crash keyword...
Keywords: crash
Do you have a test case for this?
Attached file test case
Attached file makefile
Attached patch patchSplinter Review
I have an r=pavlov on this.
have approval from waterson.  fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: