Closed Bug 1556976 Opened 5 years ago Closed 4 years ago

Zooming with ctrl-wheel_scroll works on text but not other areas inside a button

Categories

(Core :: DOM: Events, defect, P3)

66 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox71 --- wontfix
firefox72 --- wontfix
firefox73 --- fixed

People

(Reporter: Fanolian+BMO, Assigned: smaug)

References

(Regression)

Details

(Keywords: regression, reproducible, testcase)

Attachments

(2 files)

Attached file testcase.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Build ID: 20190604214415

Steps to reproduce

  1. Open the attached testcase.
  2. Hover cursor on button text. Zoom with ctrl-wheelscroll.
  3. Zoom by ctrl-wheelscrolling around the button text in the button.

Actual result

The page zooms if the cursor is on the button text but not on the area around the text.
This creates an undesired effect when the button (text) is pushed away by other elements. Cursor is no longer hovering on text and zoom stops abruptly.

As per bug 1199861, Disabling zoom-by-mousewheel on buttons is intended (bug 65355). This bug report is about the inconsistency of the zooming behaviour inside a button.

Expected result

Either the whole button is not zoomable by mouse wheel like before; or it is zoomable similar to Chrome/Edge. (I do not have Safari for testing.)

Last "good" Nightly (whole button non-zoomable): 2018-12-11
First "bad" Nightly (zoomable on button text): 2018-12-12
pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ac7f3beb633340c6b3fea25059e8b8aa52b5fc8a&tochange=6f21533f643edc0729216fcc1a2fd6c1b638e536

Further bisection:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f6eebcc14c22762f521fb567a9588963b8720592&tochange=61570c16c2d564c24fab36713fb169c4144453e9

The range includes bug 1089326, bug 1498383, bug 1511388, and bug 1512259.
Marking this bug report as a regression by bug 1089326 as it is the most likely one.

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1089326
See Also: → 1199861

This is a regression in 66, wontfix for 67.

Status: UNCONFIRMED → NEW
Ever confirmed: true

This looks like a regression of bug 1089326, maybe Olli has some idea what goes wrong here.

Flags: needinfo?(bugs)

Too late for a fix in 68 but we could still potentially take a patch for 69/70.

Priority: -- → P2

In a way this is a regression from bug 65355

And disabling zoom "works" only in some rare cases, like when mouse is over the border of input element or textarea etc.

Priority: P2 → P3

(I have a patch for this, just need to find time to write test)

Assignee: nobody → bugs
Flags: needinfo?(bugs)

(trying to push the patch to tryserver, but './mach try chooser' is broken for me atm. clobbering and bootstrapping and rebuilding....)

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f7039ca819d
remove an old, mostly non-working hack to prevent zoom on form controls, r=masayuki
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

Given that this isn't a new issue, I'm not convinced we need to worry about uplifting this fix to Beta for Fx72, but feel free to nominate if you feel otherwise.

Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: