0.61 Linux: dot in folder name -> saveas bug

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

0.61 Linux: dot in folder name -> saveas bug

Post by dietmar » Sun Dec 15, 2013 3:49 pm

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

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

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

Post by dietmar » Sat Oct 18, 2014 2:20 pm

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

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Wed Mar 01, 2017 10:18 am

do you have always the bug with lastest version?
Pierre.

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

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

Post by dietmar » Thu Mar 09, 2017 2:20 pm

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

User avatar
helmut
Posts: 8172
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Thu Mar 09, 2017 2:22 pm

Thank you for checking, dietmar.

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

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Mar 09, 2017 3:45 pm

O.k., thank you, I can also reproduce the problem. Issue 1156 is fixed in next version.
Pierre.

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Mar 16, 2017 8:42 am

This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

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

Post by dietmar » Sat Apr 08, 2017 11:05 am

xnview wrote:Please check and confirm the bug fix here.
Fix confirmed. Thanks!

Dietmar

Post Reply