Page 1 of 1

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
by lxuning
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.

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 10 Oct 2025 08:44
by admin
What if you open the JPG via shell context menu (right-click the file)?

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 11 Oct 2025 12:04
by lxuning
When I use the shell context menu (right-click → Open) to open JPG files, they open correctly in WPS Photo Viewer and the image displays normally, without any issues.

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 11 Oct 2025 13:08
by admin
Select a JPG and run this script through the address bar: open , w; Does it work?

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 12 Oct 2025 12:53
by admin
lxuning wrote: 09 Oct 2025 05:29 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.
To narrow this down, could you check these versions:
v25.90.0100 - 2024-04-23 21:00 --> https://www.xyplorer.com/freezer.php?ver=25.90.0100
v26.00.0300 - 2024-05-30 20:00 --> https://www.xyplorer.com/freezer.php?ver=26.00.0300
v26.10.0200 - 2024-06-18 19:00 --> https://www.xyplorer.com/freezer.php?ver=26.10.0200

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 13 Oct 2025 16:42
by lxuning
​Subject: Regression Confirmed: JPG File Opening Broken Between v26.00.0300 and v26.10.0200​​
​​Further Testing Results:​​
I have conducted additional testing to pinpoint the exact version where the regression was introduced:
​​Tested Versions and Results:​​
​​XYplorer 25.90.0100​​: ✅ JPG files open correctly when double-clicked
​​XYplorer 26.00.0300​​: ✅ JPG files open correctly when double-clicked
​​XYplorer 26.10.0200​​: ❌ JPG files fail to open when double-clicked
​​Conclusion:​​
The regression was specifically introduced between version ​​26.00.0300​​ and ​​26.10.0200​​.
This narrows down the problematic change to a very specific version range, which should help identify the exact commit or change that caused this compatibility issue with WPS Photo Viewer for JPG files.
The behavior remains consistent with my previous report: PNG files work correctly in all versions, while JPG files only work via right-click context menu in the affected versions.

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 13 Oct 2025 16:54
by lxuning
WPS Office Download Links:​​
​​Chinese Version Download Link:​​ [https://www.wps.cn/]
​​English Version Download Link:​​ [https://www.wps.com/]
Please find the official download links for WPS Office above. The first link is for the Chinese version of the website, and the second link is for the international/English version.

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 14 Oct 2025 11:31
by admin
Okay, it all goes back to a fix on 2024-06-04 in the course of this thread: viewtopic.php?t=26335

What do you get when you run this script:

Code: Select all

text get("assoc", "*.jpg", 8);

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 23 Oct 2025 05:10
by lxuning
D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe

Re: JPG files fail to open with WPS Photo Viewer in XYplorer, while PNG files work correctly - Regression since v26.90.0

Posted: 27 Oct 2025 08:55
by admin
Thanks. Should work better in the next betas.