[mythtv] mythfrontend segfault

Isaac Richards ijr at po.cwru.edu
Sun Jan 4 13:39:55 EST 2004


On Sunday 04 January 2004 02:24 am, avalanche at beyondmonkey.com wrote:
> Problem is that the customEvents are sneaking in from the side, the dialogs
> are causing the event loop to rotate. If you set a program to 'don't
> record', it will stay visible till the next customEvent, being fast enough,
> you can call the dialog again for that program. As soon as the customEvent
> comes in, the pointer is borked.
>
> I put together a container that should solve problems like this. The idea
> is to let the container maintain the pointers, current selection, bounds
> etc. If a programinfo needs to be edited, it's checked out value based
> and checked back in afterwards. Fallbacks are in place and everything is
> checked so it should take the pressure off the GUI parts.
>
> Attached is a version for viewscheduled, planning on generalizing the
> container for other screens as well.

Applied this, though I moved the new class to programinfo.cpp/.h.  Figure it 
doesn't hurt to have it there for now.

Isaac


More information about the mythtv-dev mailing list