Closed Bug 1918858 Opened 5 months ago Closed 3 months ago

after updating to firefox 130, when I zoom in a tab (ctrl + scrollwheel), it zooms the previously visited tab instead of the current one

Categories

(Core :: Panning and Zooming, defect)

Firefox 130
defect

Tracking

()

RESOLVED DUPLICATE of bug 1917488

People

(Reporter: salah.mak, Unassigned)

References

Details

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

Steps to reproduce:

  • open 2 tabs (A and B)
  • visit tab A
  • visit tab B
  • zoom with ctrl + wheel
  • nothing happens in tab B
  • go to tab A
  • find that the zoom was applied to tab A

Actual results:

zoomed tab A.

Expected results:

zoom tab B.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Hey salahmak,

How often can you reproduce this? Does this occur every time you attempt to zoom, or does it happen less frequently?

Flags: needinfo?(salah.mak)

Also, getting a regression range here would be very helpful - if you're willing to help us, we have a tool to try to make regression hunting easier: https://mozilla.github.io/mozregression/quickstart.html

Hello Mike,

I can reproduce this everytime.

Also to add, in order to avoid this bug, after switching to a tab I wait a bit before zooming (like 30 seconds or so) and it zooms correctly in the current tab.

Flags: needinfo?(salah.mak)

Hi,

I think I'm experiencing the same bug, so I'll add some more details:

  1. it only happens when zooming via ctrl + trackpad/touchpad and using MOZ_USE_XINPUT2=1, but not when using a regular mouse
  2. I also first thought it works again after a delay but what actually makes it work is scrolling on the current tab without ctrl pressed. After that zooming works again

@salahmak maybe you can confirm if this applies to your bug?

I can also reproduce this every time.

So in short: Always the last tab you scrolled in is being zoomed. This also holds true when skipping over multiple tabs without scrolling. Getting it unstuck by scrolling (moving up or down with two fingers) also works on pages that aren't large enough to actually move, e.g. example.org.

Hello @Samuel

I confirm that I'm using ctrl + trackpad to zoom under wayland (Gnome).
Currently I don't have a spare mouse to try.

I have tried the scrolling workaround you suggested and it worked for me, so I guess it's the exact same bug we are facing.

This is surprising, as a different input method is bringing a different result. May this something in the platform support for those input?
This is a guess, we don't know if it's a widget bug, or DOM Events.

Component: Tabbed Browser → Widget: Gtk
Flags: needinfo?(stransky)
Product: Firefox → Core

I think it's probably related to the overscrolling effect which works on my device also since v130

Flags: needinfo?(stransky)
Duplicate of this bug: 1925264

(In reply to Samuel Mezger:samuel.mezger from comment #8)

I think it's probably related to the overscrolling effect which works on my device also since v130

Moving to Panning and Zooming to see if they have an idea what's going wrong here.

Component: Widget: Gtk → Panning and Zooming

Sounds like bug 1917488, which has a regression window.

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