Opened 14 years ago

Closed 14 years ago

#3599 closed defect (fixed)

Using two different sizes for the channelicon element in different containers will have the OSD alternate between the two.

Reported by: anonymous Owned by: stuartm
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


If a theme has two different sizes for the channelicon element, the OSD displays strange but repeatable behavior. Example, if different sizes are used for the channel icon elements in the program_info and browse_info containers, the OSD will swap the two sizes within the same container.

The channel icon sizes start out correctly, where browsing a channel not yet tuned to will show the correct size icon for the browse_info display and once tuned to, the correct size icon will show in the program_info display, but from there the odd behavior starts.

Hitting the info button to the program_info display will alternate between the different icon sizes (being correct only every other time). Which ever one is last displayed will then be used as the browse_info icon when browsing the different channels. This makes makes the icon change sizes from channel to channel when browsing.

Example, if browse_info used a large icon and program_info used a small icon. Tuning to a channel with the correct sized large icon in browse, will show the correct sized small icon in the initial program_info display. Once info is hit, the large and small icons will alternate. If the channel is changed when the last icon displayed in the program_info is small, then the next time it is displayed from browse_info it will be small. If large then large.

Change History (4)

comment:1 Changed 14 years ago by maverik044

Quite possibly related to the issue raised in Ticket #3501. Suggest trying the patch to see if it corrects the problem.

comment:2 Changed 14 years ago by anonymous

That patch (seems to have) fixed it. Everything looks and behaves as expected after applying it.

comment:3 Changed 14 years ago by stuartm

Owner: changed from Isaac Richards to stuartm

comment:4 Changed 14 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [14160]) Fixes #3501 and #3599.

Ensures that the cache key for the scaled channel icon uses the actual dimension of the icon as specified in the theme and not the default 30x30.

Note: See TracTickets for help on using tickets.