ipod6g
Rockbox dev build 1d7e9d4910-250509
Example: If you create a shortcut to the Brightness setting chooser and enter a name in the shortcut's optional "name:" field, when you subsequently access that chooser via your shortcut the chooser's list title will be the same as your shortcut's name. But if you then re-access that same chooser via the Settings menu (Settings->General Settings->Display->LCD Settings->Brightness), the chooser's list title will be the original "Brightness". The Shortcut spec in the Rockbox User Manual states "name: <what the shortcut should be displayed as>", which I incorrectly assumed meant only how the shortcut would be named in the user's Shortcuts menu, not what the chooser's list title would also become.
This allows for a potential condition that would break a theme's ability to reliably identify which setting chooser is the current screen if the test is based on the chooser's list title. In the example above, if you use %if(%Lt, =, %Sx(Brightness)) to test the chooser's list title it will return TRUE when you access the chooser via the Settings menu and it will return FALSE if you access the chooser via the named shortcut.
There is another more obscure way in which this varying chooser list title scenario creates a condition that causes a failure with %if(%Lt, =, %Sx(Brightness)). Here's how I discovered it:
For some reason that I can't recall, when I created my shortcut to the Brightness chooser I (ignorantly, unnecessarily and redundantly) set the shortcut's "name:" field to "Brightness". The lucky/coincidental result was that regardless of whether I accessed that chooser via my shortcut or via the Settings menu, the title of that chooser's list was still "Brightness" and %if(%Lt, =, %Sx(Brightness)) correctly identified the current screen as being the Brightness chooser. But then for further testing I changed the language to French, and when I accessed the chooser via the Settings menu the chooser's list title correctly appeared as "Luminosité" and the title test succeeded (thanks to the %Sx tag) but when I accessed it via my shortcut the list's title was "Brightness" and the title test failed.
So if you have a shortcut to a Setting chooser and if you don't give that shortcut a name, everything is fine. But when you do give it a name - even the same name as the chooser's default name - things can break. The obvious question is: [Edit] Is there an intentional reason and need/benefit for Rockbox to change a setting chooser's list title to be the same as the shortcut's user-supplied name?