[mythtv-commits] Ticket #7753: Upcoming Episodes Screen is broken
MythTV
mythtv at cvs.mythtv.org
Tue Dec 15 22:59:25 UTC 2009
#7753: Upcoming Episodes Screen is broken
-------------------------------------------+--------------------------------
Reporter: skd5aner <skd5aner@…> | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 0.22.1
Component: MythTV - General | Version: 0.22-fixes
Severity: medium | Mlocked: 0
-------------------------------------------+--------------------------------
Comment(by Mike Rice <mikerice1969@…>):
I also can reproduce this on 0.22 so I brought it up in the debugger to
see what was going on. Unfortunately I'm not running trunk at the moment
so I can't debug that to see why it is apparently working there. I did
look at the trunk source and it appears to be basically the same as 0.22
for this stuff...
Anyway the ScheduleEditor class can be constructed two ways. One
constructor is passed a RecordingInfo which is used to initialize
m_recInfo. The other (which is used in this case) is passed a
RecordingRule and m_recInfo is set to NULL.
When the "Upcoming episodes" button is handled in the schedinfo dialog it
calls showUpcomingByTitle(). This routine call ShowUpcoming(m_recInfo)
but since m_recInfo is NULL it immediately returns. This produces the
behavior described in the original report.
Note also that hitting "Program Details" from this dialog when
ScheduleEditor is created via a RecordingRule also "does nothing" since
there is no related single program. I think it would be better to just
not add this button to the dialog when m_recInfo is NULL rather than
handling it with a no-op.
stuartm: when you stop in ScheduleEditor::showUpcomingByTitle() is
m_recInfo NULL for you when coming in through the RecordingRule path? If
not where is m_recInfo set?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7753#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list