Has anyone come across this?
My IDE 1.8.12 instance has been opened for a day+, a KeyeStudio Upgraded Mega (switching power supply) has been plugged/unplugged several times, and now I see the COM port it uses shown several times.
Still compiles uploads, runs ok,
Note that issue is actually about an upload failure that was caused by the same event that also caused the multiple Tools > Port menu entries. The upload error bug has been fixed in the production IDE release but the duplicate port listing bug was only fixed in the beta build of the Arduino IDE.
I think it already has! I just tried it with the Arduino IDE 1.8.12 you're using and was able to reproduce the bug, then tried with Arduino IDE 1.8.13 and was not able to reproduce the bug.