hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.41k stars 899 forks source link

Freerdp crash when copy in freerdp after hyprland upgrade to 0.41 #6804

Open milkpuff opened 4 months ago

milkpuff commented 4 months ago

Regression?

No

System Info and Version

Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886

flags: (if any)

System Information: System name: Linux Node name: archlinux Release: 6.9.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information: 30:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c9) (prog-if 00 [VGA controller])

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

After hyprland upgrade 0.41, my xfreerdp win10 with clipboard rediction, would crash(stuck) when copy in xfreerdp, and remote text failed to be copied to local clipboard. wl-paste --watch cliphist store runs background. If I don't run wl-paste --watch, xfreerdp copy runs normally, remote text can also be copied to local clipboard. There's something wrong between xfreerdp clipboard rediction and local clipboard or wl-paste --watch. At first I commited issue to freerdp project: freerdp issue link. Then I commited issue to wl-clipboard project: wl-clipboard issue link Unfortunately, it seems not the 2 project's bug. Hope you can have a look at these issue for more information. At last I downgrade hyprland to 0.40 and found it doesn't have this problem. So I look for help here.

How to reproduce

Hyprland 0.41 wl-clipboard 2.2.1 Run wl-paste --watch cliphist store Run xfreerdp3 /f /u:xxxx /p:xxxx +clipboard /v:192.168.50.180 Copy any text in xfreerdp. Then xfreerdp would get stuck.

Crash reports, logs, images, videos

No response

vaxerski commented 3 months ago

can you bisect

also try on -git

milkpuff commented 3 months ago

@vaxerski

can you bisect

I test it and result is: 121d3a72137d4780602cf245704615f63357ea22 is the first bad commit

vaxerski commented 3 months ago

is xfreerdp an X11 app? sounds like it

milkpuff commented 3 months ago

is xfreerdp an X11 app? sounds like it

Yes.

vaxerski commented 3 months ago

then why should it work on wayland?

milkpuff commented 3 months ago

then why should it work on wayland?

It works on Xwayland. Something goes wrong with the clipboard redirection. So which project do you think I should commit issue to 😄.

vaxerski commented 3 months ago

it's likely a hyprland issue but I have little interest in fixing it atm as I have more important things than supporting some old software still running on X