[mythtv-commits] mythtv commit: r25050 by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jun 8 22:09:24 UTC 2010


      Author: mdean
        Date: 2010-06-08 22:09:24 +0000 (Tue, 08 Jun 2010)
New Revision: 25050
   Changeset: http://svn.mythtv.org/trac/changeset/25050

Modified:

   trunk/mythtv/libs/libmythui/mythfontmanager.cpp

Log:

Fix UI hang at startup on a misconfigured system (generally showing a whitish, pre-themed screen--potentially with some text in tiny fonts at the top left).

Iff the DEFAULT_UI_THEME and FALLBACK_UI_THEME do not exist, MythUIHelper's m_themepathname gets changed from the empty string to "/".  This resulted in the MythFontManager's scanning the entire filesystem looking for font files (and, generally, falling into an infinitely deep well in /proc).  This change checks for "/" as well as empty directories before scanning.  I'll also add code to trunk to limit the number of directories the MythFontManager will scan, but this fixes the issue in a -fixes-compatible way.





More information about the mythtv-commits mailing list