[TC11.03] Arrowkeys (jump between files) no longer work with Photos
Moderators: Hacker, petermad, Stefan2, white
[TC11.03] Arrowkeys (jump between files) no longer work with Photos
This worked fine in 11.02 with Windows 11 and clicking a picture in a folder, then jumping around with arrowkeys, 11.03 broke something so it no longer works.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Sorry, I do not understand what you mean. Where do you want to use arrow keys? In thumbnail mode? With Ctrl+Q? These both work fine here, so it must be something else.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
2ghisler(Author)
Maybe gryzor are talking about viewing the images in an Image viewer. But if gryzor is using Window Photos App it is peculiar, since support for navigating with arrow keys after opening an image in the Photos App from TC wasn't supported before TC 11.03.
Maybe gryzor are talking about viewing the images in an Image viewer. But if gryzor is using Window Photos App it is peculiar, since support for navigating with arrow keys after opening an image in the Photos App from TC wasn't supported before TC 11.03.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
I'm not sure what it opened it in before 11.03, but it worked
And if I open an image from an explorer-window, arrow-keys works just fine. In TC11.03, it shows the name of the next picture when using arrow-keys, but just spins and never displays anything. Very odd. Closing and clicking on previous picture works just fine, trying to go forward, it will just spin again. Switch over to the same directory, same set of pictures, do the same thing and it works as expected.
I installed 11.02 again, and yes, it uses photoviewer. Explorer and 11.03 uses "Photos".

