[Webkit-unassigned] [Bug 118363] New: GTK plugin widgets are not shown or hidden correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 3 10:35:12 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118363
Summary: GTK plugin widgets are not shown or hidden correctly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rschroll at gmail.com
Created an attachment (id=206010)
--> (https://bugs.webkit.org/attachment.cgi?id=206010&action=review)
Test case
I've noticed that a plugin I insert into a WebKit-GTK WebView doesn't update correctly when widgets are shown or hidden. Although the visibility of the widgets is sometimes adjusted instantly, the space for the widgets isn't allocated or deallocated automatically. Resizing or scrolling the WebView is enough to trigger this reallocation.
Attached is a test case program, which illustrates the problem with two examples. It creates a Gtk.Window that contains a WebView that contains an <embed> that contains a GTK GUI. There are two buttons. The top one creates a label directly below it, but it doesn't become visible until the window is resized. The lower button alternately shows and hides the label below itself. The visibility of the label gets updated immediately, but the space for it isn't added or removed until the window is resized.
If I put this GUI directly in a top-level Gtk.Window, it works correctly. I've tried to force the UI to update with the force_redraw function. Right now, it's completely commented out. If you uncomment any of the first three bits of code, the UI will update correctly. The last two do not work, despite seeming that they might. I hope this is a clue as to what's going wrong.
For the record, I'm using webkitgtk 1.10.2, the WebKit1 API, and Gtk 3.4.2, on Ubuntu 12.04. On the mailing list, it was suggested that this might be related to bug #106093.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list