Windows 10: Photos app can't browse previous / next photos!

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

User avatar
gewone
Junior Member
Junior Member
Posts: 53
Joined: 2008-03-06, 17:37 UTC

Post by *gewone »

Hi guys!

I bump this old thread with my experience. I just installed Windows 10 for the very first time in my life. Having built up some expectations, I was sad when I ran into the image viewer bug mentioned in this thread. To be honest, I just missed the good old "Windows Photo Viewer" that has been with Windows all the way from the XP era. This app-based "Photo" thing introduced with Windows 10 just seemed messy, not the least because of this issue with left/right arrow key not functioning when opening a photo from inside another software, e.g. Total Commander.

Now, instead of trying to fix the issue, I started doing research to find a way to get the good old "Windows stock" photo viewer available in Windows 10. I know for a fact that it's DLL- rather than EXE-based stuff, but it should still be doable, I thought. After quick research I found that this little .REG entry solves everything:

https://drive.google.com/file/d/0B1Y9NvUQRfxcOVNFY05CSzJJUU0/view?usp=sharing

For those curious on what's in it, hereunder I post the actual code from inside the file.

Code: Select all

Windows Registry Editor Version 5.00

; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.jpg]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.jpeg]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.gif]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.png]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.bmp]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.tiff]
@="PhotoViewer.FileAssoc.Tiff"


; Change Extension's File Type
[HKEY_CURRENT_USER\Software\Classes\.ico]

@="PhotoViewer.FileAssoc.Tiff"
After applying this patch, all of a sudden Windows Photo Viewer is available to choose from in the list of apps under Windows Settings / System / Default Apps, and after you've chosen it, all sorts of image files will from here on be treated as in the good old days, and voila, the problem has vanished.

Cheers!

User avatar
petermad
Power Member
Power Member
Posts: 9694
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad »

You can make a button to launch the Photo Viewer like this:

Code: Select all

TOTALCMD#BAR#DATA
rundll32.exe shimgvw.dll,ImageView_Fullscreen
%P%N
%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll
Windows Fotofremviser


-1
Once you have used that, it will be on the list of programs under the context menu's "Open with..." where you can set it as default for the current filetype.

The button works for Windows XP, 7, 8.x and 10.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

aleontiev
New Member
New Member
Posts: 1
Joined: 2016-12-14, 13:18 UTC

Post by *aleontiev »

I found a little trick how to make arrows active: just open a folder with images in the Quick View Panel (CTRL + Q) and then open images from there. Of course, this solution isn’t ideal and it’s a bit annoying, but it works.

mmakz
New Member
New Member
Posts: 1
Joined: 2017-01-15, 19:44 UTC

Win 10 Photo viewer Total Com

Post by *mmakz »

I was looking for the way to open/scroll multiple image/video files thru Win 10 Photo viewer using Total Com - and got here. Since I've got my trick after reading the topic, felt obliged to post the trick here.

In the folder with the images I'm hitting Ctrl+A and this selects everything (if there are another folders - yes, have to deselect them...), then simple right-click and select OPEN - now in Photo viewer one is able to scroll thru all the contents of particular folder!

My idea might not be new, but thanks for giving me a clue!

ashzdw
New Member
New Member
Posts: 1
Joined: 2020-04-12, 02:53 UTC

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *ashzdw »

Now it's 2020-4-12.
I have installed the latest win10 home edition, and total commander 9.51.
This issue is still there. I guess that's because Photos app knows the directory when open it from Explorer, so it can browse previous/next photo.
But it doesn't know the directory when open it from Total commander. Maybe missing some parameters when call it? I did research that in File->Associate With in Total commander, but I don't know what parameter Photos app has. :(

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39791
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *ghisler(Author) »

Why wouldn't it know the directory? TC sets the current directory when opening a file to the directory of the file.
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *Usher »

ghisler(Author) wrote:
2020-04-14, 09:48 UTC
Why wouldn't it know the directory? TC sets the current directory when opening a file to the directory of the file.
And what about files opened from Windows Library (virtual folder)? What directory is set in this case - virtual or real?
Regards from Poland
Andrzej P. Wozniak

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39791
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *ghisler(Author) »

No directory is set because there isn't one in a virtual folder.
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *Usher »

So in this case all filenames should be passed with full paths, otherwise some programs won't properly navigate. Am I right?
Regards from Poland
Andrzej P. Wozniak

cyberzip
Junior Member
Junior Member
Posts: 66
Joined: 2003-10-10, 09:18 UTC

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *cyberzip »

I also wish this was fixable. :(

Also at first, I couldn't find a way to start the legacy Windows Photo Viewer on my Windows 10 (1909). But weirdly enough, when I in TC associated the Photos app (right clicked on a photo, selected "Open with" and selected "Always use this app" for Photos) it started opening in Windows Photo Viewer instead!

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3792
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Windows 10: Photos app can't browse previous / next photos!

Post by *Horst.Epp »

cyberzip wrote:
2020-05-04, 09:11 UTC
I also wish this was fixable. :(

Also at first, I couldn't find a way to start the legacy Windows Photo Viewer on my Windows 10 (1909). But weirdly enough, when I in TC associated the Photos app (right clicked on a photo, selected "Open with" and selected "Always use this app" for Photos) it started opening in Windows Photo Viewer instead!
The button petermad posted above starts Windows Photo Viewer on Windows 10 version 1909 without any problems.
Please read and try first before you complain.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.423)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.987 (x64)

Post Reply