Closed Bug 1636061 Opened 4 years ago Closed 4 years ago

rollup popups on direct manipulation event

Categories

(Core :: Widget: Win32, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(1 file)

No description provided.
Depends on: 1630912

Direct Manipulation uses a different input model from processing messages that Windows sends.

Windows asks us if we want to start a direct manipulation session by sending us the DM_POINTERHITTEST message, and we call SetContact if we do. After that Windows won't send us messages until the user ends the gesture. Instead Direct Manipulation will update a transform (that's invisible to the user). We pull that transform and turn it into pan and pinch gestures.

So DealWithPopups is not called and popups don't get rolled up. Instead I call it in the function where we send all events that come from dmanip.

Depends on D73220

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/804dc7924101
Rollup popups on direct manipulation event. r=NeilDeakin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Regressions: 1647546
Blocks: 890878

What was the problem this bug was trying to solve? i.e. why do we want to roll up popups on dmanip events at all?

Flags: needinfo?(tnikkel)

Ah, I see that without this patch scrolling the page hosting an open select popup leaves the popup open and "detaches" it from where it's supposed to be. I guess that's what this patch was supposed to fix. So refining my needinfo to confirm this, and to check if there any other issues you noticed that were fixed by this patch.

Yes, that scrolling and pinch zooming leaves open select dropdowns detached from the triggering content.

Flags: needinfo?(tnikkel)

Did the fix not land in 80 stable? I have this bug and direct manipulation is enabled by default.

(In reply to Poopooracoocoo from comment #7)

Did the fix not land in 80 stable? I have this bug and direct manipulation is enabled by default.

Direct manipulation is not enabled by default in stable, it's only enabled in nightly.

You're right. I only experienced this bug when direct manipulation was enabled. I recently refreshed Firefox and saw this bug so I thought it was enabled as I hadn't gone into about:config since the refresh (until now, to see if it was enabled or not). I'm not sure what happened :/

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

Attachment

General

Created:
Updated:
Size: