Bug 7992 - Clipping (and mouse panning) incorrectly enabled on non-touch Firefox
Summary: Clipping (and mouse panning) incorrectly enabled on non-touch Firefox
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-27 12:44 CEST by Pierre Ossman
Modified: 2025-01-15 10:06 CET (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-09-27 12:44:15 CEST
With recent versions of Firefox, Web Access will enable clipping and switch to mouse panning, even though the platform has scrollbars. Mouse panning is only supposed to be used on platforms with non-functional scrollbars (e.g. Android).

This is because Firefox has recently enabled "overlay" scrollbars. I.e., scrollbars that hide when not used. This breaks our detection of functional scrollbars, as it is based on the fact that they occupy space.

Upstream bug report:

https://github.com/novnc/noVNC/issues/1678

Firefox doesn't seem too sympathetic, so it seems we have to figure out a workaround.

Note that this currently affects Linux and Windows 11. A similar issue has been around for a while on macOS, but we had already managed that.
Comment 1 Pierre Ossman cendio 2024-01-23 11:17:13 CET
Still an issue with Firefox 121.
Comment 2 Samuel Mannehed cendio 2025-01-07 10:34:47 CET
This seems to have been fixed upstream in noVNC:

https://github.com/novnc/noVNC/pull/1735

A quick test of noVNC master in Firefox 133 on Fedora 41 doesn't show the clipping-hand in the toolbar.
Comment 3 Tobias cendio 2025-01-15 10:06:56 CET
Patched the pr in comment #2 onto ThinLinc revision r41502 (build #3884) and tested on combinations

Fedora 41 / Firefox 134 / Chrome 131
iOS 18.2 / Firefox 134
Android 13 / Firefox 134

Seems to be working as intended. Mouse panning -- the hand symbol -- isn't available on non-touch systems but properly appears on iOS and Android. Furthermore the functionality is disabled (greyed out) when redundant i.e. the screen has proper size and cannot be panned, and activates/deactivates according to changes in the resolution.

Note You need to log in before you can comment on or make changes to this bug.