Bug in links *.LNK shortcuts and missing/no icons for exe.

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Bug in links *.LNK shortcuts and missing/no icons for exe.

Post by Snail »

I have two issues I think may be bugs.
XYplorer v 14.40.0200

First, on only some links .LNK, when clicked it does not launch the application. Instead, it gives a not found error.
See XYPlorer01.JPG It correctly shows the link info as Program Files, but XYplorer indicates the (x86) folder.
It is as though XYplorer is not even bothering to check the links data and assumes the 64bit path.
XYPlorer01.jpg

Second, I can not get the icons for executable files to appear.
They will show in the details pane, but not on the exe files themselves.
I've tried, I think, every combination for displaying icons/thumbnails.
Have I missed something or is it another bug?
I'd hate to have to make custom icons for every exe on my system (over 4tb).
XYPlorer02.jpg
Hello,

thanks for the report. Please post it in the user forum, so more people
can see it and try to find a solution. Thanks!

Concerning the icons: Try to untick this:
Configuration | Refresh, Icons, History | Icons | Use generic icons for
super-fast browsing

Best regards,
Donald Lessau
Thanks for the reply Donald. I was hoping to avoid that. If you can believe it, I live in a very remote place with no broadband. No WiFi, no satellite, no cable, no DSL. The only option of internet is still dialup. Most people around here don't even own computers. It's like living in the last century. On a good day, using old analog lines, I can get a whopping 3Kbaud transfer. It takes about 12 minutes to load up and log into a forum.
It takes a lot of patience. Good thing I started out in the 80's on a BBS.
So, now that it is done, the link issue is still an issue that needs to be investigated.
Also, I tried your suggestion on icons, but as you can see from the 3rd snapshop, the box was unchecked. I tried checking and unchecking in just about every combination yet I am still unable to get the icons to show on the exe's.
XYPlorer03.jpg
For anyone interested, I am running Win8 x64 on a Toshiba laptop. Don't know that is of any relavence.

Still love the program, always have, and even with bugs I'll continue to use it.
To see the attached files, you need to log into the forum.

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

Here is a little more information on the links issue.

It seems that links going to files in the C:\Program Files (x86)\ work fine.
However, links pointing to files in C:\Program Files\ report as not found because XYplorer is looking in C:\Program Files (x86).
Also, if I back-click and select OPEN, the link launches the executable properly. It only fails when double-clicked.
XYplorer4.jpg
Hope that helps some.
To see the attached files, you need to log into the forum.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by PeterH »

Question: how can I test a .exe to be 64bit?

I've checked Info Panel/Version: the field "Target OS:" generally shows "32-bit Windows", in some cases it's empty. (Example for empty: VirtualBox.exe)
Should this field show 64-bit if the .exe is so, i.e. is it a :bug: :?:

Is there any other way to check for 64bit?

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

Not really related to this thread, but as it has been asked...
I know their are 32/64 bit test tools, but I myself just use Send to, and select PE Explorer, a 32bit resource editor.
If it is 32bit PE Explorer opens it. If it is 64bit PE Explorer reports back that the file is 64bit and not supported, implying I should use Resource Turner for 64bit apps.
Those are tools you have to install and not the standard approach, but that is how "I" test.
(Of course, if it is an NE 8/16 bit) PE Explorer also tells you it won't open it. But that is going way off topic.)

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

PeterH,
Although your question seems unrelated, your contribution would appear to establish a pattern.
I have tested your question and found similar results. See snapshot.
This suggests that XYplorer is NOT identifying 64bit OS's/files properly.
Given that the Shortcuts and Icons are also 64bit related, this would indicate further a failure to recognize 64 bit applications.
In the links, the addition of (x86) is indicative of a false logic flag.

For example,
Default = Program Files, if OS = x64 then append (x86) (how stupid is it that M$ would use x86 for default 64bit apps folder?)
Why this would be used I don't know. But a test logic is absent.
Instead, the data should be read directly from the .LNK data and if data is direct DO NOT append (x86).
This is where error trapping is so important to decent programming.
Or, it may be a failure of the process used to determine 32/64 bit.

