Skip to content

Bad drag and drop behavior with mixed window types (xwayland and wayland) #6389

@Ghosthree3

Description

@Ghosthree3

Please fill out the following:

  • Sway Version:

    • sway version 1.6-96102184 (Jul 12 2021, branch 'master')
  • Description:

    • When an object is dragged from a wayland window onto an xwayland window, the xwayland window responds as if it knows an object is being held and about to be dropped onto it, but never catches the drop (releasing the mouse causes nothing to happen.
    • When an object is instead dragged from an xwayland window onto a wayland window the window has no response at all and if the object is dropped an xwayland window 'underneath' on another workspace can catch it instead.
    • When both window types match everything works as expected, both types.
    • To reproduce open Thunar in wayland and xwayland and firefox or chromium in the opposite (chromium is more responsive with the hover detection than firefox but the issue is the same for both) and drag a file from Thunar into the browser. A website like https://uguu.se/ will clearly react to drag and drop if you are lacking one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intendedxwaylandX11-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions