Ticket #3067 (closed task: fixed)
Opened 5 years ago
Last modified 4 years ago
MythUI Image Cache task
| Reported by: | stuartm | Owned by: | greg |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | stuartm | Ticket locked: | no |
Description
I've traced a problem with mythmusic and mythvideo menus taking between 6-14 seconds to appear (on my laptop) to the construction of the MythThemedMenu? object.
I'm busy with mythmusic at the moment, so I'm inviting someone else to take a look at this. If it's still not fixed by the time I'm done with mythmusic I'll take a stab at fixing it myself.
Attachments
Change History
comment:2 Changed 5 years ago by stuartm
- Owner changed from ijr to stuartm
- Milestone changed from unknown to 0.21
comment:4 Changed 5 years ago by stuartm
The bulk of this delay is due to the loading of images for watermarks and button icons. On heavier themes this takes much longer.
When we enter the menu for a plugin we create a new MythThemedMenu? and these images are loaded into memory again for a second time, adding to the overall memory footprint and slowing down the transition to the new screen.
I'm passing this to Greg as his planned global image cache will solve this issue completely.
comment:6 Changed 4 years ago by stuartm
- Version changed from 0.20 to head
- Type changed from defect to task
- Summary changed from Taking 6-14 seconds to create a new MythThemedMenu to MythUI Image Cache task
