Opened 15 years ago
Closed 15 years ago
Last modified 15 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)
Change History (9)
comment:1 by , 15 years ago
| Status: | new → assigned |
|---|
by , 15 years ago
| Attachment: | fix-9236.patch added |
|---|
comment:2 by , 15 years ago
by , 15 years ago
| Attachment: | 0001-Fix-mythuiimage-loading-for-non-animated-gif.patch added |
|---|
comment:3 by , 15 years ago
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 by , 15 years ago
heh, seems I screwed up and made that patch relative to the previous one. You get the idea though.
comment:5 by , 15 years ago
| Milestone: | unknown → 0.24.1 |
|---|---|
| Owner: | changed from to |
comment:6 by , 15 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |

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