Opened 15 years ago
Closed 15 years ago
Last modified 14 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 Changed 15 years ago by
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
comment:4 Changed 15 years ago by
(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 Changed 15 years ago by
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 15 years ago by
(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 Changed 15 years ago by
(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.