Closed Bug 84143 Opened 24 years ago Closed 24 years ago

GetScrapFlavorSize very slow when text copied from classic is on clipboard

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.4

People

(Reporter: hsivonen, Assigned: mikepinkerton)

Details

Attachments

(1 file)

Build ID: 2001-05-30 FizzillaCFM Reproducible: Most of the time Steps to reproduce: 1) Put the caret in a text field (URL field or form field) 2) If the problem didn't occur, try again. 3) If the problem still didn't occur, the problem has gone away and probably won't reappear in the current session. Restart Mozilla to see the problem. Actual results: The already infamous color wheel cursor shows up. Expected results: Expected the color wheel cursor to not show up and expected the UI to be responsive right away after focusing or unfocusing a field. Additional information: The problem sometimes just goes away for the rest of the session. It'll reappear when Mozilla is run again. I didn't see the problem with earlier builds.
i see this too with the 5/30 builds, i suspect it has to do with smfr's NSPR polling work.
Assignee: pinkerton → sfraser
huh? why would focussing a text field do anything network-related? Can you reproduce this bug whcn clicking if you haven't done any networking?
0.9.3
Whiteboard: needinfo
Target Milestone: --- → mozilla0.9.3
pink: I bet this bug is hang when getting clipboard data (since we do that to enable/disable Edit menu commands). So back to you :)
Assignee: sfraser → pinkerton
The delay is only when text from classic is on the clipboard and we call GetScrapFlavorSize(). the workaround is to copy some text from a non-classic app. i asked apple about this, let's see what they say. i'm not sure this is really our bug.
Status: NEW → ASSIGNED
Summary: Infamous color wheel shows up when focusing text fields → GetScrapFlavorSize very slow when text copied from classic is on clipboard
Whiteboard: needinfo
patch r=pchen, tested on os9 and osx. the trick is to use ::GetScrapFlavorInfoList() instead, which is always inexpensive. the patch also cleans up some debugging ifdefs and fixes a leak in an error case.
Whiteboard: needs sr
Target Milestone: mozilla0.9.3 → mozilla0.9.4
sr=hyatt
f
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: needs sr
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: