Time tick marks sometimes displayed incorrectly in Graphical EPG

Issue #444 resolved
prl created an issue

In the Graphical EPG, if you set MENU>Time scale to be not an even number of hours and greater than 180 min (e.g. 210 min), the time scale drawn at the top of the menu has 60-minute intervals, but is stretched so that there are only even one-hour intervals that incorrectly span the whole screen, instead of correctly scaled intervals, the last one being 30 min and the rest being 1 hour.

I have a fix for this.

Replication steps

In the Graphical EPG, set MENU>Time scale to 210 min (3:30 hours), ane return to the EPG.

The time width of the EPG will be correctly set to 3:30 hours, but the tick parks are evenly spaced at 70 minute intervals (210 / 3 min), but labelled as 60 minute intervals. There should be three 60 minute intervals followed by one 30 minute interval.

Comments (2)

  1. Peter Urbanec

    Fix bug #444: Time tick marks sometimes displayed incorrectly in Graphical EPG

    Calculate screen interval between tick marks correctly, especiallt when the screen time span is not an integer multiple of the tick mark interval (e.g. screen time span 210 min, tick mark interval 60 min).

    → <<cset 48ace2cc2326>>

  2. Log in to comment