[[ Bug 12080 ]] Implement 'the hidePalettes' property in Desktop layer.