derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.56k stars 159 forks source link

image[1].jpg #178

Closed iNili closed 9 years ago

iNili commented 10 years ago

Hi!

If a file name have something like [1] [2] eg: 11827[1].jpg or myimage[2].jpg feh stick at first image on folder and not open those 11827[1].jpg or myimage[2].jpg

feh Installed: 2.12-1 via https://packages.debian.org/jessie/feh crunchbang 11 waldorf / testing jessie.

derf commented 10 years ago

I cannot reproduce that here. Which arguments (including the filenames) are you passing to feh?

iNili commented 10 years ago

Gather some photos example 10 in a folder, three of them rename by placing bracket [ ] in the end of name eg: photo[1].jpg photo[2].jpg photo[3].jpg

when clicking one of these pictures that have bracket [ ], you'll notice that it opens one of the seven other photos not that you clicked with bracket.

derf commented 10 years ago

Okay, so you're opening feh from a file manager. feh itself handles brackets fine. It seems like your file manager does something wrong with the filename (it might pass them through a shell without properly escaping them first) causing feh to misbehave. But in that case it's a file manager bug, feh can't do much about it.

iNili commented 10 years ago

Thank you derf, i am using SpaceFM also command line mc (Midnight Commander) latest versions, on both applications have same issue.

Perhaps you're right, anyway i can remove bracket and everything it's fine. Thank you for your time.