gtkmozembed getting blank after hide_all, show_all

UNCONFIRMED
Unassigned

Status

Core Graveyard
Embedding: GTK Widget
--
major
UNCONFIRMED
11 years ago
6 years ago

People

(Reporter: Hylke Donker, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 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.
(Assignee)

Updated

6 years ago
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.