Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: total_annihilation00 on June 12, 2026, 04:06:31

Title: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: total_annihilation00 on June 12, 2026, 04:06:31
Troubleshooting Custom File Type Launchers and Icon Overrides in MC: Icon Deletion When Adding New Extensions
I'm configuring a custom file launch setup in MC for handling various PDF-related formats. The current File Types setup includes: `*.pdf`, `*.epub`, `*.djvu`, `*.mobi`, `*.chm`, `*.FB2`, `*.CB7`, `*.CBR`, `*.CBT`, `*.CBZ`, `*.PRC`.

The launcher configuration in `FileTypes.xml` looks like this:

xml
Code: [Select]
<launcher name="Sumatra Sandbox">
  <program type="1" name="" path="C:\Users\dell\Documents\SumatraALLOld\SumatraPDF-3.2-64.exe" args="-invert-colors &quot;${filepath}&quot;"/>
  <icon use="0" path="" index="-1"/>
  <extensions>*.pdf *.epub *.djvu *.mobi *.chm *.FB2 *.CB7 *.CBR *.CBT *.CBZ *.PRC</extensions>
</launcher>

I added a new file extension `*.azw3` to the `<extensions>` list. However, doing so causes my custom icons defined in `IconOverride.xml` for `.pdf`, `.epub`, and `.mobi` to be deleted automatically.

Icon override configuration:

xml
Code: [Select]
<icon ext=".pdf" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>
<icon ext=".epub" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>
<icon ext=".mobi" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>

**Issue:** 
Adding a new extension to the launcher `<extensions>` list appears to overwrite or remove existing custom icon overrides for certain file types, specifically `.pdf`, `.epub`, and `.mobi`. How can I add support for `.azw3` without disrupting my existing icon customizations? 


P.S: I did all this via the user interface. There is clearly a synchronization mishap (saving a File Extension Launcher is breaking the associated Custom Icons), I urge you to fix this please; Configuration Corruption bug/ Settings Overwrite Issue (Changes to file extension associations via UI lead to unintended loss of custom icon overrides, indicating a bug in configuration handling), Mathias ! This bug is even present in V14 !
Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: total_annihilation00 on June 15, 2026, 06:28:38
Why does the Icon Override get deleted when I modify an existing File Extension in launcher (Run/ Open) ? This is clearly a bug ! I'am unable to use custom Icons and then change the extension of a Launcher Run/ Open because of this flaw ! Can you please fix this ASAP ? I need to customize some Launchers and Icon Overrides but the the Icon overrides are being deleted…
Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: Mathias (Author) on June 15, 2026, 07:42:00
I can't reproduce that

I add a override icon for PDF
restart
Add a run/open for PDF so it opening PDF
Save
restart

Both works.

Might be in what order things are done that trigger some bug? So instead of me trying to figure out exactly what combination of order of things, Can you give me steps to reproduce it since you can reproduce it ? The order you are doing things to trigger it.
Having a step by step list on how to reproduce it will make it easier to figure out why it is happening

Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: total_annihilation00 on June 15, 2026, 08:01:02
I can't reproduce that

I add a override icon for PDF
restart
Add a run/open for PDF so it opening PDF
Save
restart

Both works.

Might be in what order things are done that trigger some bug? So instead of me trying to figure out exactly what combination of order of things, Can you give me steps to reproduce it since you can reproduce it ? The order you are doing things to trigger it.
Having a step by step list on how to reproduce it will make it easier to figure out why it is happening

It's easy, make an Icon Override (custom Icon). then make a File Extension for it in Launchers (Run/ Open), then modify it a 2nd time by adding an extension: the custom Icon Override will disappear ! The trick is the second time you add another extension to the Launchers Extension List (re-modifying it, not the 1st time), it causes the deletion of the Icon Override !!

What I'am trying to say is after you make a PDF extension in launcher it will work, but if you were to add *.azw3 or any other extension a *Second* time and click Save to update it, the Icon Override gets deleted !! The 1st time it doesn't cause issues, but it won't let you add a 2nd extension without breaking the Icon Override for PDF.

Do this and you will see:
I add a override icon for PDF
restart
Add a run/open for PDF so it opening PDF (launcher will look like: "*.PDF")
Save
restart
Now Add a 2nd extension alongside the PDF (call it anything let's say *.azw3) and click Save: the Icon Override for PDF disappears !!! (launcher will look like: "*.PDF *.azw3")
Check Icon Override (will be missing) This happens for every entry of Icons and their Launcher Extensions not just PDF. Worst part is you will lose all re-modified extensions for the Icon Overrides listed in Launcher Extensions. So if I had Icon Overrides for "*.PDF *.EPUB *.MOBI" those will *all* get deleted when you hit Save a *Second* time.

Please Mathias, this is a nasty bug, I need it fixed badly. I won't take your time unless it's important !
Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: Mathias (Author) on June 15, 2026, 08:24:13
Sorry can't reproduce..  Steps to reproduce are not clear so I guess you are doing something that I miss..

(edit)
Ahh You edit you post with instructions... I will check again...
Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: Mathias (Author) on June 15, 2026, 08:48:28
I can't reproduce that

I add a override icon for PDF
restart
Add a run/open for PDF so it opening PDF
Save
restart

Both works.

Might be in what order things are done that trigger some bug? So instead of me trying to figure out exactly what combination of order of things, Can you give me steps to reproduce it since you can reproduce it ? The order you are doing things to trigger it.
Having a step by step list on how to reproduce it will make it easier to figure out why it is happening

It's easy, make an Icon Override (custom Icon). then make a File Extension for it in Launchers (Run/ Open), then modify it a 2nd time by adding an extension: the custom Icon Override will disappear ! The trick is the second time you add another extension to the Launchers Extension List (re-modifying it, not the 1st time), it causes the deletion of the Icon Override !!

What I'am trying to say is after you make a PDF extension in launcher it will work, but if you were to add *.azw3 or any other extension a *Second* time and click Save to update it, the Icon Override gets deleted !! The 1st time it doesn't cause issues, but it won't let you add a 2nd extension without breaking the Icon Override for PDF.

Do this and you will see:
I add a override icon for PDF
restart
Add a run/open for PDF so it opening PDF (launcher will look like: "*.PDF")
Save
restart
Now Add a 2nd extension alongside the PDF (call it anything let's say *.azw3) and click Save: the Icon Override for PDF disappears !!! (launcher will look like: "*.PDF *.azw3")
Check Icon Override (will be missing) This happens for every entry of Icons and their Launcher Extensions not just PDF. Worst part is you will lose all re-modified extensions for the Icon Overrides listed in Launcher Extensions. So if I had Icon Overrides for "*.PDF *.EPUB *.MOBI" those will *all* get deleted when you hit Save a *Second* time.

Please Mathias, this is a nasty bug, I need it fixed badly. I won't take your time unless it's important !

Adding extension again will remove the icon override for that icon
 BUT only in the memory. it actually does not save the IconOverride.xml files.

But since you are modifying the icons override before starting. it will recreate that file.

So until fixed, Restart before adding more icons to override.




Title: Re: Troubleshooting Custom Icon Deletion When Adding New Extensions Custom File Type
Post by: total_annihilation00 on June 15, 2026, 09:26:05
Adding extension again will remove the icon override for that icon
 BUT only in the memory. it actually does not save the IconOverride.xml files.

But since you are modifying the icons override before starting. it will recreate that file.

So until fixed, Restart before adding more icons to override.

Thank you Mathias, you're the best ! :D