Closed Bug 1766042 Opened 4 years ago Closed 4 years ago

Firefox snap unable to use pinch to zoom on Wayland Ubuntu 22.04

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 99
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: umayr23, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Install the Firefox snap on Ubuntu 22.04 (should be preinstalled), switch to the beta channel (snap refresh firefox --beta) as this uses the Wayland backend (stable currently uses XWayland). Open Firefox and attempt to use pinch to zoom gestures.

Actual results:

The content of webpages fails to zoom in when the pinch to zoom gesture is used. This previously was working on Ubuntu 22.10 using the Firefox snap.

Note this did apply to the stable channel version 99 before it was changed from using Wayland to XWayland.

Expected results:

The gesture should have been recognised and the content of the web page should have zoomed in.

(In reply to Umayr Saghir from comment #0)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Install the Firefox snap on Ubuntu 22.04 (should be preinstalled), switch to the beta channel (snap refresh firefox --beta) as this uses the Wayland backend (stable currently uses XWayland). Open Firefox and attempt to use pinch to zoom gestures.

Actual results:

The content of webpages fails to zoom in when the pinch to zoom gesture is used. This previously was working on Ubuntu 21.10 using the Firefox snap.

Note this did apply to the stable channel version 99 before it was changed from using Wayland to XWayland.

Expected results:

The gesture should have been recognised and the content of the web page should have zoomed in.

Correction: Wrote "This previously was working on Ubuntu 22.10" in the original comment. Obviously meant 21.10 Impish Indri.

Blocks: snap
Priority: -- → P3

Not sure if something changed recently within Firefox, but Pinch to zoom is working again for me.

Snapd: 2.55.5 (revision 15904)
Firefox: 102.0b2-1 (revision 1415 (beta channel))

It looks like the difference might be in using the Wayland backend (default in the beta and edge channels), versus being an XWayland client (default in the stable channel).

Can you switch back to the stable channel, and test again with MOZ_ENABLE_WAYLAND=1 ?

Flags: needinfo?(umayr23)

(In reply to Olivier Tilloy from comment #4)

It looks like the difference might be in using the Wayland backend (default in the beta and edge channels), versus being an XWayland client (default in the stable channel).

Can you switch back to the stable channel, and test again with MOZ_ENABLE_WAYLAND=1 ?

The snap was previously failing to recognise the gesture with the Wayland backend on the beta channel a few weeks back (switched to beta roughly around the time stable was made to default to XWayland).

Running MOZ_ENABLE_WAYLAND=1 firefox when using the stable channel version now recognises the gesture.

Flags: needinfo?(umayr23)

Looks like we can consider this FIXED ? Please Reopen if that is not the case.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.