fix #22540: better warnings fo file not found when opening via Open Recent