In the snapshot, I use ShellIt, a tool I wrote and know is 32bit.
I also use Recuva64, a 64bit application that does not work within x86/32bit.
As PE Explorer clearly indicates.
Yet, XYplorer, as you noted, shows Recuva64 to be a 32bit program.
XYplorer5.jpg
Perhaps this will help the developers in resolving several seemingly related issues.
To see the attached files, you need to log into the forum.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by PeterH »

Snail wrote:Not really related to this thread, but as it has been asked...
I hope it was related :P

Just wanted to test. Found a program (FreeCell.exe) under Program Files, created a link, double clicked in XY :arrow: no problem. But then it seemed it is 32 bit :shock:
So I asked :roll:

Then the idea: Nikon ViewNX must be 64 bit. And I could verify this with Help/Info: it is 64bit :appl:
OK: created a link, double clicked it in XY :arrow: the 64bit version started! So I can not confirm your problem :naughty:
(Same for right-mouse, Open.)

By the way: developer is 'only' one: Admin = Don :wink:
(But it seems he is working for 5 :shock: )

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

You indicate you are running Win7 x64, where as I am running Win8 x64.
I know a lot of API calls and registry values changed between the two and it is possible that a call to identify the OS bit set is the issue.
It may be that on Win7 it works whereas on Win8 if fails.

I recently had to rewrite one of my old tools, a RAM Defrag, for that exact reason. It worked from WinXP-Win7 and then failed on Win8.

However, it would not explain why 64bit apps are being shown as 32bit on both OS's.

Without the source code and a lot of study, all I can do is guess.

As Don is the only programmer, I see why he relies upon users for input.
I've been in the same position.
Fortunately, right now I'm only coding binary games for Atari :)
I hope Don is able to resolve these issues soon. I miss my icons when looking for a program.
And with links not working properly, it is annoying.

FYI, I had an idea to set XYplorer to Win7 compatability mode, however, it did not seem to have any effect.
Similarly, I always run my file managers in Admin mode. I disabled admin mode and tested. Again, no differance except I didn't have access to certain folders.
At least it eliminates some possabilities.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by bdeshi »

PeterH wrote:Question: how can I test a .exe to be 64bit?
Is there any other way to check for 64bit?
there's a script just for this job: http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=11574
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by admin »

I'm on Win8.1.

I could not reproduce the issue with LNK. There are all resolved as expected.

Same with the exe icons. No such problem here.
From your screenshot it seems that you are using a 3rd party visual theme. This might be related to the icons issue.

Conc. "Target OS:" generally shows "32-bit Windows":
I'm just reporting here what Windows tells me about the executable. Not my code.

Where are you? :)

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by PeterH »

admin wrote:Conc. "Target OS:" generally shows "32-bit Windows":
I'm just reporting here what Windows tells me about the executable. Not my code.
Do you know any way to check for 64-bitness? Could sometimes be helpful :D

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

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by admin »

PeterH wrote:
admin wrote:Conc. "Target OS:" generally shows "32-bit Windows":
I'm just reporting here what Windows tells me about the executable. Not my code.
Do you know any way to check for 64-bitness? Could sometimes be helpful :D
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=11574

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by PeterH »

Thanks!

And sorry: saw Sammays post too late :oops:

Edit: Tested the script: looks OK :D :appl:
Thanks again!

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

I could not reproduce the issue with LNK. There are all resolved as expected.

Same with the exe icons. No such problem here.
From your screenshot it seems that you are using a 3rd party visual theme. This might be related to the icons issue.

Conc. "Target OS:" generally shows "32-bit Windows":
I'm just reporting here what Windows tells me about the executable. Not my code.

Where are you? :)
I'm running Win 8.0.
United States edition.
Running WindowBlinds. I unloaded WB and tried again with no noticable change.

Snail
Posts: 22
Joined: 08 Sep 2014 17:05

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by Snail »

Also, as PeterH and I have noted, the OS is clearly indicating 64bit executables as 64bit, while your program is reporting them as 32bit or nothing at all.
This has been repeated in testing, on multiple systems, and on multiple OS's. See above snapshots.
I will do more testing on this end to see if I can find more about the LNK issue.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Bug in links *.LNK shortcuts and missing/no icons for ex

Post by bdeshi »

Enter ::fresh; in the addressbar. A new fresh copy of XY will open. Can you see exe icons there?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply