Having problem when opening photo in XYplorer.

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

arkid wrote: 29 Sep 2020 14:23 So I made one mistake, sorry but im not used to such constant testing and am trying to work a full time job.
  • Right click context menu open (32bit) prompts constantly
    Right click context menu open (64bit) DOES open straight away. Saying it wasn't was incorrect, I just forgot it had worked yesterday when tested.
OK, thank you! That was clear. :tup:

admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

Now back to my other question. Does this return anything with today's lastest beta version v21.10.0024?:

Code: Select all

text get("assoc","jpg");

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Having problem when opening photo in XYplorer.

Post by highend »

You'll find the latest beta here: viewtopic.php?f=1&t=4&sd=d
One of my scripts helped you out? Please donate via Paypal

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Having problem when opening photo in XYplorer.

Post by arkid »

Yes it returns an error:

Error -2147023741

Error: -2147023741 (0x80070483)
Desc: Automation error
No application is associated with the specified file for this operation.
Dll: 0
Proc: script_Process: text

Source: XYplorer
XY ver: XYplorer 21.10.0024
OS: Windows 10 Professional, 64-bit, Release 2004, Build 19041.508
Locale: 3082 (es-ES)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Segoe UI 9, DBCS: No
DPI: 96 (100%), 1920x1080

Date: 2020-09-29 09:34:12

admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

Wow, that's unexpected. Thanks.

So that was a dead end. I will now try to teach XY64.exe to open files with associated apps.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Having problem when opening photo in XYplorer.

Post by highend »

Are you sure that this isn't the x86 app trying to access "C:\Program Files\..." (on 64-bit systems) items problem?
At least it sounds like one when the registered app for an extension is 64-bit and the 64-bit context menu can handle it, but the 32-bit one can not...
One of my scripts helped you out? Please donate via Paypal

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Having problem when opening photo in XYplorer.

Post by arkid »

highend wrote: 29 Sep 2020 14:54 Are you sure that this isn't the x86 app trying to access "C:\Program Files\..." (on 64-bit systems) items problem?
At least it sounds like one when the registered app for an extension is 64-bit and the 64-bit context menu can handle it, but the 32-bit one can not...
So what you are saying is that the program associated with the images, if 64bit may cause this issue (as xyplorer isn't 64bit for now at least)?

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Having problem when opening photo in XYplorer.

Post by highend »

What you've described points into that direction, yeah
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

highend wrote: 29 Sep 2020 14:54 Are you sure that this isn't the x86 app trying to access "C:\Program Files\..." (on 64-bit systems) items problem?
At least it sounds like one when the registered app for an extension is 64-bit and the 64-bit context menu can handle it, but the 32-bit one can not...
Since I cannot reproduce any of these problems on my 64-bit Win10 or Win8.1 there must be another factor.

PS: This PFA works nicely from XY:

Code: Select all

"Windows Photo Viewer 64-bit" {:Image}>::run """%SystemRoot%\System32\rundll32.exe"" ""%ProgramW6432%\Windows Photo Viewer\PhotoViewer.dll"", ImageView_Fullscreen <curitem>";

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Having problem when opening photo in XYplorer.

Post by highend »

Mh, tried it myself (just a standard test)

- Fresh instance
- No 64-bit context menu as default
- Right clicked a .png - "Edit" entry
Worked fine, file was opened correctly

Now again with the 64-bit context menu
The "How do you want to open this file?" question pops up
I've set the checkmark for "Always use this app to open .png files and hit the OK button
Worked fine, file was opened correctly

The same again and it did work fine without the dialog...

In other words: Can't reproduce^^ (Windows Server 2019)

These changes were written to the registry:

Code: Select all


[HKEY_USERS\S-1-5-21-3710688590-3336221233-3401591357-1000\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts]
"Applications\\mspaint.exe_.png"=dword:00000000
"PhotoViewer.FileAssoc.Tiff_.png"=dword:00000000
[HKEY_USERS\S-1-5-21-3710688590-3336221233-3401591357-1000\Software\Microsoft\Windows\CurrentVersion\Explorer]
"GlobalAssocChangedCounter"=dword:00000018
[HKEY_USERS\S-1-5-21-3710688590-3336221233-3401591357-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithList]
"d"="mspaint.exe"
[HKEY_USERS\S-1-5-21-3710688590-3336221233-3401591357-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice]
"Hash"="a+7ZoFTGpd4="
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

To me that (I mean the cases where it does not work) looks like a Win10 bug under certain conditions. :|

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Having problem when opening photo in XYplorer.

Post by arkid »

Anything else I can do to further troubleshoot this?

If it's a case that it would work if the program associated was 32bit anyone got any recommendations for a very fast simple image viewer thats 32bit? Pretty much anything on my system that is an image viewer is 64bit it seems.

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Having problem when opening photo in XYplorer.

Post by arkid »

admin wrote: 29 Sep 2020 16:02 To me that (I mean the cases where it does not work) looks like a Win10 bug under certain conditions. :|
It did seem to start quite randomly recently... maybe after a reboot for a windows update. Of course there's new windows updates all the time so it may be totally unrelated to that.

admin
Site Admin
Posts: 64886
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Having problem when opening photo in XYplorer.

Post by admin »

arkid wrote: 29 Sep 2020 16:28 Anything else I can do to further troubleshoot this?

If it's a case that it would work if the program associated was 32bit anyone got any recommendations for a very fast simple image viewer thats 32bit? Pretty much anything on my system that is an image viewer is 64bit it seems.
1. Please select an image file and run this thru the XY address bar:

Code: Select all

open64;
Does the file open?

2. XY itself is a good image viewer. Instead of opening the image simply press F11, or open the Preview Pane (Ctrl+F11) to see the preview right away.

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Having problem when opening photo in XYplorer.

Post by arkid »

Hi no that doesn't work. I get a script window with the error "'open64' is not a valid script command."

Post Reply