Closed Bug 1735744 Opened 3 years ago Closed 2 years ago

Drag and drop inside about: pages treated as an external navigation

Categories

(Core :: Widget: Gtk, defect, P5)

Firefox 94
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- wontfix
firefox95 --- wontfix

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file drag-about-navigate.log (deleted) —

STR:

  1. Start with MOZ_ENABLE_WAYLAND=1 on Ubuntu 21.04.
  2. Visit about:support.
  3. Select a single word and drag it across the page.

Expected:

Cursor icon shows a grab hand without arrows and drop does nothing.

Actual:

Cursor grab icon shows arrows, dropping navigates as if text was a website. This navigation mode normally only occurs when dragging text from outside the page, like the address bar or an external application.

On xwayland the behavior is different, it gets stuck in navigation mode only after dragging over the address bar.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=5d74bd11ae89329bc1eb8d437af89eb423e21ab0&tochange=11250511cdb8bfab7f1b061131a50335e9682bd0

Regressed by Bug 1730203.

Blocks: linuxdad
Priority: -- → P2

Yes, I can reproduce it, Thanks.

It's because we set "drag accept" by default on Wayland as we anticipate that and leave D&D events to change it. Looks like about:support page does not set D&D status at all and we're in the initial 'accept' state here.

Priority: P2 → P3
Priority: P3 → P5
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 2 years ago
Depends on: 1767460
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: