Everything does not use default app to open pictures

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Everything does not use default app to open pictures

Post by Phantom1472 »

Hello,

When double clicking a jpg/png in Everything, windows asks what program to use, while doing the same thing in Windows Explorer opens the same files with the default program just fine.

/debug output:

Code: Select all

Everything
Version 1.4.1.1002 (x86)
Windows NT 6.2
Processors 16
IsAdmin 0
AppData 1
Service 1
Any idea how to fix this?

Thanks.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything does not use default app to open pictures

Post by void »

Everything opens files via the ShellExecute API with the NULL verb.
While Windows Explorer will open by invoking the default context menu item.


An option to invoke the default context menu item in Everything (like Windows Explorer) is in development.

For now, you will need to correct the file association in your registry.
What is your default program to open pictures?

In the registry editor (Start menu -> regedit -> right click and run as admin), navigate to HKEY_CLASSES_ROOT\.jpg
What is shown for the Default Value? (eg: jpegfile)
Navigate to HKEY_CLASSES_ROOT\<Default Value from above>
eg: HKEY_CLASSES_ROOT\jpegfile
Navigate to HKEY_CLASSES_ROOT\jpegfile\shell
What is shown for the Default Value? (eg: (value not set) or open)
Navigate to HKEY_CLASSES_ROOT\jpegfile\shell\open\command
Double check the command looks correct for the open verb.
Do the same for HKEY_CLASSES_ROOT\.png
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Re: Everything does not use default app to open pictures

Post by Phantom1472 »

What is your default program to open pictures? - irfanview

In the registry editor (Start menu -> regedit -> right click and run as admin), navigate to HKEY_CLASSES_ROOT\.jpg
What is shown for the Default Value? - IrfanView.jpg

Navigate to HKEY_CLASSES_ROOT\jpegfile\shell
What is shown for the Default Value? - it was (value not set), now I changed it to "open", Seems it solved the problem for .jpg and .jpeg files.

Now I tried doing the same thing for: HKEY_CLASSES_ROOT\pngfile\shell

But that didn't solve the problem like it did for jpg, tried the same thing with gif, didn't do anything either.
Last edited by Phantom1472 on Sun Dec 27, 2020 6:39 pm, edited 1 time in total.
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Re: Everything does not use default app to open pictures

Post by Phantom1472 »

Hey, do you have an idea what is the problem? The registry seems to be configured right like you said, but Everything still asks for the default program...
tuska
Posts: 908
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything does not use default app to open pictures

Post by tuska »

2Phantom1472

Hi,
press 'Windows logo key' + i -> Apps -> Default apps -> Select default apps by file type:
.png ... Click on "Select default" and change to the desired program, e.g. FastStone Capture Version 9.4
.gif  ... Click on "Select default" and change to the desired program, e.g. Microsoft Photos OR IrfanView *)

*) After changing the app a restart of the PC is not necessary.
   I.e. double-clicking on the file in 'Everything' should immediately open it with the newly set application.

This works for me in Windows 10 Pro (x64) Version 20H2 (OS build 19042.685)  [-> Windows logo key + pause key]
and 'Everything'-Version 1.4.1.1002 (x64), portable on Systemdrive C: in C:\Tools\Everything.

I can also open .JPG files in 'Everything' with IrfanView version 4.56 - 64 bit.
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Re: Everything does not use default app to open pictures

Post by Phantom1472 »

tuska wrote: Sun Dec 27, 2020 11:04 pm 2Phantom1472

Hi,
press 'Windows logo key' + i -> Apps -> Default apps -> Select default apps by file type:
.png ... Click on "Select default" and change to the desired program, e.g. FastStone Capture Version 9.4
.gif  ... Click on "Select default" and change to the desired program, e.g. Microsoft Photos OR IrfanView *)

*) After changing the app a restart of the PC is not necessary.
   I.e. double-clicking on the file in 'Everything' should immediately open it with the newly set application.

