Ticket #318 (Fixed)Fri Sep 28 18:57:29 UTC 2012
Iconbar module fails to initialise at system start when a Territory other than UK is configured
Reported by: | Dick Tanis (1648) | Severity: | Normal |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Fixed |
Details by Dick Tanis (1648):
When configuring the machine to another Territory (for example the Netherlands, *Configure Territory 34) at system start the initialisation of the Iconbar module generates the error: File ‘IconBar:Messages’ not found and becomes a dormant module. Reinitialising the module later in $.!Boot give no errors. This problem has been introduced when IconBar was put in ROM (RISC OS 3.6 or higher).
Changelog:
Modified by Dick Tanis (1648) Tue, October 02 2012 - 00:16:49 GMT
Checked the source of the Iconbar module and found the bug. Look like the function objmodule_ensure_path is case sensitive when another territory is set and the modules are initialised at system start. So the easiest solution is to change the char b in the string Resources:$.Resources.Iconbar to a capitital B in line 182 of the file IconBar.c.main. Can some from the rool team change this? Thank in advance.
Modified by Sprow (202) Wed, October 03 2012 - 20:44:26 GMT
- Status changed from Open to Fixed
As ‘Iconbar’ is its registered SWI chunk name I went with changing the resourcefs directory name to be lowercase. There are 3 cases to consider
- Old ROMs with ‘IconBar’ => still wont work!
- New ROMs with ‘Iconbar’ => should now work
- RAM loading modules => should still work since they register local copies of their messages at run time
Fixed in BuildSys-5_99.