Review 14.3 Merged

97421[BUGFIX] Properly recognize Ctrl+Drag and Drop on Windows Chrome

Garvin Hicking CR +2 V +2 Normal +88 −10 updated 11/09/26, 14:11

Commit message

Chrome on Windows presets `dropEffect` to "move" in dragenter and
dragover events, even while the Ctrl key is held.

The copy detection returned early on that value and never evaluated
the pressed modifier, so content elements in the page module and
pages in the page tree were always moved instead of copied.

The copy modifier key now takes precedence over a preset dropEffect. A
dropEffect of "copy" is still honored, so user agents can continue to
express the copy intention natively, and the intention determined
during dragover is carried over to the drop event.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 3

Files 3

Review log 34

  1. Garvin Hicking commented on patch set 1 11/08/26, 20:08

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/08/26, 20:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113606

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 11/09/26, 14:11

  4. Garvin Hicking merged patch set 2 11/09/26, 14:11