I know the way Minecraft currently acts in this case is correct but still maybe irritating for some.
When you make a screenshot, delete it and then click on the link in the chat you get this error message:
[17:42:42] [Client thread/ERROR]: Couldn't open link
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at bxf.a(SourceFile:481) [1.8.2-pre1.jar:?]
at bxf.a(SourceFile:303) [1.8.2-pre1.jar:?]
at bvw.a(SourceFile:127) [1.8.2-pre1.jar:?]
at bxf.k(SourceFile:405) [1.8.2-pre1.jar:?]
at bvw.k(SourceFile:105) [1.8.2-pre1.jar:?]
at bxf.p(SourceFile:382) [1.8.2-pre1.jar:?]
at bst.r(SourceFile:1488) [1.8.2-pre1.jar:?]
at bst.at(SourceFile:884) [1.8.2-pre1.jar:?]
at bst.a(SourceFile:321) [1.8.2-pre1.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [1.8.2-pre1.jar:?]
Caused by: java.io.IOException: Failed to open file:/####/AppData/Roaming/.minecraft/screenshots/2015-01-01_17.42.30.png. Error message: Das System kann die angegebene Datei nicht finden.
at sun.awt.windows.WDesktopPeer.ShellExecute(Unknown Source) ~[?:1.8.0_25]
at sun.awt.windows.WDesktopPeer.browse(Unknown Source) ~[?:1.8.0_25]
at java.awt.Desktop.browse(Unknown Source) ~[?:1.8.0_25]
... 14 moreinstead of any kind of feedback in the client or just a message that this file doesn't exist. (Which could be accomplished by just testing if this file exists before opening it...)
Sorry that the message there ("Das System kann die angegebene Datei nicht finden.") is in German, it basically means that the OS wasn't able to find the given file.
Comments 3
Might be invalid as you deleted the screenshot, else also the launcher is affected and maybe other parts of the game (for example resource packs)
Not a duplicate. MC-31787 is about file associations and not finding the correct application for opening screenshots.