B1: error with 'Open' non-displayable file when Hex is ON

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, xnview

User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

B1: error with 'Open' non-displayable file when Hex is ON

Post by Olivier_G »

With Options>Read/Write: 'Show hexadecimal for non-displayable files' ON, when you open a non-displayable file via Menu>File>Open, you get an error message "Format of the file <> could not be determined".

XnView should directly show the Hex mode without any error message.
Olivier
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Old times

Post by Clo »

:) Hello !

• This was the usual behaviour in very old versions, IIRC…

- So, I support !

:mrgreen: KR
laude
Clo
Old user ON SELECTIVE STRIKE till further notice
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

I agree.
ckit
XnThusiast
Posts: 2451
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

I don't get an error message with Beta 2 but the files fail to appear in hex mode in XnView.
XnViewMP running on Windows 10 Pro x64 21H1
PhotoFiltre 11, PowerArchiver Toolkit, ShareX and Vivaldi Browser
User avatar
xnview
Author of XnView
Posts: 36866
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

ckit wrote:I don't get an error message with Beta 2 but the files fail to appear in hex mode in XnView.
Strange, if i use menu File/open a unknown file, i have the hexa view
Pierre.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

ckit wrote:I don't get an error message with Beta 2 but the files fail to appear in hex mode in XnView.
Confirmed for me too... :?
Olivier
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Olivier_G wrote:
ckit wrote:I don't get an error message with Beta 2 but the files fail to appear in hex mode in XnView.
Confirmed for me too... :?
It works for me. Have you changed your 'Open With' and 'Items Displayed' settings since first reporting this?
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

marsh wrote:Have you changed your 'Open With' and 'Items Displayed' settings since first reporting this?
You nailed it! I just set Options>Keyboard/Mouse>"Open action" for 'All other files' to 'XnView' and the unknown file was opened in hexaview... :D

But...
...XnView should open a file in XnView if I specifically use Menu>Open (rather than using Keyboard/Mouse on Filelist) and bypass all those "Open action" settings. This is the way it works for recognized files, right?
Olivier
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Olivier_G wrote:
marsh wrote:Have you changed your 'Open With' and 'Items Displayed' settings since first reporting this?
You nailed it! I just set Options>Keyboard/Mouse>"Open action" for 'All other files' to 'XnView' and the unknown file was opened in hexaview... :D

But...
...XnView should open a file in XnView if I specifically use Menu>Open (rather than using Keyboard/Mouse on Filelist) and bypass all those "Open action" settings. This is the way it works for recognized files, right?
Yes, I think Menu>File>Open bypasses all those settings (with some version or another).
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Olivier_G wrote:But...
...XnView should open a file in XnView if I specifically use Menu>Open (rather than using Keyboard/Mouse on Filelist) and bypass all those "Open action" settings. This is the way it works for recognized files, right?
Works fine according to this situation. Thank you Pierre! -> Closed.
Olivier