Bugzilla – Bug 5905
SetupLanguage help and title bars get mismatched after scrolling up and down
Last modified: 2009-09-08 09:15:08 UTC
oreillymj wrote:[color=blue] > > I then noticed that on the first page of the wizard, the Chosse > Language header appeared in the wrong language for the item > selected in > the list. It was offset by 1. Initially it says "Choose Language" and > English is selected in the list, but move up and down the menu and > English gets a header of "Scegliere la lingua" > I have successfully reproduced this bug.
I see that too. It doesn't seem hard to reproduce - just factory reset the remote and I see it.
from SetupLanguageApplet.lua: function _showLang(self, choice) if not choice then choice = self:getSettings().locale end -- this uses private data/methods from Applet and locale, but it's needed for speed locale:parseStringsFile(choice, self._entry.stringsFilepath, self._stringsTable) Framework:styleChanged() end locale:parseStringsFile is getting all of the proper strings from the strings.txt file, but Framework:styleChanged() for some reason is always one step behind in updating the title bar. Thus, if you scroll up from English to Deutsch, everything but the title bar updates correctly. Then when you move from Deutsch to Espanol, title bar updates to Deutch translation. Looks like styleChanged() is a C function? punting this to Richard for comment
*** Bug 5785 has been marked as a duplicate of this bug. ***
r754 should fix this
fix verified on jive desktop with r754
This bug has been fixed in the latest release of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.