(VW 7.4.1, WinXP SP2).
I sometimes find that an event queued for a window using "uiEventFor: " does not occur for a while -- maybe 10 or 15 seconds. Everything is quiet, the window will respond if I click in it (its the current window), but the queued event just does not occur for a while. This occurs in a number of instances, but one of them is my cursor handling where I turn the cursor to a wait and queue an event for the window to make it back to normal -- and the wait cursor will just sit there. It occurs in other instances too. Anyone seen this kind of thing?? -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
Dennis
If the event is in the queue, then the process is waiting either busy doing something else or waiting on another semaphore. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: Dennis Smith [mailto:[hidden email]] > Sent: Wednesday, July 18, 2007 11:55 AM > To: VWNC, > Subject: Delayed uiEventFor: aWindow ... > > (VW 7.4.1, WinXP SP2). > > I sometimes find that an event queued for a window using "uiEventFor: " > does not occur for a while -- maybe 10 or 15 seconds. > > Everything is quiet, the window will respond if I click in it (its the > current window), > but the queued event just does not occur for a while. > > This occurs in a number of instances, but one of them is my cursor > handling > where I turn the cursor to a wait and queue an event for the window to > make it > back to normal -- and the wait cursor will just sit there. > > It occurs in other instances too. > > Anyone seen this kind of thing?? > > -- > Dennis Smith +1 416.798.7948 > Cherniak Software Development Corporation Fax: +1 416.798.0948 > 509-2001 Sheppard Avenue East [hidden email] > Toronto, ON M2J 4Z8 sip:[hidden email] > Canada http://www.CherniakSoftware.com > Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
OK, thanks terry -- I figured if that was the answer then it was my
problem for some reason,
so I will not treat it as such. Terry Raymond wrote: Dennis If the event is in the queue, then the process is waiting either busy doing something else or waiting on another semaphore. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> ===========================================================-----Original Message----- From: Dennis Smith [[hidden email]] Sent: Wednesday, July 18, 2007 11:55 AM To: VWNC, Subject: Delayed uiEventFor: aWindow ... (VW 7.4.1, WinXP SP2). I sometimes find that an event queued for a window using "uiEventFor: " does not occur for a while -- maybe 10 or 15 seconds. Everything is quiet, the window will respond if I click in it (its the current window), but the queued event just does not occur for a while. This occurs in a number of instances, but one of them is my cursor handling where I turn the cursor to a wait and queue an event for the window to make it back to normal -- and the wait cursor will just sit there. It occurs in other instances too. Anyone seen this kind of thing?? -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@... Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@... Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
In reply to this post by Dennis smith-4
OK --- thought people might be interested in what this was ...
Seems that my clock on my PC was a bit nuts. It was losing time on the order of 1 second every 20 or 30 seconds -- most of the time, then it might mess up 20 seconds or the largest I saw was 49 seconds in a period of 2 minutes -- in desperation I had set my time-sync's on the PC to be every 2 minutes. Just to be sure it was not my imagination, I created a 50ms (approx) busy-loop in VW and computed 2000 "Time millisecondClockValue" values, and then computed the duration between each. Most were between 40 and 60ms -- but 4 on average were -1300 or so ms difference. This kind of thing can play havock with "Delay" or with "millisecondsToRun: ..." both of which were causing me problems. Specifically, in my cursor problem below, the code that reset the cursor did (Delay forMilliseconds: 1) wait and this would wait randomly and sometimes up to 20 seconds or more. I should have noticed that I never had the problems on my home PC, only at the office, but I failed to note that. Dennis Smith wrote: > (VW 7.4.1, WinXP SP2). > > I sometimes find that an event queued for a window using "uiEventFor: " > does not occur for a while -- maybe 10 or 15 seconds. > > Everything is quiet, the window will respond if I click in it (its the > current window), > but the queued event just does not occur for a while. > > This occurs in a number of instances, but one of them is my cursor > handling > where I turn the cursor to a wait and queue an event for the window to > make it > back to normal -- and the wait cursor will just sit there. > > It occurs in other instances too. > > Anyone seen this kind of thing?? > -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
Victor wrote: > I don't know if this is still true, but it used to be that the clock > card would be energized by its own battery, and after a few years it > needed to be replaced. > > Maybe that's your problem? Could be -- in any case we are doing two things 1. buying a new PC -- for me :) 2. sending mine to our supplier so he can diagnose it for posterity > > Victor > > =================================================== > > Dennis Smith wrote: >> OK --- thought people might be interested in what this was ... >> >> Seems that my clock on my PC was a bit nuts. It was losing time >> on the order of 1 second every 20 or 30 seconds -- most of the time, >> then it might mess up 20 seconds or the largest I saw was 49 seconds >> in a period of 2 minutes -- in desperation I had set my time-sync's >> on the PC >> to be every 2 minutes. >> >> Just to be sure it was not my imagination, I created a 50ms (approx) >> busy-loop in VW >> and computed 2000 "Time millisecondClockValue" values, and then >> computed the >> duration between each. >> >> Most were between 40 and 60ms -- but 4 on average were -1300 or so ms >> difference. >> This kind of thing can play havock with "Delay" or with >> "millisecondsToRun: ..." both of >> which were causing me problems. >> >> Specifically, in my cursor problem below, the code that reset the >> cursor did >> (Delay forMilliseconds: 1) wait >> and this would wait randomly and sometimes up to 20 seconds or more. >> >> I should have noticed that I never had the problems on my home PC, >> only at the office, >> but I failed to note that. >> >> >> >> >> Dennis Smith wrote: >>> (VW 7.4.1, WinXP SP2). >>> >>> I sometimes find that an event queued for a window using "uiEventFor: " >>> does not occur for a while -- maybe 10 or 15 seconds. >>> >>> Everything is quiet, the window will respond if I click in it (its >>> the current window), >>> but the queued event just does not occur for a while. >>> >>> This occurs in a number of instances, but one of them is my cursor >>> handling >>> where I turn the cursor to a wait and queue an event for the window >>> to make it >>> back to normal -- and the wait cursor will just sit there. >>> >>> It occurs in other instances too. >>> >>> Anyone seen this kind of thing?? >>> >> -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP |
Free forum by Nabble | Edit this page |