Closed Bug 381314 Opened 17 years ago Closed 6 years ago

gtkmozembed getting blank after hide_all, show_all

Categories

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

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hylkedonker, Unassigned)

Details

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.
Product: Core → Core Graveyard
Embedding: GTK Widget isn't a thing, closing.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.