[MovieSelection] Newly selected sort not correctly displayed in "Sort" button

Issue #497 resolved
prl created an issue

In MovieSelection, if a coloured button is assigned the "Sort" function (not "Sort..."), each time the button is pressed, the short name of the new sort should display in the button for 3 seconds before the button hint reverts to "Short".

The text of the new sort name is displayed, but only very briefly, for too short a time to be useful.

The button hint is changed, but as soon as the list has been re-displayed, MovieSelection.selectionChanged() is called, which in turn calls MovieSelection._updateButtonTexts() which replaces the newly selected sort name with the string "Sort".

Replication steps

In the media browser (MEDIA from live TV), go to MENU>Settings and set the action for (say) Button Blue to "Sort".

Return to the media list. Press the BULE button to change sort order. with each press of the BLUE button, the new sort order flashes up briefly, but for too short a time to be useful.

Comments (2)

  1. Peter Urbanec

    Fix Bug #497: [MovieSelection] Newly selected sort not correctly displayed in "Sort" button

    [MovieSelection]

    In _updateButtonTexts() don't update a 'sort' button label if sorttimer is active. The buttons will be updated again when the timer fires.

    Move the creation and callback initialisation of sorttimer to init() so it is always available for _updateButtonTexts() to test.

    → <<cset 0296dd45c1b7>>

  2. Log in to comment