LibreOffice is developing new gesture support

LibreOffice has supported input gestures in the past, such as swipe and long-press based on the GTK front-end , and additional features specific to Android and iOS. For now, it appears that this cross-platform open-source office suite is working on better gesture support.

According to LibreOffice's Git commits , developers have recently submitted infrastructure for rotate and zoom gestures . This infrastructure is being added to the LibreOffice Visual Class Library (VCL, Visual Class Library) so it can run in supported toolkits. Zoom gestures work in a uniform way across the GUI toolbox.

The developer described the patch as follows:

This change implements the internal infrastructure to pass zoom gestures from the underlying source code to GUI widgets. The API follows the established begin-update-update-...-end event convention used on various platforms.

As long as the underlying source code at the bottom of the architecture exposes enough information, the API should be sufficient to support touchpad and touchscreen gestures. Hardware drivers often expose already recognized touchpad gestures, and a touchscreen gesture is a moving set of touch points that the application needs to figure out on its own. Many toolkits recognize both and provide a unified higher-level interface that can be used.

Rotation gestures are implemented similarly to zoom gestures under the hood, and are equally applicable to touchpad and touchscreen gestures.

LibreOffice 7.4 was released earlier this month and is still in the early stages of the next release cycle. I believe the next version will bring many updates in gesture support, among other features.

Guess you like

Origin www.oschina.net/news/208303/libreoffice-new-gestures