Formation of long-period post-common-envelope binaries - II. Explaining the self-lensing binary KOI 3278Diogo Belloni, Matthias R. Schreiber and Monica ZorotovicA&A, 687 (2024) A12DOI: https://doi.org/10.1051/0004-6361/202449320