1.7.2 - viewer/browser - open with associated editor - path truncated at space

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 2231
Joined: Sat May 09, 2015 9:37 am

1.7.2 - viewer/browser - open with associated editor - path truncated at space

Post by user0 »

XnViewMP 1.7.2 64bit
Windows11 (23H2), display resolution 3840x2160, win scaling 150%


Browser/Viewer - open with associated editor (MSPaint in my case)
path param is truncated at the first space

To reproduce:
0. make the following file/folder: "c:\a b c\a b c.png"
1. open file in Viewer or select in Browser, press F4
Paint "file not found" error message appears, showing the path truncated after the first space
(c:\a.png)


there is no such issue when using Edit command in win file explorer
User avatar
xnview
Author of XnView
Posts: 45579
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 - viewer/browser - open with associated editor - path truncated at space

Post by xnview »

no problem here, Paint is opened correctly
Pierre.
User avatar
user0
XnThusiast
Posts: 2231
Joined: Sat May 09, 2015 9:37 am

Re: 1.7.2 - viewer/browser - open with associated editor - path truncated at space

Post by user0 »

right, I forgot to add quotes around %1