Skip to content

Unable to force multiplied versions to use individual icons - due to lack of unique AppUserModelID support? #5480

@GitHubinatrix

Description

@GitHubinatrix

I use multiple Notepa3 portable instances simultaneously - each being associated-to by just one unique file that has a fake TXT_something extension. Each EXE has a unique name and got its icon changed [with Resource Hacker 5.2.8]. This combination allows me to distinguish both the EXEs and text files at a glance. My most important "fake" TXT file is pinned to the Taskbar thus available through context menu of its EXE icon that sits on Taskbar

But it seems that on my Windows 10 I can either:

A] Have each of opened texted files that bear a different fake extension use their unique icon - but that important one will not use the spot already taken by its pinned EXE when it becomes opened, but instead will show up under a second iteration of its icon. This double room taken by the main file wastes the precious room on Taskbar

B] Adjust the Target of the pinned EXE to include path to its unique TXT - but then all other fake TXTs formats will open up using the icon of that pinned one, despite still being run via their individual EXEs; plus the first opened such TXT will always reuse the spot of the pinned one. This renders the whole multiplication of EXEs useless as there is no visual distinction anymore; plus any of them can extra confuse me as being the main pinned one

I do have in every EXE its option of

Settings > Window > Reuse Window

turned off. And I also tried using a MANIFEST file e.g.


<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <application>
    <windowsSettings>
      <AppUserModelID>Notepad3.TXT_01</AppUserModelID>
    </windowsSettings>
  </application>
</assembly>

But the trade-off situation still prevails. And this was not happening when I was using Notepad 2- i.e. I had my main file pinned to Taskbar with its Target changed, thus it was always taking one spot, while all other versions were using their individual icons and never posing as the main one by taking its spot

Is it because Notepad3 does not programmatically set or honor AppUserModelIDs per instance or file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions