Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9236 closed Bug Report (Fixed)

Mythweather: maps get removed on reload/update

Reported by: beirdo Owned by: beirdo
Priority: minor Milestone: 0.24.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When you press U to update the sources, or when an update timer hits, any static maps (an presumably animated maps) are not properly reloaded. I have traced it as far as to the MythUIImage::Load() call, which seems all in order, but no image is actually loaded from the cache, it seems. These are images that are cached, and are loaded from URLs.

Attachments (2)

fix-9236.patch (852 bytes) - added by beirdo 9 years ago.
0001-Fix-mythuiimage-loading-for-non-animated-gif.patch (1.6 KB) - added by beirdo 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by beirdo

Status: newassigned

Changed 9 years ago by beirdo

Attachment: fix-9236.patch added

comment:2 Changed 9 years ago by beirdo

The attached patch seems to fix it, but I'm not sure if it will break other things such as animated gifs yet.

Changed 9 years ago by beirdo

comment:3 Changed 9 years ago by beirdo

OK, this seems to hit the spot better. It seems to hard crash (m_LowNum == m_HighNum == 1), as the filename isn't a pattern, so I added a check for containing %1 in the filename before stuffing into it with QString.arg() to avoid the SIGABRT.

comment:4 Changed 9 years ago by beirdo

heh, seems I screwed up and made that patch relative to the previous one. You get the idea though.

comment:5 Changed 9 years ago by beirdo

Milestone: unknown0.24.1
Owner: changed from cpinkham to beirdo

Closed by [27301]/[27302].

comment:6 Changed 9 years ago by beirdo

Resolution: Fixed
Status: assignedclosed

comment:7 Changed 9 years ago by beirdo

Errr. make that [27302]/[27303]

Note: See TracTickets for help on using tickets.