Closed Bug 4818 Opened 26 years ago Closed 25 years ago

[PP] gtklayout's freeze/thaw is busted

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: michaelp, Assigned: pavlov)

Details

(Whiteboard: [PERF] Linux Performance 11/16/99)

when we call into nsIWidget::EndResizingChildren under linux, the widget code calls a gtk thaw method. this method synchronously forces a redraw of the entire widget. there are two problems with this: 1) it draws the entire widget regardless of any children moving/resizing (or not). 2) the refresh is synchronous. it should call the queued drawing methods instead. this makes demo13 run *much* slower than it should.
Status: NEW → ASSIGNED
Target Milestone: M5
the whole gtk event model wrt gecko is busted, imho. I spent many hours debuggin it last week and came to the conclusion that gtk is doing too much without a simple fallback, for example, gtk event percolate from a child window to its parent and so on until it is handled by one of them. So, motion events percolate up the widet hierarchy and there is not way to break from the loo other than iterating the gtk layout children and clipping them with the motion event coordinates and dropping the event if they match. And other such insanity. Also, gtk is doing all kinds of real event and synthetic signal processing. Finally, the gtk layout widget has its own idea of how to layout children. A lot of this functionality is general purpose and fine for simple applications, but it makes it hard to optimize gecko for gtk. Im looking at these issues right now. marking assigned m5
Summary: gtk's freeze/thaw is busted → [PP]gtk's freeze/thaw is busted
Target Milestone: M5 → M6
i wont get to this till m6 or later. marking m6.
Target Milestone: M6 → M9
marking m9
Whiteboard: DEPEND - Linux Performance
Assignee: ramiro → pavlov
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Summary: [PP]gtk's freeze/thaw is busted → [PP] gtklayout's freeze/thaw is busted
Moving all Widget Set bugs, past and present, to new HTML Form Controls component per request from karnaze. Widget Set component will be retired shortly.
moving to XP Toolkit/Widgets since these are not HTML form controls
Target Milestone: M9 → M12
Whiteboard: DEPEND - Linux Performance → [PERF] Linux Performance
mass-moving all m12 bugs to m13
Whiteboard: [PERF] Linux Performance → [PERF] Linux Performance 11/16/99
Target Milestone: M13 → M12
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
we no longer use gtklayout's so this is fixed.
Status: RESOLVED → VERIFIED
marking verified
URL: demo13
You need to log in before you can comment on or make changes to this bug.