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

Please report only one bug per message!

Moderators: white, sheep, Hacker, Stefan2

a694934
Junior Member
Junior Member
Posts: 2
Joined: 2009-11-06, 01:46 UTC

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

Post by *a694934 » 2015-09-22, 13:58 UTC

- Navigate to folder with some photos in both Total Commander and Windows Explorer.

- Open one photo from Windows Explorer (using new Windows 10 Photos app, should be default one)

- Everything working fine, you can use arrow keys inside Photos app to browse previous / next photos

- Open one photo from Total Commander (v8.52a tested) (using new Windows 10 Photos app, should be default one)

- Inside Photos app, you cannot browse next / previous photos.

Is this something that could be improved in TC or is Photos app deeply integrated with Windows Explorer only?

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

Post by *ghisler(Author) » 2015-09-25, 08:39 UTC

This is a known bug in the Windows Photos app. There is no way to launch it from a third party program (not even a Windows Store app!) to enable the browse buttons.

Solution: Install a different Photo viewer like Irfanview. It allows to scroll through fotos in full screen mode with the right/left mouse buttons.
Author of Total Commander
http://www.ghisler.com

Catscratch
Junior Member
Junior Member
Posts: 4
Joined: 2006-12-19, 16:20 UTC

Post by *Catscratch » 2015-10-03, 09:03 UTC

One short question. Did you contacted microsoft dev support about this? Maybe they changes something in the API you can use?

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

Post by *ghisler(Author) » 2015-10-05, 10:08 UTC

I asked in the Windows forums here:
windowsgeneraldevelopmentissues

There may be a way to go via IApplicationActivationManager, but it's very very complex, so I didn't have the time yet to try it. Getting the application id is very tricky.

I'm not aware of any Microsoft support which could be asked.
Author of Total Commander
http://www.ghisler.com

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

Post by *Horst.Epp » 2015-10-05, 10:30 UTC

Catscratch wrote:One short question. Did you contacted microsoft dev support about this? Maybe they changes something in the API you can use?
There is nothing exciting in the Photo app.
So why wasting time for it.
There are enough prlugins and programs to display or manage photos
and most of them are better than the Windows 10 app.

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

Post by *ghisler(Author) » 2015-10-08, 09:58 UTC

The problem is that it's now the default on millions of computers, but just doesn't work correctly when opened from other apps than the Explorer.
Author of Total Commander
http://www.ghisler.com

sd_keeper
New Member
New Member
Posts: 1
Joined: 2016-05-17, 18:05 UTC

Post by *sd_keeper » 2016-05-17, 18:08 UTC

Is there any update on this issue ?
I'm having troubles to explain users who used to do all the work in total commander why they can't navigate forward/backward in photos on windows 10.

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

Post by *ghisler(Author) » 2016-05-19, 10:36 UTC

No there isn't, sorry. Microsoft didn't fix their app, and I couldn't find a way to launch it like the Explorer does.
Author of Total Commander
http://www.ghisler.com

dalvder
Junior Member
Junior Member
Posts: 3
Joined: 2016-06-10, 17:27 UTC

Post by *dalvder » 2016-06-10, 17:37 UTC

isn't there a way to do a macro script of some sort (this is just my World of Warcraft brain coming into play here)? when I right click on a .jpg picture then go to open with>choose another app> and I select Windows Photo Viewer it actually opens the image. I obviously don't want to be doing this each and everytime I want to access a photo while browsing files using total commander.

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

Post by *Horst.Epp » 2016-06-10, 17:42 UTC

dalvder wrote:isn't there a way to do a macro script of some sort (this is just my World of Warcraft brain coming into play here)? when I right click on a .jpg picture then go to open with>choose another app> and I select Windows Photo Viewer it actually opens the image. I obviously don't want to be doing this each and everytime I want to access a photo while browsing files using total commander.
You can make an TC internal assocation which is show on context menu.

ace960
Junior Member
Junior Member
Posts: 3
Joined: 2013-03-26, 14:06 UTC

Post by *ace960 » 2016-06-10, 18:48 UTC

I just lost my whole detailed reply because it contained URL. So I'll make it short this time.

Execute the following two parts from powershell (as administrator) to help yourselves:

# Set Photo Viewer as default for bmp, gif, jpg, png and tif
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
ForEach ($type in @("Paint.Picture", "giffile", "jpegfile", "pngfile", "TIFImage.Document")) {
New­Item ­Path $("HKCR:\$type\shell\open") ­Force | Out­Null
New­Item ­Path $("HKCR:\$type\shell\open\command") | Out­Null
Set­ItemProperty ­Path $("HKCR:\$type\shell\open") ­Name "MuiVerb" ­Type ExpandString ­Value
"@%ProgramFiles%\Windows Photo Viewer\photoviewer.dll,­3043"
Set­ItemProperty ­Path $("HKCR:\$type\shell\open\command") ­Name "(Default)" ­Type ExpandString ­
Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
}

