Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139126

Wayland QPA: Evaluate dropping direct drag meddling in drop handling

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • QPA: Wayland
    • None
    • Linux/Wayland

      During a drag and drop we have the source which started the drag and the target which is being dragged into.

       

      In all the target handling codepaths we have two codepaths.

       - If we are the app that started the drag, we cut wayland out and update the drag state directly

       - Responding through wayland normally as if the drag came from another client

      Doing only the latter would simplify code a lot, be generally safer and keep the compositor in the loop.

       

      The reason we have two paths is 10 years ago the state of drag and drop on Wayland was quite bad and we wanted to make the common case of internal drags not broken. On all desktops with data_device_v3 the state is now fine. 

      The part that needs most evaluation is Qt's own wayland compositor which isn't as up to date as most desktops.

        For Gerrit Dashboard: QTBUG-139126
        # Subject Branch Project Status CR V

            davidedmundson David Edmundson
            davidedmundson David Edmundson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change