Closed Bug 84574 Opened 23 years ago Closed 23 years ago

Mac OS X: Windows dragging is SLOW

Categories

(SeaMonkey :: UI Design, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.3

People

(Reporter: zs98, Assigned: mikepinkerton)

Details

(Keywords: perf)

Attachments

(3 files)

Dragging Mozilla windows around is unbearably slow.  This bug first appeared in
build 6/5/01 of Fizzilla.  Previously, dragging was in line with the rest of the OS.
Keywords: perf
Checked this out with QuartzDebug (application in the OSX dev tools). In the 6/5
build "live window resizing" is functional for the first time by default. The
problem appears to be that other carbon apps only use quartz to draw window
contents when resizing windows, make dropshadows, etc. but window dragging is
drawn by the GPU, not the CPU. In 6/5 quartz updates the entire window when
dragging, thus the massive slowdown.

fire up quartzdebug /MacOSX/Developer/Applications/QuartzDebug.app and compare
Fizz to other carbon apps.
But other Carbon apps have native interfaces. I wouldn't be surprised if this
was a side-effect of XUL.

Mac OS X is so slow that I'm not sure this will be a high-priority problem
anytime soon. But it is a problem (compared to dragging an IE window of the same
size around) so I'm going to confirm this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
So this is a regression from the live window resizing? Over to pink
Assignee: blakeross → pinkerton
are we talking about moving windows or resizing them? we don't even get notified
when the windows are being moved, so i'm not quite sure how the resize code
could be getting involved.
i have a patch to this. it appears that i wasn't checking the appropriate
parameter so the live-resize code was kicking in even when the window was moving.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.3
r=pchen
I think only invalidating the area that differs between the two sizes is not 
enough. Resizing the window can cause the page to re-layout in a different way, 
necessitating an entire-window invalidate.
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Marking verified in the June 13th build (2001061314)
Status: RESOLVED → VERIFIED
Keywords: qawanted
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: