Closed Bug 1741035 Opened 3 years ago Closed 3 years ago

To have a feature like pinch zoom without the ability to reset it on a page easily is a design bug.

Categories

(Core :: Panning and Zooming, defect)

Firefox 96
defect

Tracking

()

RESOLVED DUPLICATE of bug 1660054

People

(Reporter: adrianh.bsc, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Steps to reproduce:

  1. On chrome, go to godbolt.org.
  2. For a trackpad, move the mouse cursor overtop a non-scrollable section of the page.
  3. With two fingers on the trackpad separate them and then bring them together. The contents of the browser window will zoom in/out.
  4. With two fingers on the trackpad, swipe up/down/left/right and you'll see the virtual window pan.
  5. Compile something that will dump a bunch of output to the output window, and perform steps 3 and 4. Zooming doesn't work but panning works conditionally when you get to the end of the control's scroll region. E.g. with the mouse cursor over top of the output window, swipe up, and it will scroll the control until you get to the end and then it will continued swipes will pan the virtual page.
  6. Move the mouse pointer overtop of the editor and perform steps 3 and 4. It'll not zoom and will scroll the edit control, but will not pan the virtual page, when getting to the end of the scroll region.
  7. On a touch screen, use the same two finger gestures as was done in steps 3 through 5, except place fingers on top of the control where the step describes where to place the mouse cursor.

Actual results:

Would not zoom in/out or scroll the virtual page.

Expected results:

I should have been able to pan when I get to the end of a scrollable control and zoom should have worked.

Either those gestures shouldn't be allowed to be remapped or there needs to be a reset pinch zoom, maybe another icon next to the zoom on the file menu.

I've also see a lot of ppl online who have issues with going into kiosk mode on Chrome not to be able to reset the zoom easily. Don't know about FF. So there's that too.

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

The page has wheel event handlers, so they're probably prevent defaulting the pinch zoom gestures from those wheel event handlers. The page design is unfortunate.

Ctrl-0 resets the pinch-zoom level to 100%.

A button to do it was considered but rejected by UX.

(In reply to adrian from comment #1)

I've also see a lot of ppl online who have issues with going into kiosk mode on Chrome not to be able to reset the zoom easily. Don't know about FF. So there's that too.

There's some discussion about behaviour related to zooming in kiosk mode in bug 1653959.

I'm going to close this as a duplicate of bug 1660054, which added the Ctrl-0 reset for pinch-zoom (and which contains the discussion about not adding a button). I don't think there's anything else to do here; please let me know if I've overlooked something.

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