Closed Bug 788190 Opened 12 years ago Closed 11 years ago

An invalid default file extension is sometimes passed into WinRT file picker causing an exception

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bbondy, Assigned: bbondy)

Details

(Whiteboard: completed-elm)

Sometimes the value passed into SetDefaultExtension isn't a valid file extension.

It may contain invalid chars which causes an exception when trying to set the save file picker's default file extension.

You can reproduce such a case with the following:
1. Go to a stackoverflow profile page (e.g. http://stackoverflow.com/users/3153/brian-r-bondy)
2. Right click on the image and Save Image As...

Actual results:
File picker is not shown

Expected results:
File picker should be shown

We should ignore such exceptions and have no default in that case.
elm -> m-c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.