Package: firefox-esr
Version: 115.6.0esr-1
Severity: normal
Tags: patch

Hello,
       touchscreen is common in modern laptops. Currently the default
behavior of firefox-esr is "point and select text".
The expected 1-finger scroll and 2-fingers zoom-in gestures of the mobile
app are not activated in the desktop version of firefox.

This is easily corrected by setting the global variable MOZ_USE_XINPUT2 to 1.
In my opinion the expected touch gestures should be the default behavior of
firefox-esr in laptops, and this can be obtained by adding a file
/etc/environment.d/50firefox-esr.conf
(or some other filename that Maintainer finds more suitable)
containing this single line:
MOZ_USE_XINPUT2=1

I don't expect that this addition can do any harm to non-touchscreen
installations, but please make a quick test before deployment.

For reference, see
https://superuser.com/questions/1151161/enable-touch-scrolling-in-firefox

Thanks in advance!
All the best,
                        Nick



-- Package-specific info:


-- Addons package information

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing'), (50, 'stable'), (5, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages firefox-esr depends on:
ii  debianutils          5.14
ii  fontconfig           2.14.2-6
ii  libasound2           1.2.10-3
ii  libatk1.0-0          2.50.0-1
ii  libc6                2.37-12
ii  libcairo-gobject2    1.18.0-1
ii  libcairo2            1.18.0-1
ii  libdbus-1-3          1.14.10-3
ii  libdbus-glib-1-2     0.112-3
ii  libevent-2.1-7       2.1.12-stable-8
ii  libffi8              3.4.4-2
ii  libfontconfig1       2.14.2-6
ii  libfreetype6         2.13.2+dfsg-1
ii  libgcc-s1            13.2.0-7
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-3
ii  libglib2.0-0         2.78.3-1
ii  libgtk-3-0           3.24.39-1
ii  libnspr4             2:4.35-1.1
ii  libnss3              2:3.96.1-1
ii  libpango-1.0-0       1.51.0+ds-3
ii  libstdc++6           13.2.0-7
ii  libvpx8              1.13.1-2
ii  libx11-6             2:1.8.7-1
ii  libx11-xcb1          2:1.8.7-1
ii  libxcb-shm0          1.15-1
ii  libxcb1              1.15-1
ii  libxcomposite1       1:0.4.5-1
ii  libxdamage1          1:1.1.6-1
ii  libxext6             2:1.3.4-1+b1
ii  libxfixes3           1:6.0.0-2
ii  libxrandr2           2:1.5.2-2+b1
ii  libxtst6             2:1.2.3-1.1
ii  procps               2:4.0.4-2
ii  zlib1g               1:1.3.dfsg-3

Versions of packages firefox-esr recommends:
ii  libavcodec60  7:6.1-5

Versions of packages firefox-esr suggests:
ii  fonts-lmodern          2.005-1
ii  fonts-stix [otf-stix]  1.1.1-4.1
ii  libcanberra0           0.30-11
ii  libgssapi-krb5-2       1.20.1-5
ii  pulseaudio             16.1+dfsg1-2+b1

-- no debconf information

Reply via email to