Re: AOS 4.1 FE bug - the shell crashes when iconified
Posted: Tue Jan 20, 2015 9:30 pm
Another test: with KingCON iconifying works fine.
Support Forum
https://forum.hyperion-entertainment.com/
https://forum.hyperion-entertainment.com/viewtopic.php?f=16&t=2802
Ah, good to know! I'll move the icon from SYS:System/ to ENVARC:Sys/, so that I can be unsnapshot, and thus have the icon located at the first free "slot" on the Workbench. Thanks.tonyw wrote:Looking at the console code (pretty old now), I can see that your insight is exactly right. It tries to GetDiskObject("ENVARC:Sys/def_Shell") first, then, if that doesn't work, it tries to GetDiskObject ("SYS:System/Shell").
I think I have seen some programs default to a (very ugly) old, 1.3 style icon for iconification sometimes. Is there maybe such a thing defined internally somewhere (icon.library? workbench.library? or wherever) which could be used as a last resort?tonyw wrote:Looking at the console code (pretty old now), I can see that your insight is exactly right. It tries to GetDiskObject("ENVARC:Sys/def_Shell") first, then, if that doesn't work, it tries to GetDiskObject ("SYS:System/Shell").
Whatever it gets (or doesn't) is passed to workbench.library as the icon to use to build the AppIcon when iconifying.
I'll have to take advice on this problem.
Definitely. Make (some of) the ENVARC:Sys/def_#?.info icons unaccessible and you'll get old-style (3.0?) icons:nbache wrote:I think I have seen some programs default to a (very ugly) old, 1.3 style icon for iconification sometimes. Is there maybe such a thing defined internally somewhere (icon.library? workbench.library? or wherever) which could be used as a last resort?
I agree. The solution is not to "buy more lottery tickets", but to establish a failsafe last resort.tonyw wrote:There are several suitable "def_xxx" icons in ENVARC:Sys/, not including "def_shell" which the console was also looking for. There are "def_iconify" and "def_kingcon" (shudder). I can test to see if one of these is present, but there is still the possibility that none is present - what then?
- will achieve.Currently trying to find out what I have to do to store a default icon within the code...