Opened 14 years ago
Closed 13 years ago
#10637 closed Bug Report - General (Duplicate)
When recording name too long, watch recordings screen shows empty play group
| Reported by: | Owned by: | stuartm | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | 0.25-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
In the "Watch Recordings" screen of mythfrontend, the list on the left contains the names of recorded shows, and the right-side shows episodes.
In this screen, when the recording name exceeds some length, it will be shown, trimmed to fit on the left, but the right-side will show nothing and an ugly overlapping line of text appears:
"There are no recordings in your current view".
However, if I look at "All Recordings" I can find those episodes...
A screenshot is attached.
Attachments (1)
Change History (7)
by , 14 years ago
| Attachment: | MythFrontend-bug.png added |
|---|
comment:1 by , 14 years ago
Looking at the source it seems clear that one possible reason for this is in programs/mythfrontend/playbackbox.cpp in PlaybackBox::updateRecList():
...
QString groupname = sel_item->GetData().toString();
QString grouplabel = sel_item->GetText();
updateGroupInfo(groupname, grouplabel);
if (((m_currentGroup == groupname) && !m_needUpdate) ||
m_playingSomething)
return;
m_needUpdate = false;
if (!m_isFilling)
m_currentGroup = groupname;
m_recordingList->Reset();
ProgramMap::iterator pmit = m_progLists.find(groupname);
if (pmit == m_progLists.end())
return;
...
Seems like groupname is being read from sel_item, which means it is probably a partial group name string.
Then when we call m_progLists.find(groupname) it finds nothing.
comment:2 by , 14 years ago
A method to overcome this is to create a new recording group, with a shorter name, and ensure that all recordings of this show will be attached to the new recording group.
Then, change the view options to show recording groups.
You will still see the problem, but you will now have a line on the Watch Recordings screen for the new recording group, that shows the recordings on the right-side.
comment:3 by , 13 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , 13 years ago
comment:5 by , 13 years ago
In at least one instance I have been able to determine that this is indeed the same case, so I guess this can be closed.

Screenshot.