Opened 7 weeks ago

Last modified 6 weeks ago

#13534 accepted Bug Report - General

Cutlist editor OSD: 'current position' marker has become meaningless

Reported by: jpilk Owned by: mark-kendall
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: Master Head
Severity: medium Keywords: deletemap.cpp osd.cpp
Cc: Ticket locked: no

Description

I first saw this in 2019-render at commit c794391 of 21 Nov. The build before was 0907c2db of 17 Nov. This interval saw many commits including a merge from master.

The editor and its OSD still work, but the 'current position' mark is always at one end or the other of the progress bar. This is a regression.

http://lists.mythtv.org/pipermail/mythtv-dev/2019-November/077908.html

Change History (2)

comment:1 Changed 7 weeks ago by Jonatan Lindblad

It appears it's this cast that is causing the problem https://github.com/MythTV/mythtv/commit/c9c16f40790#diff-715ce5ff3fb7431a0e8fcfac1d732a5eR386

The position is a float between 0.0 and 1.0 so that is why the mark is either at the beginning or the end now when it's cast to an integer.

comment:2 Changed 6 weeks ago by mark-kendall

Owner: set to mark-kendall
Status: newaccepted
Note: See TracTickets for help on using tickets.