Modify

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:1 Changed 5 years ago by stuartm

  • Cc stuartm added

comment:2 Changed 5 years ago by stuartm

  • Owner changed from ijr to stuartm
  • Milestone changed from unknown to 0.21

comment:3 Changed 5 years ago by stuartm

  • Owner changed from stuartm to greg

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:5 Changed 4 years ago by greg

  • Milestone changed from 0.21 to 0.22

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

comment:7 Changed 4 years ago by stuartm

  • Priority changed from minor to blocker

comment:8 Changed 4 years ago by greg

  • Status changed from new to closed
  • Resolution set to fixed

A New caching method was commited in rev [18552] which makes this much faster now. Closing this one

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.