[mythtv-commits] Ticket #13046: Bugs in mythui settings
MythTV
noreply at mythtv.org
Fri Aug 18 22:44:42 UTC 2017
#13046: Bugs in mythui settings
---------------------------------------------+--------------------------
Reporter: pbennett | Owner: pbennett
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 29.0
Component: MythTV - User Interface Library | Version:
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+--------------------------
Comment (by rsiddons):
IIRC in 28 settings were only created in the database when the user
changed them from their default value. New, unchanged settings wouldn't
exist so would use the default value specified by the code reading them,
ie !GetSetting(name, default)
In 29 any absent setting is created upon entry to a settings screen
containing it (it's deemed to have changed because undefined != default
value). Simply entering, then exiting the screen will cause the db
updates. There is no UI pop-up/indication.
This could lead to subtle behavioural changes, depending solely on whether
the user has navigated the setting screens.
A new install/new setting will use the !GetSetting() default initially.
After viewing a related setting screen the default defined by the setting
screen will be used instead. Usually the various defaults are identical
but that's not guaranteed.
Probably not an issue but worth noting.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13046#comment:32>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list