Skip to content
Snippets Groups Projects

Add xdg-toplevel-drag protocol

Merged David Redondo requested to merge davidre/wayland-protocols:topleveldrag into main

This protocol allows applications to request that a window is moved at the same time as a drag operation - effectively dragging windows. With this features such as detaching a tab from a window and reattaching it, dragging tabs between windows or (un)dockable tool windows can be implemented. Based on the previously proposed extended drag protocol but trimmed down.

Signed-off-by: David Redondo kde@david-redondo.de

The previous proposal was !46 (closed),

Requirements for merging

Videos showing the Qt and KWin implementation in action:

topleveldrag qtworking

Chrome in KWin:

chromiumworking

Edited by Vlad Zahorodnii

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • Jonas Ådahl
  • David Edmundson marked the checklist item Implementations as completed

    marked the checklist item Implementations as completed

  • David Edmundson marked the checklist item Implementations as incomplete

    marked the checklist item Implementations as incomplete

  • David Redondo added 1 commit

    added 1 commit

    • 78c59934 - Add xdg-toplevel-drag protocol

    Compare with previous version

  • Wearing my Qt client hat and reviewing those patches, big +1. The draggable toolbars are a major wayland showstopper for a number of our important clients.

    The fact that this protocol is effectively proven in the real world in Chromium is also very encouraging.

    LGTM.

    • Resolved by David Redondo

      It looks like this finally gets QDockWidget working correctly on native Wayland? That's exciting! It would be great to be able to finally run Qt apps like Audacious natively.

      I don't see anyone from the wlroots project chiming in yet (@emersion?) but if/when a draft implementation in wlroots is available, I would be interested in adding compositor-side support in labwc.

      Edited by John Lindgren
    • Author Contributor
      Resolved by David Redondo

      How can I move this forward?

      We are getting close to a feature freeze in Qt for the version which we expect the initial Plasma 6 release to ship with , and it's a really important aspect that we want to fix in our Wayland session. The current state is broken and unusable for key applications in a way that some straight up disable running on Wayland.

      As it looks like not everyone is interested in such a protocol I would be also happy to move it to the ext namespace.

  • David Redondo changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading