Hi!
When I open the world menu, the mouse cursor is intensively blinking, and opening the menu
is _very slow_. This bugs has been around for a couple of weeks already. Am I the only one
to see it?
I have checked the cause, and apparently the problem disappear by removing the use of
“Cursor read showWhile:”. The following method:
-=-=-=-=-=-=-=-=-=
ImageReadWriter>>formFromStream: aBinaryStream
"Answer a ColorForm stored on the given stream. closes the stream"
| reader readerClass form |
readerClass := self readerClassFromStream: aBinaryStream.
reader := readerClass new on: aBinaryStream.
Cursor read showWhile:
[ form := reader nextImage.
reader close ].
^ form
-=-=-=-=-=-=-=-=-=
May be rewritten as:
-=-=-=-=-=-=-=-=-=
ImageReadWriter>>formFromStream: aBinaryStream
"Answer a ColorForm stored on the given stream. closes the stream"
| reader readerClass form |
readerClass := self readerClassFromStream: aBinaryStream.
reader := readerClass new on: aBinaryStream.
form := reader nextImage.
reader close.
^ form
-=-=-=-=-=-=-=-=-=
However, changing the cursor has been around for quite a long time. It is strange that the
slow menu is surfacing only now.
Any idea why?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.