is bad. There's a switch that is opened/closed that causes the window to drop.
If the door handle is released without opening the door the window should raise to its previous position.
If the door is opened the door latch switch opens and prevents the window from raising even though the handle is released once the door is open,
My 02 exhibited the above on the passenger's side of the car.
But before this, the infrequent but frequent enough symptoms were a double beep when locking the car. I always checked and never found anything ajar but suspecting a bad center console switch or perhaps a bad rear trunk lid switch I would work one or the other and the double beep would not reappear.
At other times after unlocking the car while on the road the door lock LED would light up and I would hear the door locks lock. I would press the door unlock button and they would unlock, sometimes to remain unlocked the rest of the trip (often a trip of 30 minutes or more) while a few times the symptom would repeat.
The last symptom was the passenger side window dropping when the door was opened but then rising once the door was open and the handle released.
For 1st and 2nd group of symptoms (at different times) I took the car in to the local dealer. In the 1st case a door latch assembly was replaced.
In the 2nd case the door lock assembly (a much more complex assembly -- bigger box -- more smarts/electrics) was replaced. This is part of the car's security system and the tech was able to id it was at fault and nothing else using the Porsche diagnostics computer and the drive/test links of the system to check out the security system and retrieve some error codes that were present.
I do not remember the costs of the two repairs but the door latch assembly repair was the cheaper of the two. The door lock assembly was more expensive due to a bit more labor and the part cost being around $400.
Oh, I have had the window regulator -- both sides -- go out so "while you are there" or while someone is there ( the tech ) have the window regulator checked and replaced.
On both sides the tech told me the thing just came apart when he tried to remove it. They were worn out.
The window regulator is the hardware/mechanism that moves the window up and down. In my car's case the symptom was an insufficient/slow drop when I opened the door and possibly a slow or noisy window lower/raise operation using the buttons. I can't recall exactly now but it was clear that the window was not functioning right.
Sincerely,
MarcW.