Mailing List Archive

Condition found where user interface can hang up
I have found a condition where the user interface can hang up. If you
create a zero length file from recording a program and then go to the
"play" or "delete" dialog boxes then the user interface will hang up
while trying to show the preview. It seemed to be permanent, none of
the keys (on the remote control) did anything.

I solved the problem by deleting the file, then it didn't hang up and
I could delete the entry from the dialog box.

If you want to know how to create a zero length file then just let the
disk fill up. A new file was created, but it never got filled in.


On the same subject the "delete" dialog box will hang up for a few
seconds when deleting a large recording file. Could this be done in a
separate thread to make it look better.

--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop amb@gedanken.demon.co.uk
http://www.gedanken.demon.co.uk/
Re: Condition found where user interface can hang up [ In reply to ]
On Monday 14 October 2002 12:45 pm, Andrew M. Bishop wrote:
> I have found a condition where the user interface can hang up. If you
> create a zero length file from recording a program and then go to the
> "play" or "delete" dialog boxes then the user interface will hang up
> while trying to show the preview. It seemed to be permanent, none of
> the keys (on the remote control) did anything.
>
> I solved the problem by deleting the file, then it didn't hang up and
> I could delete the entry from the dialog box.

The hang's fixed now.. Infinite loop in the player class, didn't check for a
bad read in one place.

> If you want to know how to create a zero length file then just let the
> disk fill up. A new file was created, but it never got filled in.

I need to handle the full-disk situation better someday..

> On the same subject the "delete" dialog box will hang up for a few
> seconds when deleting a large recording file. Could this be done in a
> separate thread to make it look better.

Sure could. I'll do that next time I need to delete something.

Isaac
Re: Condition found where user interface can hang up [ In reply to ]
On Wednesday 16 October 2002 03:52 am, Isaac Richards wrote:
> On Monday 14 October 2002 12:45 pm, Andrew M. Bishop wrote:
> > On the same subject the "delete" dialog box will hang up for a few
> > seconds when deleting a large recording file. Could this be done in a
> > separate thread to make it look better.
>
> Sure could. I'll do that next time I need to delete something.

That's done, and I also fixed some of the other oddness with things getting
selected after deletion.

Isaac