GBC 1.00.58 new features and upgrade notes

A summary of new features and changes in functionality introduced with Genero Browser Client (GBC) 1.00.58. Note the changes you may need to make when moving to this version of the GBC.

Important:

This version of GBC is desupported, use a more recent version of the product.

Important:

This page covers only those new features introduced with the Genero Browser Client version specified in the page title. Check prior new features pages if you migrate from an earlier version.

For a detailed list of GBC 1.00.58 changes, please refer to the list of fixes on our issue tracker.

Security update

A more efficient way to filter HTML from VM has been implemented. This prevents malicious code from being injected into GBC by using widgets allowing HTML (with textformat=html).

Theme variables

New theme variables are available:

theme-error-color The text color for the ERROR message. The default value is theme-primary-color.
Note:

The theme-error-background-color theme variable is unchanged.

responsive-small-width The maximum width of small devices. The default value is 576px.
responsive-medium-width The maximum width of medium devices. The default value is 768px.
theme-grid-inner-gutter-x The size of the horizontal inner gutter. If specified, it overwrites the value of theme-grid-inner-gutter.
theme-grid-inner-gutter-y The size of the vertical inner gutter. If specified, it overwrites the value of theme-grid-inner-gutter.

For more information about theme variables, see Theme variables reference.

Chromebar changes

Customization
A new theme variable, gbc-ChromeBarWidget-visible-items, allows you to customize items in the chromebar. For more information, see Customize the chromebar.
Space taken
Items are now displayed in the chromebar if there is space available. If the title is bigger, there will be less space for chromebar items. Therefore, title length should be considered. If there is any program action in the chromebar, all GBC items are automatically placed in the right sidebar. For more information, see Application page for GBC.

Menu style popup alignments

Alignment of menu actions styled as popup (MENU STYLE POPUP) have been reworked to keep a coherent vertical alignment between the texts without having to worry about optional icons.

For this purpose, three new theme variables have been added :

gbc-MenuWidget-dropdown-padding-left Menu style popup left padding set inside the dropdown. The default value is 3px.
gbc-MenuWidget-dropdown-padding-right Menu style popup right padding set inside the dropdown. The default value is 12px.
gbc-MenuWidget-dropdown-text-padding-left Menu style popup left padding set to an action text when no icon is defined. It intends to keep a vertical alignment with the text of another action having an icon. The default value is 21px.

Menu style dialog

You can use a customization to wrap the message (COMMENT attribute) of a menu styled as dialog (MENU STYLE DIALOG). This prevents the modal window from growing larger than the screen.

Add this code to customization.scss:

.gbc_ModalWidget.mt-dialog-content {
	white-space: normal !important;
    text-align: center;
}

DateEditWidget

The click/mousedown events in the DateEditWidget are replaced by the manageMouseClick method.

Select files dialog

The Select files dialog includes a Close icon.

COMPLETER and COMBOBOX

If you select an item in the completer field or combobox, the focus moves automatically to the next field.