Well, the title says it all : onion skin for a layer should be hidden if that layer is not listed in the timeline :) Thanks
Ok, I think it would be reasonable to see onionskin of layers only if they are shown in the timeline (that is, if layer is selected, or if it has "show in timeline" activated).