Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DND from wayland to xwayland window ignores XdndProxy property #8994

Open
3 of 6 tasks
patroclos opened this issue Jan 8, 2025 · 0 comments
Open
3 of 6 tasks

DND from wayland to xwayland window ignores XdndProxy property #8994

patroclos opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@patroclos
Copy link

Already reported ? *

  • 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

  1. Create a toplevel X window and a subwindow
  2. Set XdndAware on the subwindow
  3. Set XdndProxy on the toplevel window pointing to the subwindow
  4. Set XdndProxy on the subwindow pointing to itself
  5. Validate drag from xwayland source gets reccognized
  6. Try dragging from wayland source

Attach not paste

  • 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

  • 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

@patroclos patroclos added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant