Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617344

Summary: www-client/firefox: activate xinput2 by default
Product: Gentoo Linux Reporter: Jonas Jelten <jj>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, jj, krinpaus
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1207700
See Also: https://bugs.gentoo.org/show_bug.cgi?id=715604
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Jelten 2017-05-03 12:54:06 UTC
The MOZ_USE_XINPUT2=1 version brings real smooth scrolling and touchscreen input, but is barely known.
https://bugzilla.mozilla.org/show_bug.cgi?id=1207973

It should be enabled by default, there's no drawback.
https://www.x.org/wiki/guide/extensions/#index2h2

The simplest solution could be to create /etc/env.d/80firefox with MOZ_USE_XINPUT2=1
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2017-05-03 23:20:18 UTC
...i'm going to sit on this one and think a while.  I would generally prefer not to install env.d/ entries for things like this, and instead leave it up to the user to do in their own profiles.  That said there may be build-time options or 'pref' options that can be leveraged to take care of this, too.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2017-05-04 21:22:25 UTC
FYI, this is the upstream tracker bug related to enabling xinput2 by default:

https://bugzilla.mozilla.org/show_bug.cgi?id=1207700
Comment 3 David Heidelberg (okias) 2019-10-14 20:32:40 UTC
(In reply to Ian Stakenvicius from comment #2)
> FYI, this is the upstream tracker bug related to enabling xinput2 by default:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1207700


Generally I don't care much, since I'm already on MOZ_ENABLE_WAYLAND=1 .

Since proper Wayland is probably much closer, than closing all XI2 issues (same developer assigned, so maybe could be better keep him Wayland focused), we could eventually close this issue?

MOZ_USE_XINPUT2 could be set on Gentoo side, since all Gentoo-relevant XI2 bugs are solved, but WON'T FIX is also solution for slowly fading Xorg.
Comment 4 Larry the Git Cow gentoo-dev 2020-03-30 11:46:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53b263fb37b6029ac05878c70a11eca8513a60b

commit f53b263fb37b6029ac05878c70a11eca8513a60b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-29 23:43:09 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-30 11:45:10 +0000

    www-client/firefox-bin: enable MOZ_USE_XINPUT2
    
    Closes: https://bugs.gentoo.org/617344
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox-bin/files/firefox-bin.sh | 5 +++++
 1 file changed, 5 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68279af6b5e48cb6ddfcae07a645d9dce1bf8a4b

commit 68279af6b5e48cb6ddfcae07a645d9dce1bf8a4b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-29 23:40:56 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-30 11:45:10 +0000

    www-client/firefox: enable MOZ_USE_XINPUT2
    
    Closes: https://bugs.gentoo.org/617344
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/files/firefox.sh | 5 +++++
 1 file changed, 5 insertions(+)