Opened 16 years ago
Closed 16 years ago
Last modified 16 years ago
#7382 closed defect (fixed)
MythTV can dies when you attempt to upgrade from a default install 0.21 to 0.22
Reported by: | danielk | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | blocker | Milestone: | 0.22 |
Component: | MythTV - General | Version: | 0.22rc1 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
MythTV can dies when you attempt to upgrade from a default install 0.21 to 0.22 if you don't install the extra themes. G.A.N.T was the default in the last release, but is now an extra theme.
The problem is that the Theme fallback code does not work if your theme exists but is incompatible with MythTV 0.22.
Change History (9)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
comment:3 by , 16 years ago
comment:4 by , 16 years ago
(In [22588]) Fix theme reloading and resetting in mythfrontend for -fixes. Refs #7382.
Backports [22544], [22586], and [22587] from trunk. Also backports all of [22542] except the change from OverrideSettingForSession() to SaveSetting() (which I'll be reverting from trunk, as it's no longer required).
comment:5 by , 16 years ago
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 16 years ago
(In [22593]) Allow fallback to MythCenter-wide if Terra is missing. Previously, the fallback was only used if the default UI theme was and incompatible version. Refs #7382.
comment:8 by , 16 years ago
(In [22594]) Allow fallback to MythCenter-wide if Terra is missing. Backports [22593] from trunk. Refs #7382.
This will require backporting either [22542] (use gContext->SaveSetting() to write the fallback theme, Terra, to the database--which will cause a clear cache) or [22544] (check settings overrides in MythDB::GetSetting()) or explicitly calling MythDB::ClearSettingsCache() from MythDB::OverrideSettingForSession(). Once that's done, we always get a valid Theme; however, we still need to fix the "QPainter: Painter not active" errors which prevent drawing the theme properly (showing which button is selected) that occur when the theme is changed late in the initialization process.