salvadorbs / Asuite

ASuite is a simple open source portable launcher for Microsoft Windows.
http://www.salvadorsoftware.com/asuite
GNU General Public License v3.0
99 stars 14 forks source link

Bug: Folder move makes icons disappear #55

Closed vatterspun closed 3 years ago

vatterspun commented 4 years ago

Setup: Win7x86

Steps:

  1. Download program and drag-and-drop some items
  2. Move folder to another location on computer

Defect: no icons for programs

ASuite_vyTptpdVs2


Workaround: open the program, right-click and select property, paste in the executable string to custom icon path:

ASuite_4m2tOUDx37


As a side note, I'm super happy to see this back in development. Thanks very much for your work on this. Definitely a big gap in portable tools to not have a flexible launcher working well on Win10.

salvadorbs commented 4 years ago

In these days, I have same bug when new version of a visual component (for ScanFolder, shell treeview) inadvertently call to rebuild system icon list. ASuite uses system imagelist and every icon has an index number, so software can retrieve icon using this number. With cache rebuilt, we have new index number, but ASuite uses old index yet.

I resolved this, disabling this property of the visual component, but it seems it's not enough.

Using your instructions, Windows 10 didn't rebuild icon cache. But I will try to reproduce this bug in other ways (see https://www.howtogeek.com/232779/how-to-rebuild-a-broken-icon-cache-in-windows-10/). Thank you very much!

teamayu commented 4 years ago

The first time I ran the new version and selected to export the settings, all of the icons disappeared then as well.

megabugman commented 3 years ago
  1. add a folder
  2. move the folder
  3. run, contradictory messagebox pops up move_folder
salvadorbs commented 3 years ago

GetLastOsError doesn't work as I hoped. I entered some default error messages. Thanks! 😄