Open Bug 1601850 Opened 5 years ago Updated 7 months ago

Add an about:config option to force-enable XInput2

Categories

(Core :: Widget: Gtk, task, P5)

task

Tracking

()

People

(Reporter: botond, Unassigned)

References

Details

Attachments

(1 obsolete file)

Users currently have to use the environment variable MOZ_USE_XINPUT2=1 to force-enable XInput2 to get touch event support, until XInput2 is enabled by default in bug 1207700.

Some users might find it easier to flip an about:config option than to set an environment variable. I suggest we add one.

Perhaps it be named browser.forcetouch? Just a thought.

Assignee: nobody → botond

I named the pref widget.gtk.xinput2.force-enable, to be consistent with our existing pref naming conventions, and describe more specifically what it does.

Attachment #9115051 - Attachment is obsolete: true

I discovered during the review that this is not nearly as easy as I thought, because about:config options are stored in the profile, but GTK needs to be initialized before we know what the profile is (because we may need to show a profile selection dialog to choose the profile depending on how Firefox was started).

It's probably still possible to do, but would require a lot of effort (refactoring the initialization logic and such) which does not seem worth it right now. I'm going to mark the bug as a P5 for now.

Priority: -- → P5
Assignee: botond → nobody
Severity: normal normal → S3 S3
Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: