Can't copy media url in edit or view mode

Can’t copy media url in edit or view mode ever since upgrade to 3.1.2. I can only capture this url when a new file is uploaded. The link area is gray any other time.