I can confirm this issue with Ubuntu 22.04 in as much as any attempt to open a further Files window will show on the dock as a PyCharm window. Once the Files window that was opened by PyCharm has been closed then the dock displays the 'dot' against Files correctly when further instances of Files are opened.
I can confirm this issue with Ubuntu 22.04 in as much as any attempt to open a further Files window will show on the dock as a PyCharm window. Once the Files window that was opened by PyCharm has been closed then the dock displays the 'dot' against Files correctly when further instances of Files are opened.