Closed Bug 1973748 Opened 10 months ago Closed 9 months ago

Input range not working by the dot anymore

Categories

(Core :: Layout: Form Controls, defect, P3)

Firefox 141
All
Android
defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox140 --- unaffected
firefox141 --- fixed
firefox142 --- verified

People

(Reporter: andro.marian.v94, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

Make a Input Range and disable mouse click event over the trace.

input[type="range"] {
pointer-events: none;
}
input[type="range"]::-moz-range-thumb {
pointer-events: all;
}

Actual results:

Now I can't drag the dot to use the slider.

Expected results:

Previously, I can drag the dot to use the slider.

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

Component: General → Browser Engine
Component: Browser Engine → Layout: Form Controls
Product: Firefox for Android → Core
Attached file testcase.html (obsolete) —

Last good revision: 87e010ebac62c5bed9a41c64e63df5be347f65e6
First bad revision: 2a6675e95277b3795a774a09e529ae8566eee68e
Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=87e010ebac62c5bed9a41c64e63df5be347f65e6&tochange=2a6675e95277b3795a774a09e529ae8566eee68e

Keywords: regression
Regressed by: 1971450

:emilio, since you are the author of the regressor, bug 1971450, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

I was using that like a workaround when trying to scroll and touch it, it's changes the value.
Maybe that would be better to remove the touch-press to not change the value, and when the touch-release is made.
And when touch-press is and the scroll was made to disable the input-change.

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

This restores this thumb-drawing code1, but only for hit testing
(since we don't need it when painting the themed range to the screen).

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1971450

Severity: -- → S3
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9500139 [details]
Bug 1973748 - Let range thumb be hittable for events. r=tnikkel,#layout

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Regression fix.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively simple fix.
  • String changes made/needed: none
  • Is Android affected?: Yes
Flags: needinfo?(emilio)
Attachment #9500139 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Verified as fixed on the latest Firefox for Android nightly 142.0a1 from 7/17, with a Samsung Galaxy S24 (Android 15) device.

Flags: qe-verify+
Attachment #9500139 - Flags: approval-mozilla-beta? → approval-mozilla-release?
Attachment #9500139 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: