Altap Salamander on Windows 8.1 - Compatibility Mode

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

There is a bug in Windows 8.1 Pro Preview Build 9431: http://social.msdn.microsoft.com/Forums ... rts-629200

Salamander is displaying warning about running in Compatibility Mode. We will fix this problem in next Altap Salamander EAP version.
Andre.Ziegler
Posts: 73
Joined: 10 Mar 2010, 18:31
Location: Germany

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Andre.Ziegler »

this is no bug. You must add a Manifest and supportedOS GUID for 8.1

http://msdn.microsoft.com/en-us/library ... 85%29.aspx
"Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why."
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Ether »

Even though I agree that with Microsoft developers on this, I can't help myself, but react to Andre.Ziegler with a quote: :D
It's not a bug, it's a feature.
Ελληνικά rulez.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

Good catch, thank you! Fixed.
Andre.Ziegler
Posts: 73
Joined: 10 Mar 2010, 18:31
Location: Germany

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Andre.Ziegler »

You're welcome :)
"Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why."
User avatar
McLion
Posts: 78
Joined: 26 Apr 2006, 17:54
Location: Switzerland

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by McLion »

How do I grid of this message box upon every starting Salamander with Version 2.54 on 8.1?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

It is not possible with Altap Salamander 2.54, problem is fixed from version 3.0.
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by SvA »

I am using AS 2.54 and just upgraded from Win 8 to Win 8.1 (x86).
So, now, AS does not start without said dialog.

Therefore, first of all, I would like to understand the consequences concerning functionality and stability of Salamander 2,54 under these circumstances. As I understand, there are none. Windows is lying to AS about it's version which breaks AS compatibility mode check. Windows does not use any compatibility mode, so AS runs just as usual. Is this correct?

According to the document Andre.Ziegler pointed to, the fact that Windows is lying can be prevented by including a compatibility-section in the application manifest. Since manifests in the file system are supposed to take precedence over ones in the resources, I extracted salamand.exe's manifest, added the said section and placed the manifest alongside the executable. However, I still got the compatibility warning. I then also tried to modify the embedded manifest in the resources, but this did not help either.
Did I miss something with this procedure? Is there something more broken than just the GetVersion API? Or did the manifest not get honored?

I do not know much about the compatibility settings, but there never was anything displayed in the compatibility tab of the properties dialog.

I checked the following places in the registry and cleared the one pointing to salamand.exe before testing any change.

Code: Select all

HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store
There was an entry in HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store which when deleted, was recreated without notifying me on, at least, start and termination of AS.

By the way, I would prefere to not update AS until unicode is available at least for find and the viewer (or I am forced to switch to an x64-OS).
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

Note: AS 3.02 has a new code path for detecting Windows version (GetVersionEx is deprecated, we are using Version Helper functions now).

Unfortunately I'm not sure why your attempt didn't work.
devzen
Posts: 2
Joined: 28 Aug 2015, 00:03

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by devzen »

Andre.Ziegler wrote:this is no bug. You must add a Manifest and supportedOS GUID for 8.1

http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I just hit upon this compatibility mode messagebox myself and can confirm that by adding the correct supportedOS Id to the manifest, Altap Salamander 2.54 will no longer popup the message about running in compatibility mode.

I opened the salamand.exe in resource tuner and added the following section below to the manifest;

Code: Select all

   
 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
        <application> 
            <!-- Windows 10 --> 
            <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
            <!-- Windows 8.1 -->
            <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
            <!-- Windows Vista -->
            <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
            <!-- Windows 7 -->
            <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
            <!-- Windows 8 -->
            <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
        </application> 
    </compatibility>
Jack
Posts: 7
Joined: 13 Sep 2015, 19:35

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jack »

I recently upgraded from Win7 to Win10. Was running AS 2.54, no compatibility Mode popup.
Then upgraded AS to 3.06 and the running in compatibility mode pop up appears each time I load AS.
Running 64 bit Win and AS.

Apparently whatever fix was implimented for Win 8 needs done again for WIN10.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

Jack, could you please open context menu for Altap Salamander 3.06 shortcut, choose Properties and check Compatibility page? Is Run this program in compatibility mode option cleared?
Attachments
compatibility.png
compatibility.png (37.98 KiB) Viewed 18006 times
Jack
Posts: 7
Joined: 13 Sep 2015, 19:35

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jack »

Yes, first thing I did was check this, then I turned it on then off, got the popup either way. I went to the executable in C:/ program files/ and it was also not checked in the properties there, for Salamand.exe.

I noticed that AS 2.56 is still in C:/Program Files (x86) and that 3.06 was installed in C:/Program files. At any rate, it's not checked (nor needed) in either. Just can't get the message to stop popping up.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jan Rysavy »

The problem is definitely fixed, Altap Salamander 3.06 is declared as Windows 10 compatible and works fine there, we are using it with Windows 10. There must be some problem on your computer, but right now I have no idea where :(

Could you please uninstall AS 2.54 to be sure it is not started instead? You can keep configuration in registry if you want (you will be asked during uninstall procedure).
You can also try to rename C:\Program Files\Altap Salamander\salamand.exe to some salamand_2.exe and start it. Does it display warning?

Note: C:\Program Files\ directory is OK, it is default app directory for x64 applications on x64 Windows.
Jack
Posts: 7
Joined: 13 Sep 2015, 19:35

Re: Altap Salamander on Windows 8.1 - Compatibility Mode

Post by Jack »

Thanks Jan. Strangely, this morning I clicked on the icon in the start menu, and it opened AS 2.54 with the pop up message. I then started it from the desktop tool bar, and it started 3.06, and no popup. I seldom use the startup menu to load any apps, and 99.9% of the time I use the desktop tool bar to start AS, and I'm sure I was getting the message from the desktop tool bar.

I never received the message when I used 2.54, and now (today) I get the message every time I start 2.54, but not 3.06. I'm getting a little old, so maybe it's senility. I'll just uninstall 2.54, perhaps there's some sort of battle going on between them.
Post Reply