Hello, I have a doubt: why does the opening of, in example, the Squeakmap Package Browser block the whole Squeak environment?
Thank you Marian
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
Am 29.09.2005 um 19:23 schrieb Mariano Montone:
Hello, I have a doubt: why does the opening of, in example, the Squeakmap Package Browser block the whole Squeak environment?
Because the loading of the package database is not implemented as a background process.
- Bert -
On 9/29/05, Mariano Montone mariano_montone@yahoo.com.ar wrote:
why does the opening of, in example, the Squeakmap Package Browser block the whole Squeak environment?
There is a single User Interface (UI) process, which responds to the user's mouse clicks and other events. While it's busy, additional user events must wait.
The code which opens the Squeakmap Package Browser could (probably) be done in the background with a change to a method or two. This wouldn't make it open any faster, but it would return control to the user sooner. (The user might wonder what is happening, during the moments before the update is complete.)
Does that tell you what you need? Cheers!
--Tom Phoenix
Its clear, but I think there's no need to prevent the user from interacting with the rest of the system. Wouldn't it be better to feedback the user with a mouse shape change indicating that the Squeakmap Package Browser is opening (ala Windows or any other operating system), and give the user immediate control over the system?
Marian
Tom Phoenix wrote:
On 9/29/05, Mariano Montone mariano_montone@yahoo.com.ar wrote:
why does the opening of, in example, the Squeakmap Package Browser block the whole Squeak environment?
There is a single User Interface (UI) process, which responds to the user's mouse clicks and other events. While it's busy, additional user events must wait.
The code which opens the Squeakmap Package Browser could (probably) be done in the background with a change to a method or two. This wouldn't make it open any faster, but it would return control to the user sooner. (The user might wonder what is happening, during the moments before the update is complete.)
Does that tell you what you need? Cheers!
--Tom Phoenix
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
On 9/29/05, Mariano Montone mariano_montone@yahoo.com.ar wrote:
Wouldn't it be better to feedback the user with a mouse shape change indicating that the Squeakmap Package Browser is opening (ala Windows or any other operating system), and give the user immediate control over the system?
Sure, why not. Want to submit a patch? :-)
As far as I know, there's no reason that the current implementation is preferred over what you describe, except that the current one is the one we have. Cheers!
--Tom Phoenix
Ok, thank you.
Marian
Tom Phoenix wrote:
On 9/29/05, Mariano Montone mariano_montone@yahoo.com.ar wrote:
Wouldn't it be better to feedback the user with a mouse shape change indicating that the Squeakmap Package Browser is opening (ala Windows or any other operating system), and give the user immediate control over the system?
Sure, why not. Want to submit a patch? :-)
As far as I know, there's no reason that the current implementation is preferred over what you describe, except that the current one is the one we have. Cheers!
--Tom Phoenix
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
Hi folks!
I would like to note that the latest SqueakMap Package Loader does *not* automatically update the map anymore when the loader is opened.
But the operation (when selected from the menu) could of course be put in a background process, but you have to make sure the UI updates etc when it is ready. I can fix this in the next release - but if you want to send me a changeset/MC - go right ahead.
regards, Göran
squeak-dev@lists.squeakfoundation.org