cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yota
Strollin' around
Status: New idea

In whiteboard or drawing sites like tldraw & pixiv sketch where we can use stylus from a drawing tablet, the pen pressure doesn't work in Firefox.
I've included screenshot of comparison of pen pressure test using https://openprocessing.org/sketch/591905/ done in Firefox(left) & Chromium(right).
At first I thought this was issue from application/site because I don't use Chromium but I was told it's Firefox issue & testing it myself on both browser proves that.
Please include support for pen pressure as I use Firefox everyday & don't want to rely on Chromium.

7 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

drinks
New member

I've been having this same issue whenever I try doing whiteboards or gartic phone with my friends- though instead of pen pressure, I just can't use my tablet/pen to draw at all on Firefox. My friend has the same issue, we always open a tab in Chrome just to do whiteboards/gartic. If they fix pen pressure, that might fix the general issue for drawing tablet users. What kind of tablet do you use? It could be depending on the type- both my friend and I use Huion (no screen).

gpgn
New member

Running into this issue when using Photoshop for Web. On Linux, it has always been a pain to use Adobe products, so it was great to hear recently that Photoshop is now available in the browser. Firefox has been my browser forever and remains my daily driver. Unfortunately, pen pressure in Firefox does not work which is critical when doing digital painting, so I now have to resort to Chrome to use Photoshop.

It would be wonderful to use Linux+Firefox+Photoshop ❤️

yota
Strollin' around

@drinksI use a Wacom tablet & it doesn't have a screen.

@gpgnI found a workaround for now which makes it possible to have pen pressure in Firefox.

If you're in linux use this command from terminal and log in again from your OS:
echo export MOZ_USE_XINPUT2=1 | sudo tee /etc/profile.d/use-xinput2.sh

I haven't tested it on windows but in about:config, you can set
dom.w3c_pointer_events.dispatch_by_pointer_messages
to true & see if it works for you after a restarting firefox.

I found out about them from Ask Ubuntu Forum  & SyncSketch Support page

Honestly I hope that Firefox team can make this work out of the box as there are more and more web applications now a days that make use of pen pressure.

gpgn
New member

@yotaAmazing, thanks a bunch!

Lappro
New member

I also needed the same change to get touch screen support working on my Linux Mint laptop.

Although I had this in a script I called after each firefox update:

sudo sed -i "s|Exec=firefox|Exec=env MOZ_USE_XINPUT2=1 firefox|g" /usr/share/applications/firefox.desktop

Now trying that suggestion in /etc/profile.d see if that is a bit more persistent.

I think it is worth it to make this value the default for firefox installations on linux. Although with limited understanding, I don't see any negatives for setting that value by default. Having touch screens work out of the box is much nicer than having to figure this stuff out.

DaveM
Making moves

Pardon the slightly off-topic of my comment, but it is related to users of Wacom tablets.  I found in Mozilla Thunderbird that drag & drop stopped working.  Once I unchecked "Use Windows Ink" in the Mapping tab of the Wacom Tablet Properties screen, drag & drop was again working.

Hope this helps.