Open Bug 813729 Opened 13 years ago Updated 3 years ago

nsWindow::WidgetToScreenOffset() can take a long time on GTK

Categories

(Core :: Widget: Gtk, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

Details

Not sure why.
It waits for a reply from the X server, and may also be the point where previous requests are flushed to the server. If drawing operations take time, WidgetToScreenOffset waits for these to complete. The event code wants the offset at the time the event was received for the screen coords of the event and so should be getting that from the native event. Or perhaps we can redefine WidgetToScreenOffset to be the offset at the time of the last event processed. But these may just move any performance issue this bug might be about.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.