The Camel and his confounded Ball

[email protected] (Alan Fry) Wed, 12 Jun 2002 11:17:44 +0100
Newsgroups perl.macperl.toolbox
Message-ID <p05100300b92cc98f23c9@[158.152.146.73]>
May I bend your ears one last time to this matter.

The following script demonstrates the phenomenon:

	#!perl
	# exit via Cmd+period

	use Mac::Events;
	use Mac::Events qw(@Event);

	$Event[mouseDown] = sub { while (WaitMouseUp()) {} };

	WaitNextEvent while 1;


About two seconds after mouse-down MacPerl switches to the 
spin-cursor and remains that way until mouse-up.

IMO this behaviour is highly undesirable since it spoils any 
application involving a 'WaitMouseUp' event, such as button-tracking, 
auto-scrolling and similar regular GUI functions.

Does anyone agree this behaviour should be regarded as a bug and 
registered as such?

Alan Fry