nuhrin / pandafe

"Universal" SDL frontend for Pandora
GNU General Public License v3.0
5 stars 0 forks source link

Appearance editing weirdness in Game Browser -> List -> Font #30

Closed nuhrin closed 10 years ago

nuhrin commented 10 years ago

Report from FZERO:

Just noticing an issue which I can raise on your issue list, though wonder if anyone else can confirm getting this too... When editing a theme, I'm in the 'Game Browser Appearance' edit screen... Under the 'List' screen... Under the 'Font' screen... The fonts are a bit mumbo jumbo... ...one moment Bitwise font is showing correct, then select another and go back to Bitwise and it shows as one of the different fonts. They all do this. Can still pick what I want as get previews anyway but I know these fonts and can see they getting mixed up and seems to be random too, as if you keep switching fonts they jumble up each time. Not just me is it?

nuhrin commented 10 years ago

What it looks like is happening is that when you change the game browser -> list -> font, the sdl surfaces for the list items are updated but the list surface is not rebuilt and/or displayed properly at that time. When you choose another font, what you see is the result of your previous font selection. As you continue to make new font selections, the list continues to be one font selection behind. If you select the same font twice in a row, you'll get the expected result.

The same issue appears to be present for the font size and item color fields on the game browser -> list menu, which gives me a pretty good idea about which bits of code are to blame.

This doesn't appear to happen for any appearance area apart from the game browser list. It also doesn't happen if you don't change views in the browser before editing the list appearance. (Although actually, the item color issue happens whether or not the browser view has been changed).