0.51 - "save as" into hidden directory

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

Moderator: Dreamer

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

0.51 - "save as" into hidden directory

Post by pim » Wed May 01, 2013 10:51 am

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: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

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

Post by oops66 » Wed May 01, 2013 1:31 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

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

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

Post by pim » Wed May 01, 2013 4:53 pm

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: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

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

Post by oops66 » Wed May 01, 2013 5:10 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

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

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

Post by pim » Thu May 02, 2013 3:42 pm

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