JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0100
Posted: 09 Oct 2025 05:29
XYplorer Version: 28.00.0200 (64-bit)
Windows Version: Windows 11 [24H2]
Screen scaling percentage :100%
WPS Office Version: 12.1.0.22529
Problem Description
I'm experiencing a file association issue specifically with JPG files when using WPS Office's photo viewer. PNG files open correctly with WPS Photo Viewer in XYplorer, but JPG files fail to display the image properly.
Version History:
Version 25.40.0400: Works correctly (both JPG and PNG open normally)
Version 26.90.0100: JPG loading broken (regression introduced)
Version 27.20.0100: JPG loading still broken
Version 28.00.0212: JPG loading still broken
This appears to be a regression that was introduced between v25.40.0400 and v26.90.0100.
Detailed Behavior
PNG files: Double-click opens normally in WPS Photo Viewer and displays the image correctly
JPG files: Double-click launches WPS Photo Viewer but only shows the program interface without loading the actual image
System behavior: Both file types work correctly when opened directly from Windows Explorer
Technical Investigation
Registry Analysis: Both JPG and PNG file associations point to the same command in Windows Registry:
"D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe" /photo /view "%1"
XYplorer Configuration: Currently no custom file associations for JPG or PNG in XYplorer.ini
Command Line Testing: The registry command works correctly when executed manually from Command Prompt for both JPG and PNG files
Steps to Reproduce
Set WPS Photo Viewer as default for both JPG and PNG files in Windows
In XYplorer, double-click a JPG file → WPS Photo Viewer opens but doesn't display the image
Double-click a PNG file → Works correctly
Attempted Solutions
Added custom file association in XYplorer.ini:
[FileAssoc]
Count=6
6="jpg>"D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe" /photo /view "%1""
Result: Same behavior - program opens but image doesn't load
Verified system default programs are correctly set for both file types
Suspected Issue
The problem appears to be specific to how XYplorer interacts with WPS Photo Viewer for JPG files. Since:
The same command works from command line
PNG files work correctly in XYplorer
Both file types work in Windows Explorer
The issue is a regression introduced in v26.90.0100
This suggests there might be a parameter passing issue or timing problem when XYplorer launches photolaunch.exespecifically for JPG files, which was introduced in a specific update.
Request
Could the development team investigate this regression issue between XYplorer and WPS Photo Viewer? The fact that this worked correctly in v25.40.0400 but broke in v26.90.0100 should help identify the specific change that caused this compatibility issue.
Thank you for your attention to this matter.
Windows Version: Windows 11 [24H2]
Screen scaling percentage :100%
WPS Office Version: 12.1.0.22529
Problem Description
I'm experiencing a file association issue specifically with JPG files when using WPS Office's photo viewer. PNG files open correctly with WPS Photo Viewer in XYplorer, but JPG files fail to display the image properly.
Version History:
Version 25.40.0400: Works correctly (both JPG and PNG open normally)
Version 26.90.0100: JPG loading broken (regression introduced)
Version 27.20.0100: JPG loading still broken
Version 28.00.0212: JPG loading still broken
This appears to be a regression that was introduced between v25.40.0400 and v26.90.0100.
Detailed Behavior
PNG files: Double-click opens normally in WPS Photo Viewer and displays the image correctly
JPG files: Double-click launches WPS Photo Viewer but only shows the program interface without loading the actual image
System behavior: Both file types work correctly when opened directly from Windows Explorer
Technical Investigation
Registry Analysis: Both JPG and PNG file associations point to the same command in Windows Registry:
"D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe" /photo /view "%1"
XYplorer Configuration: Currently no custom file associations for JPG or PNG in XYplorer.ini
Command Line Testing: The registry command works correctly when executed manually from Command Prompt for both JPG and PNG files
Steps to Reproduce
Set WPS Photo Viewer as default for both JPG and PNG files in Windows
In XYplorer, double-click a JPG file → WPS Photo Viewer opens but doesn't display the image
Double-click a PNG file → Works correctly
Attempted Solutions
Added custom file association in XYplorer.ini:
[FileAssoc]
Count=6
6="jpg>"D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe" /photo /view "%1""
Result: Same behavior - program opens but image doesn't load
Verified system default programs are correctly set for both file types
Suspected Issue
The problem appears to be specific to how XYplorer interacts with WPS Photo Viewer for JPG files. Since:
The same command works from command line
PNG files work correctly in XYplorer
Both file types work in Windows Explorer
The issue is a regression introduced in v26.90.0100
This suggests there might be a parameter passing issue or timing problem when XYplorer launches photolaunch.exespecifically for JPG files, which was introduced in a specific update.
Request
Could the development team investigate this regression issue between XYplorer and WPS Photo Viewer? The fact that this worked correctly in v25.40.0400 but broke in v26.90.0100 should help identify the specific change that caused this compatibility issue.
Thank you for your attention to this matter.