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.65k stars 901 forks source link

Unexpected window swallowing #6723

Open greed-d opened 4 months ago

greed-d commented 4 months ago

Regression?

Yes

System Info and Version

System/Version info ```sh 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: bael Release: 6.9.6-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:48:59 +0000 GPU information: 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c5) (prog-if 00 [VGA controller]) os-release: NAME="EndeavourOS" PRETTY_NAME="EndeavourOS" ID="endeavouros" ID_LIKE="arch" BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://endeavouros.com" DOCUMENTATION_URL="https://discovery.endeavouros.com" SUPPORT_URL="https://forum.endeavouros.com" BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation" PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2" LOGO="endeavouros" plugins: ```

Description

This is my window swallow configuration

misc {
  enable_swallow = true
  swallow_regex = ^(Alacritty|[Nn]eovide)$
}

In first instance, it's an expected behaviour of neovide swallowing the terminal, but when I try launching the markdown preview the neovide also disappears only leaving the markdown preview

how would I exclude that?

How to reproduce

[!NOTE] Same behavior is noticed when trying to open peek.nvim via neovim in terminal

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/58597122/10cdc157-7145-4518-af06-26bf33c98de7

greed-d commented 4 months ago

Previously alacritty didn't get swallowed by peek.nvim when opening via neovim in alacritty