Re: Windows 10 Taskbar Behavior

David Vanderschel <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>

On 10/9/2015 2:40 AM, Eli Zaretskii wrote:

>> From: Rob Davenport <[email protected]>

>>
>> Microsoft says the way to solve this is to explicitly set an AppID which
>> overrides the heuristics. So for better behavior in Windows 7 and later, all
>> emacs processes (emacs.exe, runemacs.exe, emacsclientw.exe, etc.) should be
>> modified to call SetCurrentProcessExplicitAppUserModelID() during their
>> startup.
> Yes, that's true.  However, Emacs on Windows has been doing precisely
> that, i.e. calling SetCurrentProcessExplicitAppUserModelID, since
> 2009, i.e. since Emacs 23.2 at least.  And IME it works fine on
> Windows 7.  The question is, why doesn't it on Windows 10?
>
> IOW, the issue is not the changes in Windows 7, which we already
> handle, AFAIK, but the changes in Windows 10.
>
I think it is a bug in Windows 10.  Using the app ID program after I pin 
Emacs to the taskbar in Windows 8.1, the app ID associated with the 
shortcut is already "GNU.Emacs".  However, in Windows 10, the program 
reports that there is no app ID associated with the shortcut.  So 
setting the ID (as it should have been set on pinning the program) fixes 
the problem.  (I also observed that the app ID is not case sensitive.)

Regards,
   David V.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.