Mac OS 15.6.1 (Also happening on some older versions) PyCharm 2022.2.5 (Community Edition, also happening on some older versions)
I have projects containing both python code and groovy/jenkinsfile. When I edit a groovy/jenkinsfile, sometimes Command + S leads to the change of the icons displayed in PyCharm project view. In the following image, common.groovy and the last Jenkinsfile_ file have been done so, and I cannot double click them to open in PyCharm.
These files still work well and can be opened via other editors (like VIM)

common.groovycontains 2 simple functions commonly used by these jenkinsfiles.