IBM Support

Scrollbars in Rich Page Editor do not function on Ubuntu 12.04

Troubleshooting


Problem

Rich Page Editor does not function correctly when the desktop uses the overlay scrollbar style in Ubuntu 12.04.

Symptom

When you edit a web page using a mobile device profile, Rich Page Editor might not work correctly on Ubuntu 12.04. In the mobile editing mode, scrollbars might appear on the outer edge of the Design view. If the page contents are large enough to overflow the device screen, scrollbars might also appear in the device border area. The overlay scrollbars are the default style on Ubuntu 12.04. When using these scrollbars, the inner set of scrollbars in the device border do not appear and you cannot scroll the page.

Cause

The newer overlay style of scrollbars on Ubuntu 12 have no width because they conditionally appear and float over the top of the contents. This results in incorrect calculations for scrolling positions and disables scrolling for the mobile device.

Environment

Ubuntu Linux 12.04

Diagnosing The Problem

Use Rich Page Editor to open a web page. Vertical and horizontal scrollbars should appear near the edges of the Design view area (this is true whether a mobile device is being previewed or not). If no scrollbars appear, the workaround is required to use mobile devices properly.

Resolving The Problem

Before you start Eclipse, run the following command in the same shell that you use to launch the product:

export LIBOVERLAY_SCROLLBAR=0

This command disables the overlay scrollbars and restores the traditional scrollbar appearance the next time that you launch the product.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Development","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Application Development","Platform":[{"code":"","label":""}],"Version":"5.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Developer Toolkit for Eclipse","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS4HGH","label":"IBM Mobile Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"5.0;5.0.0;5.0.0.1;5.0.0.2;5.0.0.3;5.0.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21615799