Re: removing draw method patch
- From: Alexander Larsson <alla lysator liu se>
- To: Havoc Pennington <hp redhat com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: removing draw method patch
- Date: Mon, 4 Dec 2000 18:44:09 +0100 (CET)
On 4 Dec 2000, Havoc Pennington wrote:
>
> Alexander Larsson <alla lysator liu se> writes:
> >
> > This patch introduces a bug in GtkList.
> >
> > gtk_list_item_expose() calls gtk_widget_draw_focus() which ends up in
> > gtk_list_item_draw_focus() doing gtk_widget_draw(widget, NULL). This
> > exposes the widget again, and it loops until the stack is full.
> >
>
> Good catch. GtkListItem is totally broken: it has expose code that
> draws one way, then the expose handler calls _draw() which overwrites
> whatever was exposed so you never see whatever the expose handler
> drew.
Here is another one:
gtk_notebook_expose() -> gtk_notebook_paint() -> gtk_notebook_draw_tab()
-> gtk_widget_draw() [loop]
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]