0.51 - "save as" into hidden directory

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

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
pim
Posts: 27
Joined: Sun Nov 06, 2011 12:11 pm

0.51 - "save as" into hidden directory

Post by pim »

Hi.

Steps to reproduce
1. Open any file:

Code: Select all

/any_path/file.jpg
2. Try to save as into some hidden directory (dir name beginning with dot):

Code: Select all

~/.hidden_dir/another_dir/file_out.jpg
Result
3. File is saved without name and in directory level above hidden dir:

Code: Select all

~/.jpg
Not very serious bug but worth mentioning since my usual workflow is to store and edit new pictures in hidden dir until everything is sorted.

Have a nice day.
Version 0.92 x64 (Sep 29 2018) - un*x
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: v0.51 - "save as" into hidden directory

Post by oops66 »

pim wrote:... File is saved without name and in directory level above hidden dir ....
Hi,
Strange, I can not reproduce, that works here:

Code: Select all

example::
After Save as...
~/.aaa/a/test1.jpg
... I have into the directory ~/.aaa/a/ a file named test1.jpg
XnViewMP Linux X64 - Debian - X64
pim
Posts: 27
Joined: Sun Nov 06, 2011 12:11 pm

Re: v0.51 - "save as" into hidden directory

Post by pim »

Well, I don't know then...

Attaching partial terminal output:

Code: Select all

########################################
############### UPDATE MENU ############
########################################
CheckContent...
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(14)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 12d8530 
######ThumbLoaderThread :: forever : 12d8530 
setCurrentFilename </home/nabuko/.jpg>
############### ERROR: AbstractViewWindow :: currentFilename ###########
############### ERROR: AbstractViewWindow :: currentFilename ###########
############### ERROR: AbstractViewWindow :: currentFilename ###########
SIZE : 0 113  (-1)
SIZE : 0 64  (-1)
############### ERROR: AbstractViewWindow :: currentFilename ###########
CheckContent...
My filesystem is Ext4.
Installed or XnViewMP-linux.tgz simply unpacked to any directory and with default config it's still the same. So I don't see any reason why we should get different results for same action. I'll try to dig further but now I don't know what else may be relavant.
Version 0.92 x64 (Sep 29 2018) - un*x
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: v0.51 - "save as" into hidden directory

Post by oops66 »

My filesystem is Ext4 too.
Do you also have into: Settings\Browser\File list\Show hidden files and folders "checked" ?

Note - maybe due to:
... if I open a hidden file ".a.jpg" then "Save as" I have into the window ".a" and I type ".a2" to new name but without .jpg extension, I also have a file ".jpg" only.
... but if put the jpg extension ".a2.jpg" that works here.

@Pierre:
PS: Here into the Browser mode, ".hidden_folders" are only shown into the thumbnails window (not into the Browser tree) should be also shown as option (or with a new option for tree only), ... or maybe a bug ?
XnViewMP Linux X64 - Debian - X64
pim
Posts: 27
Joined: Sun Nov 06, 2011 12:11 pm

Re: v0.51 - "save as" into hidden directory

Post by pim »

Do you also have into: Settings\Browser\File list\Show hidden files and folders "checked" ?
That makes no difference.
if I open a hidden file ".a.jpg" then "Save as" I have into the window ".a" and I type ".a2" to new name but without .jpg extension, I also have a file ".jpg" only.
You found it:-). In saving dialog window there is no extension. I never bothered to add it because it is saved with correct extension. It was only the name what disappeared. Strange is that when saving into regular directory, missing extension in saving dialog is no problem. Only when saving into hidden dir. So that is the reason...
Version 0.92 x64 (Sep 29 2018) - un*x
Post Reply