OS: Linux Debian 12 (Bookworm) 64 bit
On the Linux build of XnViewMP, associated program arguments don't get passed to the program being run. On windows, this feature works as expected.
Both XnViewMP versions are the same for each install tested.
Effect: XnView fails to pass arguments to program.
To reproduce:
1. Install XnViewMP on Linux
2. Select a file in XnView
3. From the "File" menu, open "Open with" and select "Configure programs..."
4. In the dialog that opens, click the "Add..." button and choose any program on your computer that accepts command line arguments. (For example, Python)
5. Edit the "Arguments" column to add arguments values you would be able test for in the program you chose.
6. Click OK to close the dialog and apply changes.
7. Right click on a file in XnView and from the "Open with" menu, choose the program you added in the dialog with the custom arguments.
For a test case, I use a python script that writes the command line arguments to a text file:
Code: Select all
import sys, os
with open(r"C:\Users\USERNAME\Desktop\output.txt", "w") as f:
for item in sys.argv:
f.write(item + "\n")
Expected behaviour: Arguments would be passed to the program like on the Windows OS builds.
Screenshots for Linux Debian 64bit:
Screenshots for Windows 11 Home 64bit: