And this crash appears to be os specific (native vs non-native file dialogs?). On Mac OS when I try that exact sequence of events and force select the open button I just get a qmessage box that says:
"Sport_Fish.1.jpg"
"File not found."
"Please verify the correct file name was given."
With an Okay button. If you press it all is fine and it brings you back to the non-native file dialog box and gives you a chance to type in or browse to a real file.
If I try any kind of url it seems the MacOS non-native qfiledialog also refuses to allow you to select the open button, leaving only cancel.
This is when I try the url provided above:
Code:
https://www.adfg.alaska.gov/static/fishing/images/sport/galleries/Sport_Fish.1.jpg
So on Mac OS no crash, but I really think that is because the non-native file dialog used on MacOS properly handles that case by checking to see if the local file exists.
I will test next under Linux.