John Paul II did, as I understand it, address the issue of homosexuality by stating that "being" homosexual was not a problem within the church, "practicing" homosexuality is. The solution: practice celibacy
Your understanding comports with mine.
It was John XXIII who promulgated a directive which forbade Ordinations of homosexuals.
That's called "prudence."