I installed 11.02 again, and yes, it uses photoviewer. Explorer and 11.03 uses "Photos".
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
2gryzor
Or you can manually add
to the [Configuration] section of your wincmd.ini file.
You may have to re-enable Photoviewer again for version 11.03 - you can do that by either placing the cursor on a jpg file and in the menu choose "Files" ->"Associate With.." and then if you in the lower right corner of the "Associate" dialog see: "Replace with PhotoViewer.dll" check the box.I installed 11.02 again, and yes, it uses photoviewer. Explorer and 11.03 uses "Photos".
Or you can manually add
Code: Select all
PhotoAppFilter=-
Help wrote:PhotoAppFilter= Configure which types of images to pass to Windows Photo app in addition to the double clicked file. Uses Microsoft syntax, e.g. PhotoAppFilter=System.FileExtension:=(".jpg" OR ".png")
".???" will be replaced by the type of the opened file
Set to - (or start with dash) to disable
history.txt wrote:22.11.23 Added: Configure which types of images to pass to Windows Photo app in addition to the double clicked file: wincmd.ini [Configuration] PhotoAppFilter=filter string using Microsoft syntax, e.g. PhotoAppFilter=System.FileExtension:=(".jpg" OR ".png") Set to - to disable (32/64)
22.11.23 Added: PhotoAppFilter field: Replace .??? with the extension of the viewed file, e.g. PhotoAppFilter=System.FileExtension:=(".jpg" OR ".???") then only scrolls through jpg files plus the same type as opened (32/64)
22.01.24 Fixed: Menu Files - Associate With: Show option to redirect opening of image files to "PhotoViewer.dll" also on Windows 10, now toggles PhotoAppFilter=- and ReplacePhotoApp (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
PhotoAppFilter=- disables passing multiple names to the Photo Viewer, so that will not help.
If you want to use again the old Desktop photos program, place the cursor on a photo and choose menu Files - Associate. There is a checkbox to use PhotoViewer.dll instead of the newer Photos app. That's what TC 11.02 was using.
However, I don't have any problems using the arrow keys with the new Photo Viewer app called by TC 11.03...
If you want to use again the old Desktop photos program, place the cursor on a photo and choose menu Files - Associate. There is a checkbox to use PhotoViewer.dll instead of the newer Photos app. That's what TC 11.02 was using.
However, I don't have any problems using the arrow keys with the new Photo Viewer app called by TC 11.03...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
2ghisler(Author)
Hmm, under windows 10 if I only have ReplacePhotoApp=1 in my wincmd.ini, it is the Photos App that opens the file - only if i ALSO have PhotoAppFilter=- is the PhotoViewer program used.
This also corresponds with:
Notice that if I have ReplacePhotoApp=0 and PhotoAppFilter=- then ReplacePhotoApp=0 takes precedence and the Photos App is used.
So since gryzor used to see the PhotoViewer program I must assume that he has either ReplacePhotoApp=1 or no ReplacePhotoApp setting, and then setting PhotoAppFilter=-, if he still wants to use the PhotoViewer program, seems to be a valid recommendation to me.
Uses PhotoViewer program:
Uses Photos App:
Hmm, under windows 10 if I only have ReplacePhotoApp=1 in my wincmd.ini, it is the Photos App that opens the file - only if i ALSO have PhotoAppFilter=- is the PhotoViewer program used.
This also corresponds with:
if I only have PhotoAppFilter=- but NO ReplacePhotoApp setting, then the PhotoViewer program is used (because ReplacePhotoApp=1 is default).history.txt wrote:22.01.24 Fixed: Menu Files - Associate With: Show option to redirect opening of image files to "PhotoViewer.dll" also on Windows 10, now toggles PhotoAppFilter=- and ReplacePhotoApp (32/64)
Notice that if I have ReplacePhotoApp=0 and PhotoAppFilter=- then ReplacePhotoApp=0 takes precedence and the Photos App is used.
So since gryzor used to see the PhotoViewer program I must assume that he has either ReplacePhotoApp=1 or no ReplacePhotoApp setting, and then setting PhotoAppFilter=-, if he still wants to use the PhotoViewer program, seems to be a valid recommendation to me.
Uses PhotoViewer program:
Code: Select all
[Configuration]
ReplacePhotoApp=1
PhotoAppFilter=-
Code: Select all
[Configuration]
PhotoAppFilter=-
Uses Photos App:
Code: Select all
[Configuration]
ReplacePhotoApp=0
PhotoAppFilter=-
Code: Select all
[Configuration]
ReplacePhotoApp=1
Code: Select all
[Configuration]
ReplacePhotoApp=0
Code: Select all
[Configuration]
Neither do I.However, I don't have any problems using the arrow keys with the new Photo Viewer app called by TC 11.03..
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Hey, I figured out why it doesn't work for me. Was getting so odd error-messages when launching it from TC11.03, "image file corrupted" on all files, except for the one file I initially clicked.
Turns out it's because I run TC11.03 "as administrator" under the compability-settings, this somehow only gives the photos app accesss to the first file and no other files. Very odd, but when un-checking running TC11.03 as administrator, it works as intended. This presents a whole new set of problems for me, though, so not sure how I'll tackle it
Turns out it's because I run TC11.03 "as administrator" under the compability-settings, this somehow only gives the photos app accesss to the first file and no other files. Very odd, but when un-checking running TC11.03 as administrator, it works as intended. This presents a whole new set of problems for me, though, so not sure how I'll tackle it

- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Thanks for your feedback! Now the question is how TC should handle this when launched as administrator and the user has configured it to launch the Photo App with multiple images (which is the default now in TC 11.03). I could either launch the photo app with just one image, or the old photo viewer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Yes I hope the devs fix this. It's very irritating.ghisler(Author) wrote: 2024-02-26, 08:50 UTC Thanks for your feedback! Now the question is how TC should handle this when launched as administrator and the user has configured it to launch the Photo App with multiple images (which is the default now in TC 11.03). I could either launch the photo app with just one image, or the old photo viewer.
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Hi,
I read in Microsoft App documentation:
Photo viewer for Windows 10 https://support.microsoft.com/en-us/windows/photo-viewer-for-windows-10-ff861e89-d4a7-146d-19d0-1b117b94ffc2
"To browse photos within a folder, open a photo from the Folders view or File Explorer, then swipe right or use the arrow keys to see the next item."
Can Total Commander be configured by default so this behaviour is by default:
I read in Microsoft App documentation:
Photo viewer for Windows 10 https://support.microsoft.com/en-us/windows/photo-viewer-for-windows-10-ff861e89-d4a7-146d-19d0-1b117b94ffc2
"To browse photos within a folder, open a photo from the Folders view or File Explorer, then swipe right or use the arrow keys to see the next item."
Can Total Commander be configured by default so this behaviour is by default:
- By double clicking on a picture, "Photos" apps opens the image and is in arrows keys swipe mode? Currently it only show the image with no possibility of using key sweeping.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
This should be fixed in Total Commander 11.50 beta 1, please check it!
25.06.24 Added: Windows 11: Open the Photos app with new command ("ms-photos:viewer?fileName=Encoded_filename") to enable previous/next buttons (32/64)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Can someone try this, please?
1. Please test this only on Windows 11! There was no bug on Windows 10
2. Check whether any of the file types .gif, .jpg, .png or .bmp is associated with the Windows Photo Viewer
3. Double click on one of these files where there is more than one image in that directory
-> The Windows Photo Viewer app should open and allow to switch through images with arrow buttons
1. Please test this only on Windows 11! There was no bug on Windows 10
2. Check whether any of the file types .gif, .jpg, .png or .bmp is associated with the Windows Photo Viewer
3. Double click on one of these files where there is more than one image in that directory
-> The Windows Photo Viewer app should open and allow to switch through images with arrow buttons
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
Anyone? This is rather important, I got a lot of complaints about it when Microsoft f-ed up the photo viewer...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] Arrowkeys (jump between files) no longer work with Photos
I have associated .bmp file type with the Windows Photo Viewer.ghisler(Author) wrote: 2024-10-15, 10:03 UTC Can someone try this, please?
1. Please test this only on Windows 11! There was no bug on Windows 10
2. Check whether any of the file types .gif, .jpg, .png or .bmp is associated with the Windows Photo Viewer
3. Double click on one of these files where there is more than one image in that directory
-> The Windows Photo Viewer app should open and allow to switch through images with arrow buttons
(German: Einstellungen > Apps > Standard-Apps > Windows-Fotoanzeige: .bmp Windows-Fotoanzeige BMP-Datei)
Then I removed .bmp from “Internal Associations (Total Commander Only)...” and restarted the PC.
After that, I opened a .bmp file in Total Commander 11.50b2 x64/x86 in a directory that contained several .bmp files.
I was able to browse the .bmp files using the right and left arrow keys.
For me, the prescribed test scenario is thus fulfilled.

PS:
If the file type .bmp has been assigned to IrfanView via “Internal Associations (Total Commander Only)...”
and then a .bmp file is opened in Total Commander as follows:
Right-click on a .bmp file > Open with > Windows Photo Viewer (German: Windows-Fotoanzeige)
... then it is NOT possible to use the arrow keys to switch between .bmp files!
Windows 11 Pro (x64) Version 23H2 (OS Build 22631.4249) | TC 11.50b2 x64/x86