Bug 534441

Summary: SWT Program.findProgram("media extension") returns null by default Windows 10 association
Product: [Eclipse Project] Platform Reporter: Dominic Guss <Dominic.Guss>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: TheRealHawk
Version: 4.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=565056
Whiteboard:

Description Dominic Guss CLA 2018-05-07 12:13:26 EDT
When one or more media file extensions are associated with the new Windows 10 Photo application, which is the default associated photo viewing application, the SWT Program.findProgram(<"extension">) always returns null.
Comment 1 Al Bundy CLA 2020-09-30 05:04:08 EDT
Still seems to be an issue.

Program.findProgram("jpg") retuns null with default settings.
But Progam.launch("c:/temp/foobar.jpg") can open the file.

If you assign a new program for jpg-exension (e.g paint) Program.findProgram("jpg") returns a valid program.
Comment 2 Al Bundy CLA 2020-09-30 05:05:27 EDT
Program.getExtensions() returns all extension even those that are not working with Program#findProgram

Program.getPrograms() returns all programs but it seem that the value of extension for each program is null (checked per reflection).