RC1: Can't open files in view as list mode (only my ini)

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: XnTriq, xnview

Locked
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

RC1: Can't open files in view as list mode (only my ini)

Post by ckv » Thu Jan 12, 2006 12:48 pm

Subject says it all. I can't open files in browser if the view as list is on. This doesn't occur with clean ini t and my ini is created byhe RC1, so this isn't ini incompatibility bug.

Get my ini: [EDIT]
Last edited by ckv on Thu Jan 19, 2006 11:24 pm, edited 1 time in total.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy » Thu Jan 12, 2006 10:31 pm

Proper image files not recognized as image type in List mode despite Scan file headers in folders as Always.
Bug IMO.

X.

ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Re: RC1: Can't open files in view as list mode (only my ini)

Post by ckit » Sat Jan 14, 2006 8:50 am

ckv wrote:Subject says it all. I can't open files in browser if the view as list is on. This doesn't occur with clean ini t and my ini is created byhe RC1, so this isn't ini incompatibility bug.

Get my ini: xnview.ini
Confirmed.
XnViewMP 64bits and Windows 10 Pro x64 2004
PhotoFiltre Studio X

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

Post by xnview » Mon Jan 16, 2006 10:37 am

Xyzzy wrote:Proper image files not recognized as image type in List mode despite Scan file headers in folders as Always.
Bug IMO.
Right, a bug. But if scan file headers is 'Never', do you think that this behaviour is normal? I don't know if it's a picture or not.
Pierre.

Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy » Mon Jan 16, 2006 11:23 am

xnview wrote:
Xyzzy wrote:Proper image files not recognized as image type in List mode despite Scan file headers in folders as Always.
Bug IMO.
Right, a bug. But if scan file headers is 'Never', do you think that this behaviour is normal? I don't know if it's a picture or not.
In Thumbnails and Details you know filetype anyway, because files were scanned for thumbnail creation /details display.
In List/Icon modes there is no need to scan image headers at all- what for? These modes are supposed to be speedy at first place. You use just extensions.

So actually two problems appear- 1. how to handle files that cannot be recognized by header (are there any?; Thumbnails and Details only) & and 2. files with wrong extensions (Icon/List).

My suggestions:
1. We already have option to open unknown files in XnView so nothing is needed for in Thumbnail/Details.
2. Introduce option like 'Try to define type based on header on Open in List/Icon mode for unknown file type' to handle bad extensions in List/Icon. This would attempt to define file type for unknown file when it is Opened.
3. Remove 'Recognize only by extension' & 'Scan file headers in folders'. I don't see use for them, maybe because I do not understand their purpose completely.

And to answer your question directly- if extension is OK, file should be Opened. If extension is bad, depends on setting from point 2 and action for Other files in Browser>Open action. If "option 2" is ON, file is displayed because it is recognized by header on Open. If "option 2" if OFF and Other files are Opened in XnView, I think file is displayed by XnView, because when handling Open action for Other filetype XnView tries to define its format any way it can (including headers scan).

EDIT: One more problem: what should happen when Opening, if file thumbnail/preview is not displayed because of Items displayed size limit?
I guess that file type should be recognized anyway- reading some bytes from beginning of file (and even from the end) is instant in comparison to thumbnail creation, so no big delay here.
Another solution: add options similar to "option 2" above, but referring to Thumbnail/Details view.

X.

User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Thu Jan 19, 2006 4:56 pm

Seems to be fixed in RC2.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

Locked