Advanced configuration options
Use the Advanced tab to configure the caches, the stored settings, dictionary lists, and buttons style.
Image Cache
The Genero Desktop Client stores images that have been retrieved remotely, such as when the images are retrieved using http (either because the url specifies http, or a PICTURE alias is used with Genero Application Server), or from the runtime system side (using FGLIMAGEPATH).
The size of the image cache can be configured. Images are stored in the AppCacheDir directory (see GDC configuration file directories). When the cache is full, those images which have not been recently used are removed from the cache.
A memory cache is used by GDC. Images that are frequently used are cached to be loaded as fast as possible.
The imageCache
style has been introduced to manage the cache; the disk cache and
memory cache. It can be applied to any item using images and defines whether GDC must cache the
image (based on the url).
Values can be yes
(cache is used) or no
(cache is not used).
The default behavior depends (as in previous versions) on the item type:
- IMAGE fields are not cached.
- All other items (button, toolbar items) are cached.
- The first application will write the first image to the cache.
- The second application, while trying to load the second image with the same name, will search the cache by file name and load the first image.
- The second application incorrectly displays the first image.
Proxy Cache
The Clear button will clear the cache.
Web cache
Web component widgets use webviews. Webviews created by the GDC share a common disk cache, known here as the Web cache.
When developing applications, the Web cache can prevent the developer from seeing changes in the Web component, as old versions of the files saved in the cache may be used instead of downloading the latest versions from the server. To force the webview to download the latest versions, users need to clear the cache.
Stored settings
Stored settings refer to the storage of window and widget properties such as size, table layout (column order, width, sorting, and so on) on the platform where the GDC sits. These settings are stored for each program executed, and the settings are used when the program relaunches, so that the end user sees the same display when the application starts as they had when the application last terminated.
Settings are stored in the system registry on Windows®, in property list files on macOS™ and iOS, and in ini text files in Linux® systems. It is not recommended to modify those files or registry entries.Select Disable to temporarily disable stored settings. When disabled, all widgets and windows use their defaults for size and display. The stored settings are not cleared (they remain on disk), but they are not used, nor are they updated on application end.
Select Read only to read the stored settings when forms are loaded, but not update the stored settings when the forms are closed. For example, assume the window of an application has been saved in maximized state. With the Read only option activated, you can resize the window or do whatever you want with the application; yet when you exit and restart the application it will be returned to its maximized state.
The Clear button clears all stored settings. This button is disabled if there are no stored settings to clear.
Dictionary list
The dictionary list relates to the spellchecking feature for Web components.
- GDCDIR/bin/qtwebengine_dictionaries on Windows and Linux systems.
- GDCDIR/Contents/Resources/qtwebengine_dictionaries on macOS systems.
For the .bdic files packaged with GDC, a transposition of the file name is
made to display the name of the language. For example, instead of "it_IT
" you will
see "Italian
". For all added .bdic files, the name of the file
is used in the context menu.
Buttons style
The look of the monitor and dialogs (shortcuts wizard, login, about box, debug console) buttons can be customized to match the look-and-feel of a regular Genero application.