By default, Bugzilla does not search the list of RESOLVED bugs.You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
| Summary: |
[khangman] Infinte loop during the loading of the settings |
| Product: |
TDE
|
Reporter: |
L-Sebastien <l-sebastien> |
| Component: |
tdeedu | Assignee: |
Michele Calgaro <michele.calgaro> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
bugwatch, michele.calgaro
|
| Priority: |
P5
|
|
|
| Version: |
R14.0.x [Trinity] | |
|
| Hardware: |
amd64 | |
|
| OS: |
All | |
|
|
Compiler Version:
|
|
TDE Version String:
|
|
|
Application Version:
|
|
Application Name:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
3161
|
|
|
Infinite loop is present during the loading of the settings when the current language ('fr' here) isn't present from the directory '/opt/trinity/share/apps/khangman/data'. Only 'en' is present. Code: ===== // Language //TODO is selectedLanguage necessary??? only used here selectedLanguage = Prefs::selectedLanguage(); if (m_languages.grep(selectedLanguage).isEmpty()) selectedLanguage = "en"; changeStatusbar(m_languageNames[m_languages.findIndex(Prefs::selectedLanguage())], IDS_LANG); Traces: ======= (gdb) print selectedLanguage $3 = "fr" (gdb) print m_languages $4 = { <TQValueList<TQString>> = TQValueList<TQString> = { [0] = "en" }, <No data fields>} => selectedLanguage is not used instead of 'Prefs::selectedLanguage()'. Versions: ========= OS: Centos 7.8 Trinity: R14.0.9