chywoo / xee

Automatically exported from code.google.com/p/xee
0 stars 0 forks source link

directories with names ending with known image extensions cause crash in 2.2 and unexpected behavior in 3.1 #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create an empty directory foo/
2. put a valid 1.bmp file in foo/
3. mkdir foo/2.bmp (so now foo/ has two children)
4. open 1.bmp in xee

What is the expected output? What do you see instead?
Xee should skip 2.bmp/ because it is a directory.
In v2.2, Xee often just crashes.
In v3.1, Xee can show funny things on screen.

What version of the product are you using? On what operating system?
tried both 2.2 and 3.1 on OS X 10.7.5

Please provide any additional information below.

Original issue reported on code.google.com by maverick.woo on 3 Sep 2013 at 10:43

GoogleCodeExporter commented 9 years ago
Hahah, when I looked the code over, it seems I started writing the code to 
avoid that, and then forgot about it. Should be fixed now.

Original comment by paracel...@gmail.com on 12 Oct 2013 at 11:29