John
I saw you post earlier today. It gave me a heads up.
I"m really trying to be a "user" here, so I honestly don't know how
to check if an event is firing or not. :(
What you described is exactly what I was experiencing trying to drop
jpg images onto canvases.
Yesterday I was trying again, I think testing for 4a2. While in the
background, I moved my mousepointer over the "close/minimize/ggrow"
button group at the top left of the window. As soon as the
mousepointer touched one of those buttons, the window instantly
refreshed without having to bring it to the foreground.
Brendan Murphy wrote two days ago indicating a workaround:
There is a workaround for this problem. The trick is to tickle the
event queue while the application is in the background. To do
this, add the following code to your application class. This will
force events to be processed.
Private dropTimer As Timer
Sub Activate()
' Does the timer exist?
if not (dropTimer is nil) then
' Turn off the timer.
dropTimer.mode = Timer.ModeOff
dropTimer = nil
end if
End Sub
Sub Deactivate()
' Create a timer.
dropTimer = new Timer
' Set up the timer.
dropTimer.Period = 333
dropTimer.Mode = Timer.ModeMultiple
End Sub
I see you know about this workaround as you incuded it in your
report. I haven't tried this yet, but will soon. My problem with
workarounds is they are rarely documented, and when implemented, make
it harder to discover if the bug ever gets fixed. They do solve
showstoppers, though. I used the workaround for the Tiger menu
hiliting problem in v5.5, and whenever I compile for 2005, I have to
comment it out.
Charles, are you sure the DropObject event is actually firing? I
have filed report:
http://www.realsoftware.com/feedback/viewreport.php?reportid=amslacuh
which is similar to yours, except that I'm finding that the event is
not even firing.
This could be true, and I've added my name to your report about
this. I hadn't tried files or text. This should have been fixed in
2006R2, which has me wondering what beta testers are actually testing
for these days. Scary to think the focus is on databases, sockets
and plugins, and not the basic functionality of the language and
software.
I'm glad others are seeing this as I am, the problem has been there
since 2006R1 and no one has talked about it much!
I made a movie and posted it. Geoff responded when he saw it and
said to simply indicate things weren't refreshing when the window was
in the background:
http://www.designersdomain.com/CanvasTest.html
Yours truly
R Charles Flickinger
Corona Developer: http://www.designersdomain.com/corona
Daktari Developer: http://www.designersdomain.com/daktari
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>