Fingers crossed...
Even stranger than the version I had, I'm afraid. It's sometimes (but not always) picking up all the variables from the selected skin, and
also from the default skin!
There's something very weird going on with
getSkinVariables().
Edit: It just gets weirder and weirder. I switched my default skin from
Gromit to
Minimal, closed jAlbum, and launched it again. If I generate the skin model, I get just the variables from
Minimal. So far, so good. Now I switch to the
DPL3 skin, and generate the skin model. I get a mix of the variables from
DPL3 and, wait for it....,
Gromit!