https://github.com/FreeCAD/FreeCAD/issues/9273#issuecomment-2833296625
So change the ruleExec=env COIN_GL_NO_CURRENT_CONTEXT_CHECK=1 /usr/bin/freecad - --single-instance %F
in the desktop file /usr/share/applications/org.freecad.FreeCAD.desktop as well to have it fixed there.
Or add it to the environment variables in /etc/profile.