Hyprland
Hyprland copied to clipboard
DND from wayland to xwayland window ignores XdndProxy property
Already reported ? *
- [X] I have searched the existing open and closed issues.
Regression?
Not a regression - it's an old bug
System Info and Hyprland Version
System/Version info
Hyprland 0.46.2 built from branch at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887 (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
aquamarine 0.5.1
hyprlang 0.6.0
hyprutils 0.3.0
hyprcursor 0.1.11
hyprgraphics 0.1.1
flags set:
debug
System Information:
System name: Linux
Node name: archdome
Release: 6.12.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 14:31:57 +0000
GPU information:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070] [10de:2484] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module 565.77 Wed Nov 27 23:33:08 UTC 2024
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
Description
No DND events are delivered to xwayland subwindows that are referenced by a XdndProxy property on the toplevel window when the drag-source is a wayland window. This type of window-setup is common in DAW plugin-UIs that want to accept audio-samples via DND for example.
Dragging from an xwayland window to such a target works.
I did a quick search through the codebase and didn't find any usage of the XdndProxy atom, so this is probably a straightforward fix.
How to reproduce
- Create a toplevel X window and a subwindow
- Set
XdndAwareon the subwindow - Set
XdndProxyon the toplevel window pointing to the subwindow - Set
XdndProxyon the subwindow pointing to itself - Validate drag from xwayland source gets reccognized
- Try dragging from wayland source
Attach not paste
- [X] I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam
Checklist of files to include below
- [X] Hyprland config -
hyprctl systeminfo -c(always include) - [ ] Crash report (always include in case of crash)
- [ ] Video (always include in case of a visual bug)
- [ ] Logs (might contain useful info such as errors)
Additional info & File uploads
No response
ah yes..