[Webkit-unassigned] [Bug 14619] [gdk] Make ScrollView handle static backgrounds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 00:54:09 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14619





------- Comment #3 from freyther at handhelds.org  2007-07-16 00:54 PDT -------
The are two changes to GtkLayout where I think only one is important. Before
calling gdk_window_move we need to unmap the GtkWidget and afterwards map it
again. The method/closure connected to the value_changed signal of adjustments
is private, so subclassing is not possible.

The approaches I saw where:
    -I don't know if it is possible but disconnect the gtk_layout_value_changed
closure and implement this inside webkit. The downside was that the secret of
moving the window is shared between Gtk+ and WebKit and I assumed this will be
error prone.
     -One could try to connect the value_changed signal twice. The first
closure would unmap the GtkWidget in case of static backgrounds and the other
one would map it again. I was not certain if I can gurantee to always be called
before the GtkLayout closure.

I think one shouldn't share secrets and I'm not certain the second approach
will work, this is why I decided to copy/fork GtkLayout. I need some
clarification regarding Frame, FrameView and FrameTree interaction so we might
end up with a completely different approach (will send an email).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list