# Show Photo Viewer in "Open with..."
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Force | Out­Null
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open" ­Name "MuiVerb" ­Type String
­Value "@photoviewer.dll,­3043"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Name "Clsid" ­
Type String ­Value "{FFE2A43C­56B9­4bf5­9A79­CC6D4285608A}"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Name "Clsid" ­
Type String ­Value "{60fd46de­f830­4894­a628­6fa81bc0190d}"

ace960
Junior Member
Junior Member
Posts: 3
Joined: 2013-03-26, 14:06 UTC

Post by *ace960 » 2016-06-10, 18:58 UTC

I just lost my whole reply because it contained URL. So I'll make it short this time. Then I almost lost it second time because it was too soon to post it after the first one which was rejected. Going back in browser is not good idea. I used to copy the message to clipboard before posting. I obviously did not do that for the first attempt with the URL.

Execute the following two parts from powershell (as administrator) to help yourselves:

# Set Photo Viewer as default for bmp, gif, jpg, png and tif
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
ForEach ($type in @("Paint.Picture", "giffile", "jpegfile", "pngfile", "TIFImage.Document")) {
New­Item ­Path $("HKCR:\$type\shell\open") ­Force | Out­Null
New­Item ­Path $("HKCR:\$type\shell\open\command") | Out­Null
Set­ItemProperty ­Path $("HKCR:\$type\shell\open") ­Name "MuiVerb" ­Type ExpandString ­Value
"@%ProgramFiles%\Windows Photo Viewer\photoviewer.dll,­3043"
Set­ItemProperty ­Path $("HKCR:\$type\shell\open\command") ­Name "(Default)" ­Type ExpandString ­
Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
}

# Show Photo Viewer in "Open with..."
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Force | Out­Null
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open" ­Name "MuiVerb" ­Type String
­Value "@photoviewer.dll,­3043"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Name "Clsid" ­
Type String ­Value "{FFE2A43C­56B9­4bf5­9A79­CC6D4285608A}"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Name "Clsid" ­
Type String ­Value "{60fd46de­f830­4894­a628­6fa81bc0190d}"


dalvder
Junior Member
Junior Member
Posts: 3
Joined: 2016-06-10, 17:27 UTC

Post by *dalvder » 2016-06-13, 00:20 UTC

[/quote]
You can make an TC internal assocation which is show on context menu.[/quote]

If you would care to go into a bit more detail/depth about what you suggest I should do there, I would appreciate that very much!

I think this is probably a good time to say that I'm no advanced user when it comes to writing lines of code or whatever. I am however able to comprehend how things work, having quite a good grasp on computers. So all I ask for is a little bit more context or a kind of a more detailed walk-through of what you've suggested I do earlier on.

P.S.
Hope you won't think I'm too much work, I'd really love to make this picture-viewing issue go away!

dalvder
Junior Member
Junior Member
Posts: 3
Joined: 2016-06-10, 17:27 UTC

not working

Post by *dalvder » 2016-06-13, 00:51 UTC

Thank you very much for you suggestion! Initially it did not work because I was running an older version of TC (6.02). After a bit of brainstorming I figured I might want to try a newer version (8.52a) on which your quick fix worked great! Thank you ever so much for that!

Execute the following two parts from powershell (as administrator) to help yourselves:

# Set Photo Viewer as default for bmp, gif, jpg, png and tif
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
ForEach ($type in @("Paint.Picture", "giffile", "jpegfile", "pngfile", "TIFImage.Document")) {
New­Item ­Path $("HKCR:\$type\shell\open") ­Force | Out­Null
New­Item ­Path $("HKCR:\$type\shell\open\command") | Out­Null
Set­ItemProperty ­Path $("HKCR:\$type\shell\open") ­Name "MuiVerb" ­Type ExpandString ­Value
"@%ProgramFiles%\Windows Photo Viewer\photoviewer.dll,­3043"
Set­ItemProperty ­Path $("HKCR:\$type\shell\open\command") ­Name "(Default)" ­Type ExpandString ­
Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
}

# Show Photo Viewer in "Open with..."
If (!(Test­Path "HKCR:")) {
New­PSDrive ­Name HKCR ­PSProvider Registry ­Root HKEY_CLASSES_ROOT | Out­Null
}
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Force | Out­Null
New­Item ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Force | Out­Null
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open" ­Name "MuiVerb" ­Type String
­Value "@photoviewer.dll,­3043"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\open\DropTarget" ­Name "Clsid" ­
Type String ­Value "{FFE2A43C­56B9­4bf5­9A79­CC6D4285608A}"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\command" ­Name "(Default)" ­
Type ExpandString ­Value "%SystemRoot%\System32\rundll32.exe `"%ProgramFiles%\Windows Photo
Viewer\PhotoViewer.dll`", ImageView_Fullscreen %1"
Set­ItemProperty ­Path "HKCR:\Applications\photoviewer.dll\shell\print\DropTarget" ­Name "Clsid" ­
Type String ­Value "{60fd46de­f830­4894­a628­6fa81bc0190d}"

[/quote]

tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas » 2016-06-27, 01:11 UTC

do I have to do this only once?
A New Generation transformed by the Power of God

Post Reply