two dots .. in full path of listing.txt (file listing).

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
User avatar
loth
Posts: 173
Joined: Thu Aug 11, 2005 3:21 pm
Location: Kölle

two dots .. in full path of listing.txt (file listing).

Post by loth » Tue Dec 04, 2007 6:32 pm

hi,
xnview 1.91.6

if i create a filelisting with also included *full* paths, i get an
listing.txt which looks like:

Code: Select all

C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\..\20030101_0631191.jpg       799321 14-07-2005      1972x1519,16M  JPEG TrueColor (v1.0)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\..\hellblazer 0147.jpg        260692 06-04-2006      1309x2015,16M  JPEG TrueColor (v1.1)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\..\hellblazer 0148.jpg        305228 06-04-2006      1309x2015,16M  JPEG TrueColor (v1.1)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\..\hellblazer 0149.jpg        293728 06-04-2006      1309x2015,16M  JPEG TrueColor (v1.1)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_000.jpg        397704 09-01-2004      980x1520,16M   JPEG TrueColor (v1.2)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_001.jpg        439581 11-01-2004      939x1481,16M   JPEG TrueColor (v1.2)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_002.jpg        343521 11-01-2004      943x1477,16M   JPEG TrueColor (v1.2)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_005.jpg        416035 11-01-2004      946x1477,16M   JPEG TrueColor (v1.2)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_006.jpg        410651 11-01-2004      951x1477,16M   JPEG TrueColor (v1.2)                              
C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\hellblazer_191_009.jpg        382362 11-01-2004      944x1479,16M   JPEG TrueColor (v1.2)                            
how can i avoid shorting directory names with ".." ?

what i did:
i'm in a dir "C:\pics\Comix.Story\H\Hellblazer\Hellblazer 191\"
and marked all files with CTRL+A, then pressed SHIFT+L
then chosed this options
[ ] header
[x] filename
[x] include full path
[ ] replace...
[x] size (bytes)
[x] type
[x] date ()
[x] properties
[x] description
[ ] include subfolders

and pressed OK

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh » Sat Dec 08, 2007 11:03 am

Could you try 1.92 beta? It looks a bit different than older version.

User avatar
loth
Posts: 173
Joined: Thu Aug 11, 2005 3:21 pm
Location: Kölle

Post by loth » Mon Dec 10, 2007 1:41 pm

marsh wrote:Could you try 1.92 beta? It looks a bit different than older version.
that seems to work,
thank you,

but if i press CTRL+A (mark *all* files, including "\.." (one dir up)) and start the progress (with SHIFT+L), xnview crashes. reproducable.

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh » Mon Dec 10, 2007 2:01 pm

loth wrote:
marsh wrote:Could you try 1.92 beta? It looks a bit different than older version.
that seems to work,
thank you,

but if i press CTRL+A (mark *all* files, including "\.." (one dir up)) and start the progress (with SHIFT+L), xnview crashes. reproducable.
I see that with about 12000 images, but not with a half dozen.

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

Post by xnview » Tue Dec 11, 2007 7:13 am

loth wrote:
marsh wrote:Could you try 1.92 beta? It looks a bit different than older version.
that seems to work,
thank you,

but if i press CTRL+A (mark *all* files, including "\.." (one dir up)) and start the progress (with SHIFT+L), xnview crashes. reproducable.
Can't reproduce it
Pierre.

User avatar
loth
Posts: 173
Joined: Thu Aug 11, 2005 3:21 pm
Location: Kölle

Post by loth » Tue Dec 11, 2007 11:31 pm

marsh wrote:I see that with about 12000 images, but not with a half dozen.
xnview wrote:Can't reproduce it
hm.. funny thing. it's reproducable here. i also created a new xnview.ini
doesnt matter, how many/less files.
doesnt matter, what folder.
doesnt matter, what options i chosse in the dialogue.

xn crashes if i press ENTER oder click OK in the 'generate file listing' window.

any help, i can provide now? any data i can give you that i miss?

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

Post by helmut » Wed Dec 12, 2007 6:44 am

From what I can see the problem is the ".." (parent folder, activate via Tools > Options, category "Browser > File list", "Parent folder").
When creating the file listing, XnView handles the ".." as normal folder and shows it's contents also (which is wrong) :bug:

The problem of wrong entries (not the crash - I had no crash so far) can be seen well with "Recurse subdirectories" activated when creating the file listing: The current directory is listed twice because it's one of the recursed children of the parent folder.

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

Post by helmut » Wed Dec 12, 2007 7:28 am

And yes, with larger directories (>10.000 files) XnView crashes.

User avatar
loth
Posts: 173
Joined: Thu Aug 11, 2005 3:21 pm
Location: Kölle

Post by loth » Thu Dec 13, 2007 7:55 pm

helmut wrote:From what I can see the problem is the ".." (parent folder, activate via Tools > Options, category "Browser > File list", "Parent folder").
When creating the file listing, XnView handles the ".." as normal folder and shows it's contents also (which is wrong) :bug:
yes.
i disabled the "Parent folder" for my second tests. xnview crashes again.

Post Reply