[11.51RC4] Images can not open by Photos

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

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

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.55 release candidate 1, please test it!
24.03.25 Fixed: Double click on JPG, PNG etc: Launching of the Photos app via ms-photos:viewer?fileName=name again supports URL-encoded names with version 2025.11030.12002.0 (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

Tested OK using TC 11.55rc1 32-bit and 64-bit and Photos app version 2025.11040.23001.0.
User avatar
zhugecaomao
Junior Member
Junior Member
Posts: 19
Joined: 2022-08-23, 05:08 UTC
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *zhugecaomao »

ghisler(Author) wrote: 2025-05-08, 15:18 UTC This should be fixed in Total Commander 11.55 release candidate 1, please test it!
24.03.25 Fixed: Double click on JPG, PNG etc: Launching of the Photos app via ms-photos:viewer?fileName=name again supports URL-encoded names with version 2025.11030.12002.0 (32/64)
Tested, pictures can be opened by the Photos App well.

Only feel strange that after opening the pictures with the Photos app, before reactivating the TC window and putting the mouse over the TC window, the mouse pointer will keep rolling (busy icon)

This will not happen if use a 3rd party photo viewer like Imagine
Total Commander Version 11.55 RC1 64-bit
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

zhugecaomao wrote: 2025-05-09, 00:52 UTC Only feel strange that after opening the pictures with the Photos app, before reactivating the TC window and putting the mouse over the TC window, the mouse pointer will keep rolling (busy icon)
Confirmed. After opening an image, hovering over the inactive TC window, shows a busy mouse cursor. It goes away as soon as the TC window becomes active.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

Confirmed, I will change the cursor back to an arrow.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

HISTORY.TXT wrote: 09.05.25 Fixed: After launching the Photos app with multiple files via double click/Enter key, the mouse cursor didn't revert to an arrow (32/64)
Tested OK using TC 11.55rc2 32-bit and 64bit, but I don't understand the description. Opening multiple files via double click/Enter key?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

What I meant is that photo viewer is called with that special method which tells it to open all files in the current directory with the displayed one, so the user can scroll through them. This is done with the command
ms-photos:viewer?fileName=c:\path%20to%20\file\filename.jpg
The mouse cursor remained a wait cursor only when the photos app was launched this way, not when launched with only one file by setting
PhotoAppMode=-1
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

2ghisler(Author)
Very confusing description. No multiple files are opened or as the help says "loaded". It's about whether navigation to next/previous file in the same folder is enabled or not, right?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

Would this be better?

Code: Select all

09.05.25 Fixed: Double click on JPG, PNG etc: After launching of the Photos app via ms-photos:viewer?fileName=name, the mouse cursor didn't revert to an arrow (32/64) 
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

ghisler(Author) wrote: 2025-05-15, 09:19 UTC Would this be better?
Yes, that's fine for the changelog.

How about changing the help text from this:
PhotoAppMode=0 Override how the Microsoft Photos app is called to load multiple images:
0: automatic based on photo app version number
1: old method (LaunchFileWithOptionsAsync)
2: ms-photos:viewer?fileName=name with URL-encoded name,
3: ms-photos:viewer?fileName=name without encoding the name
-1: open photos app with only one file
To this:
PhotoAppMode=0 Configures how the Microsoft Photos app is launched, enabling navigation between files.
0. automatically select method based on app version
1. use old method (LaunchFileWithOptionsAsync with put_NeighboringFilesQuery)
2. use ms-photos:viewer?fileName=name (URL-encoded name)
3. use ms-photos:viewer?fileName=name (without encoding the name)
-1. launch app with file navigation disabled
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

OK, if you think that this is better I will use it.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

ghisler(Author) wrote: 2025-05-16, 08:27 UTC OK, if you think that this is better I will use it.
Yes, I think it's better. The changelog is not aimed to be understood by users. The help file is. I think this version has a better chance of helping users grasp what this setting means for them.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

Please check the updated help of 11.55 RC3.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.51RC4] Images can not open by Photos

Post by *white »

Confirmed that the text changed to:
PhotoAppMode=0 Configures how the Microsoft Photos app is launched, enabling navigation between files:
0: automatically select method based on app version
1: use old method (LaunchFileWithOptionsAsync)
2: use ms-photos:viewer?fileName=name with URL-encoded name,
3: use ms-photos:viewer?fileName=name without encoding the name
-1: launch app with file navigation disabled
PhotoAppMode=0 Konfiguriert, wie die Microsoft Photos-App gestartet wird, um die Navigation zwischen Dateien zu ermöglichen:
0: automatisch basierend auf der Versionsnummer
1: alte Methode verwenden (LaunchFileWithOptionsAsync)
2: ms-photos:viewer?fileName=name mit URL-codiertem Namen verwenden
3: ms-photos:viewer?fileName=name verwenden, ohne den Namen zu codieren
-1: App mit deaktivierter Dateinavigation starten
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC4] Images can not open by Photos

Post by *ghisler(Author) »

Thanks!

Moderator message from: ghisler(Author) » 2025-05-22, 07:45 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply