Saving a file under a new name does not work correctly if the path contains a dot.
Example: Given a path such as home/XYZ.fr/somepath/
From the browser open the image home/XYZ.fr/somepath/somefile.jpg
Save the image using SaveAs.
The folder dialog correctly defaults to home/XYZ.fr/somepath/ with the image name default to somefile.jpg
Name the new image newimage.jpg
XnView does not save the file to home/XYZ.fr/somepath/newimage.jpg
Instead it saves the file to home/XYZ.jpg
You need to parse the path from the end to find the delimiting dot, not from the start
Side effect: The browser loses the active folder during this operation.
Dietmar
0.61 Linux: dot in folder name -> saveas bug
Moderators: XnTriq, helmut, xnview, Dreamer
Re: 0.69 Linux: dot in folder name -> saveas bug
Pierre, thanks for 0.69!!!
This bug which I reported for 0.61 seems to have slipped through your notes. It's still in 0.69 - and it's annoying
Dietmar
This bug which I reported for 0.61 seems to have slipped through your notes. It's still in 0.69 - and it's annoying
Dietmar
Re: 0.69 Linux: dot in folder name -> saveas bug
do you have always the bug with lastest version?
Pierre.
Re: 0.69 Linux: dot in folder name -> saveas bug
Pierre, I just checked with Version 0.84 x64 (Jan 17 2017) running under Ubuntu and yes, the bug is still there: I open any image (png in this case), select save-as, select a folder with a dot in its name like ABC.DE, and the file is saved in that folder's parent directory under ABC.png.xnview wrote:do you have always the bug with lastest version?
Regards
Dietmar
Re: 0.61 Linux: dot in folder name -> saveas bug
Thank you for checking, dietmar.
@Pierre: Could you please try to reproduce the problem, again?
@Pierre: Could you please try to reproduce the problem, again?
Re: 0.69 Linux: dot in folder name -> saveas bug
O.k., thank you, I can also reproduce the problem. Issue 1156 is fixed in next version.
Pierre.
Re: 0.61 Linux: dot in folder name -> saveas bug
This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.
Re: 0.61 Linux: dot in folder name -> saveas bug
Fix confirmed. Thanks!xnview wrote:Please check and confirm the bug fix here.
Dietmar