GBC 6.00.10 new features and upgrade notes

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

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 6.00.10 changes, please refer to the list of fixes on our issue tracker.

Previous new features page: GBC 6.00.09 new features and upgrade notes.

Close button in the application list

In the application list, clicking the close button of an application other than the displayed one no longer switches to that application first. GBC closes the active window of that application in the background.

ERROR and MESSAGE in a popup

GBC displays ERROR and MESSAGE text in a popup when the errorMessagePosition, messagePosition, or position style attribute is popup.

GBC 6.00.10 applies the errorMessagePosition style attribute, so a style file that sets it to popup now displays ERROR text in a popup. Style files based on an older default.4st file set it on the Window.dialog to Window.dialog4 styles. To keep the floating message, set the attribute to floating or remove it. For more information, go to Window style attributes: Miscellaneous and Message style attributes in the Genero Business Development Language User Guide.

Playwright engine for automated tests

The new gbc playwright command runs the GBC automated tests with Playwright on Chrome and Firefox. For more information, go to gbc playwright.

Application list, sidebar panel, and ItemWidget changes

GBC 6.00.10 has new HTML for the close buttons in the application list and the sidebar panels. It also removes three ItemWidget API members. These changes may affect a customization that styles these elements or accesses them in JavaScript. The following table lists the changes and what to check in a customization.

Table 1. Application list, sidebar panel, and ItemWidget changes in GBC 6.00.10
Element, API, or stylesheet Change What to check in a customization
Close button that ApplicationListService builds for each application in the application list The close button is a new button.gbc_ItemWidget.gbc_ItemWidget--appClose element next to the application button, in the same li.gbc_appItem. It replaces the div.gbc_ItemWidget__secondaryIcon.close element inside the application button. Its title gives its accessible name, and its QA name is gbc_appItemClose. While the application is closable, it has the gbc_closable class. The application button and the close button no longer have an empty secondary icon container. Selectors such as .gbc_appItem .close or .gbc_ItemWidget__secondaryIcon.close, and scripts that listen to clicks on the secondary icon of an application item.
Close button that MainContainerService.getCloseIcon() adds to the SideBarDrawer and the floating panels on mobile devices The close button is a button.close element with an aria-label and a title. It holds an i.zmdi.zmdi-close element with aria-hidden. It replaces the div.zmdi.close element. When applicationListVisible is yes, the SideBarRail is displayed and GBC does not add this button. CSS rules on div.close or .zmdi.close inside .gbc_SideBarDrawer and .gbc_FloatingPanel.
ItemWidget API
  • Removed: gbc.constants.widgetCssClasses.close, gbc.constants.widgetEvents.clickSecondaryIcon, which names the g_clickSecondaryIcon event, and ItemWidget.onClickSecondaryIcon().
  • Added: ItemWidget.removeSecondaryIcon().
Code that calls onClickSecondaryIcon() or listens to the g_clickSecondaryIcon event.
Application list in the ChromeBar, when applicationListPosition is top The <ul> element of the running applications no longer has role="tablist". The application buttons no longer have role="tab" or aria-selected, and their <li> elements no longer have role="presentation". As in the SideBarRail, the displayed application has aria-current="page". Selectors or scripts that rely on [role="tablist"], [role="tab"], or [aria-selected] inside .gbc_ChromeBar__MiddleContainer.
ItemWidget.scss The stylesheet no longer has the generic .gbc_ItemWidget .close rule. This rule drew a close icon on any element with the close class inside an ItemWidget. Custom ItemWidget elements that rely on this rule to show a close icon. Add the zmdi-close class to these elements.

Table aggregates row above the horizontal scrollbar

In a table, GBC 6.00.10 displays the aggregates row above the horizontal scrollbar instead of below it. The aggregates row is now inside the scroll area of the table. This change may affect a customization that copies RTableWidget.tpl.html, styles the table structure, or accesses it in JavaScript. The following table lists the changes and what to check in a customization.

Table 2. Table aggregates row changes in GBC 6.00.10
Template or element Change What to check in a customization
Aggregates footer in RTableWidget.tpl.html The .gbc_TableFooterGroup element is no longer a sibling of .gbc_TableDataGroup. It moves inside the scroll area, to .gbc_TableDataGroup > .scroller_y > .gbc_TableFooterGroup, and sticks above the horizontal scrollbar. It no longer has an inner .scroller_x element, and GBC no longer syncs its scrollLeft in JavaScript. The .scroller_y element and the footer have role="presentation", and the footer no longer has role="rowgroup". The aggregates row keeps role="row" and belongs to the data row group. Sibling or child selectors such as .gbc_RTableWidget__table > .gbc_TableFooterGroup or .gbc_TableDataGroup + .gbc_TableFooterGroup, scripts that set or read the scrollLeft of the footer or its .scroller_x element, and selectors or scripts that count [role="rowgroup"] elements.
.scroller_y The element is no longer a 1px-wide spacer. It spans the data area and holds the footer. It has pointer-events: none, and its ::before pseudo-element now carries the virtual height of the data. Scripts that measure .scroller_y: its clientHeight was the virtual data height and is now at least the viewport height. CSS rules on .scroller_y.
Descendant selectors on .gbc_TableDataGroup The aggregates row and its cells are descendants of .gbc_TableDataGroup. Descendant selectors such as .gbc_TableDataGroup .gbc_RTableRowWidget or .gbc_TableDataGroup .gbc_RTableItemWidget now also match the aggregates row. Use the child combinator, >, as the GBC 6.00.10 stylesheet does.