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

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
lxuning
Posts: 5
Joined: 09 Oct 2025 05:18

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

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

What if you open the JPG via shell context menu (right-click the file)?

lxuning
Posts: 5
Joined: 09 Oct 2025 05:18

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

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Select a JPG and run this script through the address bar: open , w; Does it work?

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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

lxuning
Posts: 5
Joined: 09 Oct 2025 05:18

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

Post 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.

lxuning
Posts: 5
Joined: 09 Oct 2025 05:18

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

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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);

lxuning
Posts: 5
Joined: 09 Oct 2025 05:18

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

Post by lxuning »

D:\Program Files (x86)\WPS Office\12.1.0.22529\office6\photolaunch.exe

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Thanks. Should work better in the next betas.

Post Reply