Home Forums General XMetaL Discussion Not able to save toolbar settings after i exit XMetaL Reply To: Not able to save toolbar settings after i exit XMetaL

Derek Read

Reply to: Not able to save toolbar settings after i exit XMetaL

What you are describing should never occur so you might wish to discuss your particular system setup with XMetaL Support.

Toolbar settings are partially saved to your Windows Registry (basically position and size) and partially saved in TBR files (the name, which buttons it contains, what to do when someone clicks a button, etc).

Perhaps your system configured to block read/write operations to certain portions of your Windows registry. These settings are stored here:
HKEY_CURRENT_USERSoftwareSoftQuadXMetaL 6.0WorkspaceEx ManagerXM Author Workspace

Or perhaps some other software or an XMetaL customization is messing with your registry?

If XMetaL Author crashes before it shuts down then toolbar settings are not written out. If you have a customization loaded that causes the product to crash each time it shuts down then that might be the problem. It is not that difficult to write a bad customization that would cause such a crash.

TBR files are normally written to and read from here:

C:Documents and SettingsdreadApplication DataSoftQuadXMetaL6.0default.tbr

For specific schemas the location is usually here:

C:Documents and SettingsdreadApplication DataSoftQuadXMetaL6.0genCProgram FilesXMetaL 6.0AuthorRulesDocBook5.0xidocbookxi.tbr

All of these things combine in a cumulative way to come up with the position of a particular toolbar and whether or not it is visible when no documents are open or when a specific document type is being edited. When XMetaL Author starts up the “default” TBR is loaded (no documents open) and then toolbar settings are changed depending on the document type currently being edited (one TBR file per document type). This is most obvious if you edit two or more different document types (DTDs) and switch between them.