Opened 14 years ago

Closed 14 years ago

#8713 closed defect (fixed)

Metallurgy segfaults when showing 'forced' recording in programguide

Reported by: Kim Bisgaard <kim+myth@…> Owned by: stuartm
Priority: major Milestone: 0.24
Component: Themes Version: 0.23.0
Severity: medium Keywords:
Cc: Ticket locked: yes

Description

The Metallurgy theme does not have a

<recordstatus type="OverrideRecord?" image="guide/gg-rs-override.png" />

line (nor an icon) (in neither 'programguide-video' nor 'programguide' window), so it segfaults when the programguide has to show a forced recording.

By adding above line and the default icon, it stops segfaulting.

Two issues here:

  1. Fix the theme
  2. Do not segfault on a missing icon/recordstatus

Here it loads the metallurgy/schedule-ui.xml then default-wide/schedule-ui.xml, but the last refers to an icon only in default dir.

Attachments (1)

mythuiguidegrid.cpp.diff (2.7 KB) - added by Kim Bisgaard <kim+myth@…> 14 years ago.
back-patch to branches/release-0-23-fixes/mythtv/libs/libmythui/mythuiguidegrid.cpp

Download all attachments as: .zip

Change History (3)

comment:1 Changed 14 years ago by stuartm

Milestone: unknown0.24
Owner: changed from Isaac Richards to stuartm
Status: newaccepted
Ticket locked: set

comment:2 Changed 14 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [25724]) Fix a segfault when a theme is missing an image in the guidegrid. Fixes #8713

Changed 14 years ago by Kim Bisgaard <kim+myth@…>

Attachment: mythuiguidegrid.cpp.diff added

back-patch to branches/release-0-23-fixes/mythtv/libs/libmythui/mythuiguidegrid.cpp

Note: See TracTickets for help on using tickets.