Page 1 of 1

0.61 Linux: dot in folder name -> saveas bug

Posted: Sun Dec 15, 2013 3:49 pm
by dietmar
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

Re: 0.69 Linux: dot in folder name -> saveas bug

Posted: Sat Oct 18, 2014 2:20 pm
by dietmar
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

Re: 0.69 Linux: dot in folder name -> saveas bug

Posted: Wed Mar 01, 2017 10:18 am
by xnview
do you have always the bug with lastest version?

Re: 0.69 Linux: dot in folder name -> saveas bug

Posted: Thu Mar 09, 2017 2:20 pm
by dietmar
xnview wrote:do you have always the bug with lastest version?
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.

Regards
Dietmar

Re: 0.61 Linux: dot in folder name -> saveas bug

Posted: Thu Mar 09, 2017 2:22 pm
by helmut
Thank you for checking, dietmar.

@Pierre: Could you please try to reproduce the problem, again?

Re: 0.69 Linux: dot in folder name -> saveas bug

Posted: Thu Mar 09, 2017 3:45 pm
by xnview
O.k., thank you, I can also reproduce the problem. Issue 1156 is fixed in next version.

Re: 0.61 Linux: dot in folder name -> saveas bug

Posted: Thu Mar 16, 2017 8:42 am
by xnview
This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.

Re: 0.61 Linux: dot in folder name -> saveas bug

Posted: Sat Apr 08, 2017 11:05 am
by dietmar
xnview wrote:Please check and confirm the bug fix here.
Fix confirmed. Thanks!

Dietmar