[mythtv-users] Watch Recordings scrolling and update

Jim Stichnoth stichnot at gmail.com
Thu Aug 20 23:28:06 UTC 2015


On Wed, Aug 19, 2015 at 1:33 PM, Karl Newman <newmank1 at asme.org> wrote:

>   2 - when "All Programs" is highlighted, new recordings do not appear at
>>       the top of the programs column on the right. I have to go down and
>>       back up for that list to refresh.
>>
>
> That one may be a MythUI issue. That bugs me, too. New recordings actually
> are added to the list, but it's added above the top line, so you have to
> move into the list and scroll up to see it.
>
> Not MythUI.  This is directly in the mythfrontend program:
https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfrontend/playbackbox.cpp#L1589

In  PlaybackBox::UpdateUILists(), it tries to preserve the cursor state
after asynchronous changes come in, such as a new recording, or another
frontend deleted an existing recording.  It does this via calls to
save_position() and restore_position().  It's nice that the cursor remains
fairly stable when these changes happen.

That said, if the focus is on the group list, and the episode list is
already at the top, and a new episode comes in, it would seem to make sense
to scroll the episode list to show the new item.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150820/cb4be895/attachment-0001.html>


More information about the mythtv-users mailing list