Crash in Front panel settings

Issue #628 resolved
prl created an issue

On systems where /proc/stb/lcd/initial_scroll_delay exists (e.g. the U4), opening the setup screen MENU>Setup>System>Front panel settings crashes the UI.

The problem is that the new test for requires in setup.xml that allows negation does not deal correctly with config items or SystemInfo items that are not either the string "0" or objects that evaluate to either 0 or 1 in numeric expressions.

In the particular case of systems where /proc/stb/lcd/initial_scroll_delay exists, SystemInfo["VFD_initial_scroll_delay"] == /proc/stb/lcd/initial_scroll_delay .

Other SystemInfo values that can be strings, including ones that are configured by Tools.Directories.fileCheck(), and config values that are strings (e.g. ConfigSelection) will also trigger the bug if used in requires.

Replication steps

On a U4 (or other PVR where /proc/stb/lcd/initial_scroll_delay exists, open MENU>Setup>System>Front panel settings. Crash.

Comments (1)

  1. Log in to comment