[mythtv-commits] Ticket #10073: [Crash] mythfrontend crashes when navigating in Schedule Recordings screens
MythTV
noreply at mythtv.org
Wed Oct 12 00:54:57 UTC 2011
#10073: [Crash] mythfrontend crashes when navigating in Schedule Recordings screens
-------------------------------------------------+-------------------------
Reporter: Tony Lill <ajlill@…> | Owner:
Type: Bug Report - Crash | cpinkham
Priority: minor | Status: closed
Component: MythTV - User Interface Library | Milestone: 0.25
Severity: medium | Version: 0.24.1
Keywords: | Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by Github):
* status: assigned => closed
* resolution: => fixed
* milestone: unknown => 0.25
Comment:
Don't manipulate ProgList MythUI elements outside the UI thread
FillItemList is called both in the UI thread and outside the
UI thread. Outside the UI thread, 'allowDisp' is false. We don't
need to call m_progList->Reset() inside FillItemList because it
is called inside UpdateDisplay() which is called from FillItemList
when updateDisp is true.
This commit also refactors the two UpdateDisplay() methods a little
and adds a new RestoreSelection() method to perform the position
restoration that was originally in the 2nd UpdateDisplay() method.
Fixes #10073.
Branch: master
Changeset: 8fed79e19f3fd6fada5c37f3ec3fc9224f872253
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10073#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list