Page 1 of 1
0.51 - "save as" into hidden directory
Posted: Wed May 01, 2013 10:51 am
by pim
Hi.
Steps to reproduce
1. Open any file:
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:
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.
Re: v0.51 - "save as" into hidden directory
Posted: Wed May 01, 2013 1:31 pm
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
Re: v0.51 - "save as" into hidden directory
Posted: Wed May 01, 2013 4:53 pm
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.
Re: v0.51 - "save as" into hidden directory
Posted: Wed May 01, 2013 5:10 pm
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 ?
Re: v0.51 - "save as" into hidden directory
Posted: Thu May 02, 2013 3:42 pm
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...