Closed Bug 1773811 Opened 3 years ago Closed 3 years ago

Autoscroll does not scroll properly

Categories

(Core :: Widget: Win32, defect)

Firefox 103
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 --- verified

People

(Reporter: alice0775, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file)

Steps to reproduce:

  1. Setting text bigger to other than 100% in Ease of Access of Windows settings.
  2. Open any page that can be scrolled
  3. Middle click to start autoscroll

Actual results:
Autoscroll does not scroll properly. Scroll with wrong direction.

Expected results:
Autoscroll scrolls properly

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=cb7c4d0b946209a2a3b05cd5a35e31fadaf55135&tochange=6e1cbabce0af992a8ff5158959ac9dd69bea23a7

Has Regression Range: --- → yes
Has STR: --- → yes

:emilio, since you are the author of the regressor, bug 1773342, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

On my Windows 10, Make text bigger has to be ≥105% in order to reproduce the bug.

1920x1080 monitor; display scaling 100%

In bug 1773342, I made OS text zoom behave like layout full zoom on all
pages (including the main browser page).

This means that getting CSS pixels from the browser page and turning
them to LayoutDevice pixels by multiplying by GetDefaultScale() isn't
right.

However, the caller already has the right device pixel values, so just
use them.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/348eb31da96b Fix APZ autoscroll coordinates. r=tnikkel
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Flags: qe-verify+

I managed to reproduce this issue on a 2022-06-11 Nightly build on Windows 10 64-bits; Verified as fixed on Firefox 103.0b6(build ID: 20220707185904) and Nightly 104.0a1(build ID: 20220707214915) on Windows 10 64-bits.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: