INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: sapnho on February 12, 2005, 05:38:57 am
-
When importing files, the cancel button is not working. This was with MC 9, 10 and now with 11. Why have a cancel button if it doesn't work? A feature? ;)
-
When importing files, the cancel button is not working. This was with MC 9, 10 and now with 11. Why have a cancel button if it doesn't work? A feature? ;)
When I was Importing files, the cancel button did not work for me either Saphno
-
[/layman speaking] What can be so difficult about making the cancel button work...or remove it altogeher?[/] ;)
-
One of the things that I really like about LisaRCT is her VERY dry sense of humor. Really.
What I have noticed about the actual subject is that pretty much NOTHING new can occur when in the middle of an Import. Oh, it will still play songs you have queued but you can't add any more until the import is finished.
I have also noticed that there was a superfluous (http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=superfluous&x=16&y=8) "Cancel" button.
My response? Not much. Due to laziness, indifference or a combination of both, I merely stopped trying to use the cancel button or trying to do anything while an import was in progress.
Is that what YOU should do? Of course not. If everyone used MY method of Beta testing, we would still be on version 5.
CVIII
-
What can be so difficult about making the cancel button work...or remove it altogeher?
Actually, in defense of Matt and the gang, if you've ever tried to implement a "cancel task" button in a .NET language it is not always very easy to get it to work the way you want. Not impossible, mind you, but also not super easy. Especially if the task you want to cancel is running in a different thread from the GUI ...
That said. Though with v11 it has become less important to me (because the import seems to run much more quickly), I agree that it seems very ... hmmm ... Microsoftian ... to have a non-working cancel button. I agree that it should be fixed or removed before v11 goes final.
-
Actually, in defense of Matt and the gang, if you've ever tried to implement a "cancel task" button in a .NET language it is not always very easy to get it to work the way you want. Not impossible, mind you, but also not super easy. Especially if the task you want to cancel is running in a different thread from the GUI ...
Out of curiosity, can you expand on this a bit more for me please. I am considering delving in .NET but if you can't do something as simple as cancelling I won't bother and just stick to C++/Win32.
I would have thought it would be very easy as it is in Win32, e.g. process A creates an event and passes this into the new thread along with your usual thread specific data. The new thread executes periodically checking to see if the event has been raised, if so then exit. The main process raises the event when the user clicks on the cancel button.
Am I missing something, e.g. .NET can't pass parameters into threads / .NET can't create events?