I share a similar plight with the guy before only difference is it's with an 04 Forester STi. I held the passenger front window switch up for a little too long next thing I know my driver side window goes all the way to the top and the safety mechanism kicks in as if something is in its way which would make the window automatically return to half way open.
I then proceeded to hold down the window switch of both the passenger and driver side for maybe 5 seconds, then 10 then 15 and ultimately 25 second intervals, after which the driver side resumed normal operations.
As soon as I'd turn off the car however the unwanted behavior would return :(. I have all but given up and would love to hear from a Subaru manual as I reside in the Caribbean and have no Subaru dealer to turn to (my vehicle was imported from Japan.)