Closed Bug 2046911 Opened 11 days ago Closed 7 days ago

[Wayland] Second D&D fails - only one wl_data_device is supported by compositors

Categories

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

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox151 --- unaffected
firefox152 --- unaffected
firefox153 + fixed
firefox154 + fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(4 files, 1 obsolete file)

Repeated D&D tab re-order fails.

Flags: needinfo?(stransky)
No longer blocks: 2025329
Flags: needinfo?(stransky)
Keywords: regression
Regressed by: 2025329
Flags: needinfo?(stransky)

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

Also dragging to bookmark or existing window fails for me, both Wayfire and KDE.

Looks like all compositors violate Wayland protocol somehow. KWin uses only first data_device and ignores any other and Mutter alternates active data device according to focus/device registration.

We may add a pref to fall back to Gtk D&D until it fixed or decided what to do.
Firefox Wayland D&D is needed for xdg-toplevel D&D implementation and perhaps also for better D&D handling.

Duplicate of this bug: 2047217

I may also try to submit compositor patches for that.

Duplicate of this bug: 2047409
Assignee: nobody → stransky
Status: NEW → ASSIGNED
Flags: needinfo?(stransky)
Duplicate of this bug: 2047470
Pushed by ctuns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/83364c5d05db https://hg.mozilla.org/integration/autoland/rev/6e3fac7b7b94 Revert "Bug 2046911 [Wayland] Update nsDragSessionGtk to work on Wayland by default r=emilio" for causing build bustages in nsWindow.cpp

Backed out for causing build bustages

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:X:21: error: no member named 'widget_wayland_native_data_session_AtStartup' in namespace 'mozilla::StaticPrefs'
Flags: needinfo?(stransky)
Flags: needinfo?(stransky)
Severity: -- → S2
Priority: -- → P2
Attachment #9596891 - Attachment is obsolete: true

Backed out for causing bp-nu bustages
Backout Link
Push with failures
Failure Log
Failure line /builds/worker/checkouts/gecko/widget/gtk/nsDragServiceGtk.cpp:X:9: error: no member named 'GdkIsWaylandDisplay' in namespace 'mozilla::widget'; did you mean 'GdkWaylandDisplay'?

Flags: needinfo?(stransky)
Flags: needinfo?(stransky)
Attachment #9597746 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Broken D&D on Linux/Wayland.
  • Code covered by automated testing?: no
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Can't be worse.
  • String changes made/needed?: none
  • Is Android affected?: no
Attachment #9597747 - Flags: approval-mozilla-beta?
Blocks: linuxdad
Summary: [Wayland] Second D&D fails → [Wayland] Second D&D fails - only one wl_data_device is supported by compositors

File follow up as Bug 2047823.

See Also: → 2047823
Flags: needinfo?(stransky)
Attachment #9597747 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9597746 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(stransky)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: