Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Application started with exec-once in special workspace will exit when make it pseudo

Open AsPulse opened this issue 1 year ago • 2 comments

Hyprland Version

System/Version info
Hyprland, built from branch  at commit v0.36.0  ().
Date: 2024-02-05
Tag: 

flags: (if any)


System Information:
System name: Linux
Node name: aspulse-nixos
Release: 6.6.17-xanmod1
Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240224.9840d42"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"


Bug or Regression?

Bug

Description

The problem occurs when I try to pseudo a window that was automatically launched in a special workspace by exec-once. There are two patterns: one in which Hyprland crashes and the other in which the application exits as is.

  • chromium --enable-features=UseOzonePlatform --ozone-platform=wayland ... ~~Hyprland Crash~~ -> exited
  • vivaldi --enable-features=UseOzonePlatform --ozone-platform=wayland ... ~~Hyprland Crash~~ -> exited
  • chromium ... exited
  • obs ... exited
  • keepassxc ... exited
  • mongodb-compass ... exited

~~As far as we can tell from our current research, the crash involving Hyprland is with Chromium-based browsers + Wayland.~~ This is fixed at v0.36.0.The application that was crashing now exitting.

In addition, the problem did not occur in the following cases

  • When an application was manually launched, manually moved to a special workspace, and then set to pseudo.
  • When an application was launched automatically, but the window was once set to floating, then set back to floating, then set to pseudo
  • When an application was launched automatically, but was not specified as a special workspace, and was launched in the normal workspace, and then set to pseudo.

(I will add more information as I found. I am a student studying English, so sorry if there are any unnatural parts in my English!!!)

How to reproduce

  1. Install chromium in advance.
  2. Configure your hyprland.conf like below:
exec-once = [workspace special:chromium silent] chromium --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = ALT, 1, togglespecialworkspace, chromium
bind = SUPER, P, pseudo
general {
  layout = dwindle
}
dwindle {
  pseudotile = yes
  preserve_split = yes
}
  1. Launch hyprland, ALT-1 to switch special:chromiumworkspace and see chromium window.
  2. SUPER-P to make it pseudo.
  3. Hyprland will crash...

Crash reports, logs, images, videos

~/.hyprland/hyprlandCrashReport56725.txt

AsPulse avatar Feb 28 '24 01:02 AsPulse

I believe this is fixed in 0.36.0 / git.

vaxerski avatar Feb 28 '24 02:02 vaxerski

I believe this is fixed in 0.36.0 / git.

Thank you! I tried 0.36.0. The problem of crashing involving Hyprland has been resolved, but the application is still terminating as before. I have made some changes to the systeminfo and description in the original issue to accommodate this.

AsPulse avatar Feb 28 '24 02:02 AsPulse