This works for me in Windows 10 Pro (x64) Version 20H2 (OS build 19042.685)  [-> Windows logo key + pause key]
and 'Everything'-Version 1.4.1.1002 (x64), portable on Systemdrive C: in C:\Tools\Everything.

I can also open .JPG files in 'Everything' with IrfanView version 4.56 - 64 bit.
the defaults are already set for those... and that doesn't solve the problem.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Everything does not use default app to open pictures

Post by NotNull »

  • In File Explorer, browse to the folder where your IrfanView program is
  • Right-click i_view64.exe and select Run as administrator
  • Enter your admin credentials if asked
  • Menu:Options > Set file associations
  • Select the file types you want to open with IrfanView (for examle: press the Images Only button)
  • Press the OK button
  • Exit IrfanView
What happens if you open a png file or a gif file?
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Everything does not use default app to open pictures

Post by NotNull »

Ahh, now I see: you are running 32-bit version of Everything!

32-bit and 64-bit applications have different context menus and file associations (although they can look largely the same).

Switch to 64-bit Everything to (most likely) solve the issue.
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Re: Everything does not use default app to open pictures

Post by Phantom1472 »

NotNull wrote: Tue Dec 29, 2020 6:17 pm
  • In File Explorer, browse to the folder where your IrfanView program is
  • Right-click i_view64.exe and select Run as administrator
  • Enter your admin credentials if asked
  • Menu:Options > Set file associations
  • Select the file types you want to open with IrfanView (for examle: press the Images Only button)
  • Press the OK button
  • Exit IrfanView
What happens if you open a png file or a gif file?
Those were already set correctly, but I have found a solution (at least some solution) to my problem, this was only happening in the newest version of everything, I still had an older 1.4.1.935 version installed, which actually works fine just as expected, I did not remember I had installed another version over that one...

So for some reason, the latest version did not get the defaults correctly, but my older version did. I assume that the cause of the problem has something to do with the fact those two versions were both present, but I do not want to uninstall the older version just to check (and maybe ruin the correct behaviour).

So I guess it's fine now, you can lock the thread.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Everything does not use default app to open pictures

Post by NotNull »

And this 1.5.1.935 version is 64-bit?

(you likely missed this post I just wrote):
NotNull wrote: Tue Dec 29, 2020 6:50 pm Ahh, now I see: you are running 32-bit version of Everything!

32-bit and 64-bit applications have different context menus and file associations (although they can look largely the same).

Switch to 64-bit Everything to (most likely) solve the issue.
Phantom1472
Posts: 10
Joined: Thu Dec 17, 2020 5:08 pm

Re: Everything does not use default app to open pictures

Post by Phantom1472 »

NotNull wrote: Tue Dec 29, 2020 6:56 pm And this 1.5.1.935 version is 64-bit?

(you likely missed this post I just wrote):
NotNull wrote: Tue Dec 29, 2020 6:50 pm Ahh, now I see: you are running 32-bit version of Everything!

32-bit and 64-bit applications have different context menus and file associations (although they can look largely the same).

Switch to 64-bit Everything to (most likely) solve the issue.
OH MY GOD! THAT WAS IT!

just installed the 64bit version, works like an absolute CHARM!

THANKS!!!!

(just out of curiosity, how would you fix the 32bit version? where are the files associations for it?)
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Everything does not use default app to open pictures

Post by NotNull »

Phantom1472 wrote: Tue Dec 29, 2020 9:19 pm (just out of curiosity, how would you fix the 32bit version? where are the files associations for it?)
Instead of looking at the HKCR registry keys, look at the matching ones under HKCR\wow6432Node,
like HKCR\wow6432Node\.png

There are probably "human-friendly" GUI tools for that too.
But I can't test it as I have only two 32-bit application on my system. and they don't have any file associations.

EDIT: HKCR = HKEY_CLASSES_ROOT\
therube
Posts: 4580
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything does not use default app to open pictures

Post by therube »

Post Reply