gtkmozembed getting blank after hide_all, show_all

RESOLVED WONTFIX

Status

--
major
RESOLVED WONTFIX
12 years ago
3 months ago

People

(Reporter: hylkedonker, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier: 2.0.0.3

When I call hide_all and then show_all to my application with a gtkmozembed widget in it, the gtkmozembed becomes empty(it no longer shows a website), and it only shows the background-color of the application itself.

Reproducible: Always

Steps to Reproduce:
Python code to reproduce the problem:

import pygtk
pygtk.require("2.0")
import gtk
import gtkmozembed
container = gtk.VBox()
moz = gtkmozembed.MozEmbed()
moz.load_url("http://www.google.nl")

def HideShow(widget):
        moz.hide_all()
        moz.show_all()

but = gtk.Button("hide__show")
but.connect("clicked", HideShow)
container.pack_start(but, False, False)
container.pack_start(moz)
win = gtk.Window()
win.add(container)
win.set_default_size(500, 400)
win.show_all()
gtk.main()
Actual Results:  
The gtkmozembed widget became empty

Expected Results:  
Show the website www.google.nl.
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
Embedding: GTK Widget isn't a thing, closing.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.