we lived with a nasty shower curtain shoddily hung on the inside wall covering up the drywall and wood window trim and a rickety shower attachment for about two years before we finally did the thing right! we had the shower area completely tiled all the way to the ceiling and a shower head properly installed behind the wall.
but of course we waited until the week we were moving to finish it completely by painting the wood trim around the window. seemed like the appropriate timing...between packing boxes! here's what i did:
1. scrape all the loose paint from the trim. (if you are a perfectionist, first of all don't buy an old house. but if you already bought an old house and are stuck, you might want to remove all the paint first by using paint stripper or just remove the trim completely and tile up to the window instead.)
i'm not a perfectionist...so i just scraped.
2. after scraping and brushing off any paint crumbs, i pulled on some rubber gloves and scrubbed the raw wood with bleach. the corner (see right corner of trim) was getting moldy from being in the direct line of water from the shower. but the bleach worked beautifully and got it all off. i let that completely dry before step 3.
4. after taping, i put two coats of kilz on all of the trim. afterwards when i was trying to rinse out my brush, i realized that jay had bought oil instead of latex. ugh! great protection, but very hard to get off your hands!
5. after letting the kilz dry for at least a day, i applied two coats of valspar's ultra white to the wood trim. it was a soft gloss for the kitchen and bath. never seen it before but sounded like what i needed! a glossy paint is what you need for wood trim to protect it and keep it waterproof. jay had also sealed all the cracks and seams with paintable caulk before i started my process.