Closed Bug 1815673 Opened 3 years ago Closed 3 years ago

Drag scrolling a menupopup also selects text in parent window

Categories

(Firefox :: Menus, defect)

Firefox 110
Desktop
Unspecified
defect

Tracking

()

RESOLVED DUPLICATE of bug 1815370

People

(Reporter: welpy-cw, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Open about:preferences, click on font selection menu and keep mouse button pressed down. When the mouse pointer leaves the popup menu while drag selecting, text outside of the menu gets selected too (see video). This didn't happen before this regression was introduced:

 8:59.59 INFO: No more integration revisions, bisection finished.
 8:59.59 INFO: Last good revision: 0c989b2bcd7882a9e7106e7879ab8933c2e09071
 8:59.59 INFO: First bad revision: 47c002d3637247e71ee901f32421deaecc9d8ea3
 8:59.59 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0c989b2bcd7882a9e7106e7879ab8933c2e09071&tochange=47c002d3637247e71ee901f32421deaecc9d8ea3
Flags: needinfo?(emilio)

I already tried to simply replace the deprecated setCaptureAlways() and releaseCapture() calls in toolkit/content/widgets/menupopup.js with setPointerCapture() etc., but then drag scrolling wouldn't work at all.

Name 	Firefox
Version 	111.0a1
Build ID 	20230207043534
Distribution ID 	
Update Directory 	
/home/me/source/obj-x86_64-pc-linux-gnu/dist/bin
Update History 	
Update Channel 	default
User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
OS 	Linux 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21)
OS Theme 	Adwaita / Adwaita
Application Binary 	/home/me/source/obj-x86_64-pc-linux-gnu/dist/bin/firefox-bin

Same behavior in the latest Win64 nightly.

Keywords: regression
Regressed by: 1805414

Sorry, I didn't see this has already been reported just yesterday.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1815370
Resolution: --- → DUPLICATE
Flags: needinfo?(emilio)

(No worries, best to have it on file twice than zero times :))

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: