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.5k stars 899 forks source link

window contents are stretched when spawning new windows #7735

Closed wrpd closed 1 month ago

wrpd commented 1 month ago

Already reported ? *

Regression?

No

System Info and Version

Hyprland, built from branch main at commit 85da1a17d831e2b5db9c1c1e4ce6427d63563562  ([gha] build man pages).
Date: Mon Sep 9 11:19:44 2024
Tag: v0.43.0-9-g85da1a17, commits: 5205

flags: (if any)

System Information:
System name: Linux
Node name: the-terminal
Release: 6.10.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Sep 2024 02:38:45 +0000

GPU information: 
03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A750] [8086:56a1] (rev 08) (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:
  hyprexpo by Vaxry ver 1.0
  hyprsplit by shezdy ver 1.0

======Config-Start======

Config File: /home/wrpd/.config/hypr/hyprland.conf: Read Succeeded

source=~/.config/hypr/modules/init.hypr

Config File: /home/wrpd/.config/hypr/modules/init.hypr: Read Succeeded
$path = ~/.config/hypr/modules
source=$path/exec.hypr
source=~/.config/colors/tokyonight/tokyonight-moon.colors
source=$path/env.hypr
source=$path/plugin.hypr
source=$path/input.hypr
source=$path/layers.hypr
source=$path/windows.hypr
source=$path/workspaces.hypr
source=$path/animations.hypr
source=$path/general.hypr
source=$path/decoration.hypr
source=$path/dwindle.hypr
source=$path/binds.hypr
source=$path/misc.hypr

Config File: /home/wrpd/.config/hypr/modules/exec.hypr: Read Succeeded
exec = kanshi
exec = hyprpm reload -n
exec-once = waybar
exec-once = fnott
exec-once = /usr/lib/mate-polkit/polkit-mate-authentication-agent-1
exec-once = hyprpaper
exec-once = hypridle
exec-once = clipse -listen

$terminal = foot -e
$menu     = fuzzel | xargs hyprctl dispatch exec --
$manager  = yazi | xargs hyprctl dispatch exec --

Config File: /home/wrpd/.config/colors/tokyonight/tokyonight-moon.colors: Read Succeeded
$bg = rgb(222436)
$bg_dark = rgb(1e2030)
$bg_highlight = rgb(2f334d)
$blue = rgb(82aaff)
$blue0 = rgb(3e68d7)
$blue1 = rgb(65bcff)
$blue2 = rgb(0db9d7)
$blue5 = rgb(89ddff)
$blue6 = rgb(b4f9f8)
$blue7 = rgb(394b70)
$comment = rgb(636da6)
$cyan = rgb(86e1fc)
$dark3 = rgb(545c7e)
$dark5 = rgb(737aa2)
$fg=rgb(c8d3f5) 
$fg_dark = rgb(828bb8)
$fg_gutter = rgb(3b4261)
$green = rgb(c3e88d)
$green1 = rgb(4fd6be)
$green2 = rgb(41a6b5)
$magenta = rgb(c099ff)
$magenta2 = rgb(ff007c)
$orange = rgb(ff966c)
$purple = rgb(fca7ea)
$red = rgb(ff757f)
$red1 = rgb(c53b53)
$teal = rgb(4fd6be)
$terminal_black = rgb(444a73)
$yellow = rgb(ffc777)

Config File: /home/wrpd/.config/hypr/modules/env.hypr: Read Succeeded

env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland

env = HYPRCURSOR_THEME,macOS
env = HYPRCURSOR_SIZE,28
env = XCURSOR_THEME,macOS
env = XCURSOR_SIZE,28

env = YAZI_CONFIG_HOME,~/.config/yazi

Config File: /home/wrpd/.config/hypr/modules/plugin.hypr: Read Succeeded
bind = SUPER, grave, hyprexpo:expo, toggle
plugin {
  hyprexpo{
    columns = 2
    gap_size = 5
    bg_col = $bg
    workspace_method = first current

  }
  hyprsplit{
    num_workspaces = 4
  }
}

Config File: /home/wrpd/.config/hypr/modules/input.hypr: Read Succeeded
input {
    kb_layout = us
    follow_mouse = 1
    sensitivity = 0
}

cursor {
  hide_on_key_press = true
}

Config File: /home/wrpd/.config/hypr/modules/layers.hypr: Read Succeeded
layerrule = blur, waybar
layerrule = blur, launcher

Config File: /home/wrpd/.config/hypr/modules/windows.hypr: Read Succeeded
windowrulev2 = opacity 0.95 0.95,class:^(firefox)$

Config File: /home/wrpd/.config/hypr/modules/workspaces.hypr: Read Succeeded
workspace = 1, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3", default:true
workspace = 2, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3",
workspace = 3, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3",
workspace = 4, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3",
workspace = 5, monitor:desc:"Dell Inc. DELL U2720Q 87PFX13", default:true
workspace = 6, monitor:desc:"Dell Inc. DELL U2720Q 87PFX13",
workspace = 7, monitor:desc:"Dell Inc. DELL U2720Q 87PFX13",
workspace = 8, monitor:desc:"Dell Inc. DELL U2720Q 87PFX13",
workspace = 9, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3", 
workspace = 10, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3",
workspace = 11, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3",
workspace = 12, monitor:desc:"Dell Inc. DELL U2724DE GGYB8P3", 

Config File: /home/wrpd/.config/hypr/modules/animations.hypr: Read Succeeded

animations {

    enabled = yes
    bezier = wrpd-smooth,   0.64, 0, .78, 0 
  bezier = wrpd-overshot, 0.05, 0.9, 0.1, 1.05

    animation = windows,    1,1, wrpd-smooth, popin
    animation = windowsOut, 1, 1, wrpd-smooth 
  animation = windowsMove, 1, 1, wrpd-smooth 
  animation = layersIn, 1, 1, wrpd-smooth, popin                                             
  animation = layersOut, 1, 1, wrpd-smooth, fade
    animation = fade,       1, 0.25, wrpd-smooth
    animation = border, 1,1, default
}

Config File: /home/wrpd/.config/hypr/modules/general.hypr: Read Succeeded
general {

    gaps_in = 5
    gaps_out = 10
    border_size = 2

    col.active_border =  $blue
  col.inactive_border = $bg

    layout = dwindle
    allow_tearing = false
}

Config File: /home/wrpd/.config/hypr/modules/decoration.hypr: Read Succeeded

decoration {
    rounding = 10

    blur {
        enabled = true
     size = 4
    passes = 2
    noise = 0.0117
    ignore_opacity = true
    new_optimizations = true
    }
}

Config File: /home/wrpd/.config/hypr/modules/dwindle.hypr: Read Succeeded

dwindle {
    pseudotile = yes
  preserve_split = yes
  force_split = 2
}

Config File: /home/wrpd/.config/hypr/modules/binds.hypr: Read Succeeded

binds {
  scroll_event_delay = 10 
}

$mod-left = SUPER
$mod-right = Alt_R

bind = $mod-left, Q, killactive, 
bind = $mod-left, return, exec, $terminal
bind = $mod-left, space, exec, $menu
bind = $mod-left SHIFT, return, exec, $terminal -e $manager
bind = $mod-left, M, exit,

bind = $mod-left, mouse_up, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
bind = $mod-left, mouse_down, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

bind = , Print, exec, grim -g "$(slurp)" 
bind = $mod-right, S, exec, ssh-menu

binds = $mod-right, 1, focusmonitor, desc:Dell Inc. DELL U2724DE GGYB8P3
binds = $mod-right, 2, focusmonitor, desc:Dell Inc. DELL U2720Q 87PFX13
binds = $mod-right, 3, focusmonitor, desc:Dell Inc. DELL U2720Q 4WNFX13
binds = $mod-right, 4, focusmonitor, desc:Toshiba America Info Systems Inc Toshiba-H2C 0x88888800

bind = $mod-left, l, movefocus, r
bind = $mod-left, h, movefocus, l
bind = $mod-left, k, movefocus, u
bind = $mod-left, j, movefocus, d

bind = $mod-left SHIFT, l, movewindow, r
bind = $mod-left SHIFT, h, movewindow, l
bind = $mod-left SHIFT, k, movewindow, u
bind = ALT, R,submap, resize

submap = resize

binde = , l, resizeactive, 25% 0
binde = , h, resizeactive, -25% 0
binde = , k, resizeactive, 0 -25%
binde = , j, resizeactive, 0 25

bind = , escape, submap, reset 

submap = reset

bind = $mod-left, 1, split:workspace, 1
bind = $mod-left, 2, split:workspace, 2
bind = $mod-left, 3, split:workspace, 3
bind = $mod-left, 4, split:workspace, 4

bind = $mod-left SHIFT, 1, movetoworkspace, 1
bind = $mod-left SHIFT, 2, movetoworkspace, 2
bind = $mod-left SHIFT, 3, movetoworkspace, 3
bind = $mod-left SHIFT, 4, movetoworkspace, 4
bind = $mod-left SHIFT, 5, movetoworkspace, 5
bind = $mod-left SHIFT, 6, movetoworkspace, 6
bind = $mod-left SHIFT, 7, movetoworkspace, 7
bind = $mod-left SHIFT, 8, movetoworkspace, 8
bind = $mod-left SHIFT, 9, movetoworkspace, 9
bind = $mod-left SHIFT, 0, movetoworkspace, 10

bind = $mod-left, W, exec, waybar
bind = $mod-left SHIFT, W, exec, killall -SIGUSR2 waybar & exec waybar

bindm = $mod-left, mouse:272, movewindow
bindm = $mod-left, mouse:273, resizewindow

Config File: /home/wrpd/.config/hypr/modules/misc.hypr: Read Succeeded
misc {
    disable_hyprland_logo =  true
    mouse_move_enables_dpms =  true
    key_press_enables_dpms =  true
}

Description

When opening new windows the contents of the currently open window stretches while the new window is spawning in.

How to reproduce

Open window and then open subsequent windows.

The issue can be mitigated slightly by changing the animation curves and animation speeds but it is still apparent.

Crash reports, logs, images, videos

https://github.com/user-attachments/assets/c026be48-b16b-4e49-aa34-d644f0a68238

vaxerski commented 1 month ago

https://github.com/hyprwm/Hyprland/pull/7499 https://github.com/hyprwm/Hyprland/issues/7475