XnView opens browser instead of image

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Post Reply
Arete
Posts: 2
Joined: Tue Mar 29, 2016 4:16 pm

XnView opens browser instead of image

Post by Arete » Tue Mar 29, 2016 4:25 pm

I have a very strange problem with XNView (Standard) on a Windows 10 computer.

Everything works as it should except for opening ARW images. As far as I know XnView should be able to display ARW images.

Now the problem is if I double-click a *.arw image XnView opens up the browser (blank) instead of "previewing" the image. This is not the case if I open any other picture format.
I tried to disable "Launch Browser at startup". The result now is that if I double-click on an ARW image I simply get a blank Xnview window looking like this:

Image

So there must be something wrong here but I have no Idea how to solve it...

Edit: If i drag a picture from Explorer to the empty XnView window the picture is displayed in XnView properly, however this is not a solution at all. Just a note..

User avatar
Peter2
XnThusiast
Posts: 1123
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: XnView opens browser instead of image

Post by Peter2 » Tue Mar 29, 2016 7:37 pm

Can you upload an example file?
XnView 2.48 German, Win 7 x64 Prof. / Win 10

Mixer
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

Re: XnView opens browser instead of image

Post by Mixer » Wed Mar 30, 2016 12:30 am

Thanks to thread XnView MP > MP - General Support > Associating .bmp in Windows 8, utility FileTypesMan by Nir Sofer and search function of Regedit I may advise you to try following solution.
Start Regedit, navigate to key [HKEY_CLASSES_ROOT\Applications\xnview.exe\shell\open\command] and change default value of type REG_SZ of this key from

Code: Select all

"X:\Path\xnview.exe"
to

Code: Select all

"X:\Path\xnview.exe" "%1"
Hope this will help.
If association with XnView for .arw files won't catch up to changes, default value of [HKEY_CLASSES_ROOT\.arw] key points to another place where "%1" has to be added. In my case default value is "ARW_auto_file", so it is key [HKEY_CLASSES_ROOT\ARW_auto_file\shell\open\command] where default REG_SZ value must be set to

Code: Select all

"X:\Path\xnview.exe" "%1"
But I created association by checking "Always open this type of files with selected application". If you will use standard Windows 10 file types associator it will probably create some key like [HKEY_CLASSES_ROOT\XnView.arw\shell\open\command]. Or maybe not, but some of XnView types have such keys.

P.S. Just something I found on the matter (not directly related to question).
MSDN: Application Registration states that developer can register file types supported by application with similar hierarchy of keys: HKEY_CLASSES_ROOT\Applications\mspaint.exe\SupportedTypes\.bmp and so on. In my Windows 10 registry in HKEY_CLASSES_ROOT\Applications\xnview.exe there was no SupportedTypes key. Maybe it is because I just copied whole folder from another place not using an installer. I wonder if I create SupportedTypes and add some rare image extensions to this key, will that let me select them in Windows standard association panel for XnView?
Update: answering myself, no it won't, application capabilities are registered in different way.
Last edited by Mixer on Wed Mar 30, 2016 5:53 pm, edited 1 time in total.

Arete
Posts: 2
Joined: Tue Mar 29, 2016 4:16 pm

Re: XnView opens browser instead of image

Post by Arete » Wed Mar 30, 2016 9:31 am

Thanks for the reply. However, I just reinstalled XnView after having installed Irfanview and it miraculously works now. I would like to test your suggestion but I think I better leave the system as it is now. I am too scared to screw it up now. Thanks again though!

Post Reply