Electric windows

The front passenger side window on my 2000 Volvo XC70 wagon doesn’t work only in warm weather. The dealer replaced the the complete driver side window controls which seemed to help for a while, but now that summer is here the window won’t work again. Any ideas on this? The dealer has no new ides other than replacing the controls again.