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
19.21k stars 800 forks source link

Hidden window / clicks not reistering on part of the screen #6363

Open Davincible opened 2 months ago

Davincible commented 2 months ago

System Info and Version

Hyprland, built from branch  at commit c31d9ef4172452f6f219f91d9b87a24d91f0cf3a  ().
Date: 2024-06-07
Tag: , commits: 

flags: (if any)

System Information:
System name: Linux
Node name: alynix
Release: 6.6.32
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:22:56 UTC 2024

GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117GLM [Quadro T1000 Mobile] [10de:1fb9] (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.11.20240605.e8057b6"
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.11 (Vicuña)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuña)"
VERSION_CODENAME="vicuña"
VERSION_ID="24.11"

plugins:

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

Config File: /home/tyler/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_C
URRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=SUPER
animations {
  bezier=myBezier, 0.05, 0.9, 0.1, 1.05
  animation=windows, 1, 5, myBezier
  animation=windowsOut, 1, 7, default, popin 80%
  animation=border, 1, 10, default
  animation=fade, 1, 7, default
  animation=workspaces, 1, 6, default
  enabled=yes
}

binds {
  allow_workspace_cycles=true
  scroll_event_delay=0
}

decoration {
  blur {
    enabled=true
    ignore_opacity=true
    new_optimizations=true
    passes=3
    popups=true
    size=5
  }
  active_opacity=0.940000
  fullscreen_opacity=1.000000
  inactive_opacity=0.870000
  rounding=8
}

dwindle {
  preserve_split=yes
  pseudotile=yes
}

general {
  allow_tearing=true
  border_size=1
  col.active_border=rgba(0DB7D4FF)
  col.inactive_border=rgba(31313600)
  gaps_in=8
  gaps_out=5
  layout=dwindle
  no_focus_fallback=true
  resize_on_border=true
}

gestures {
  workspace_swipe=true
  workspace_swipe_forever=true
  workspace_swipe_use_r=true
}

input {
  touchpad {
    clickfinger_behavior=true
    disable_while_typing=true
    natural_scroll=true
    scroll_factor=0.500000
  }
  follow_mouse=1
  kb_layout=us
  numlock_by_default=true
  repeat_delay=250
  repeat_rate=35
  special_fallthrough=true
}

plugin {
  overview {
    centerAligned=true
    drawActiveWorkspace=true
    exitOnClick=true
    exitOnSwitch=true
    hideOverlayLayers=true
    hideTopLayers=true
    reverseSwipe=true
    showNewWorkspace=true
  }
}

windowrule {
  windowrule=float, ^(class:org.gnome.Calculator)$
  windowrule=float, ^(class:org.gnome.Nautilus)$
  windowrule=float, ^(class:pavucontrol)$
  windowrule=float, ^(class:nm-connection-editor)$
  windowrule=float, ^(class:blueberry.py)$
  windowrule=float, ^(class:org.gnome.Settings)$
  windowrule=float, ^(class:org.gnome.design.Palette)$
  windowrule=float, ^(class:Color Picker)$
  windowrule=float, ^(class:xdg-desktop-portal)$
  windowrule=float, ^(class:xdg-desktop-portal-gnome)$
  windowrule=float, ^(class:transmission-gtk)$
  windowrule=float, ^(class:com.github.Aylur.ags)$
  windowrule=float, title:Bitwarden - Opera
  windowrule=noborder, title:Bitwarden - Opera
  windowrule=nodim, title:Bitwarden - Opera
  windowrule=opaque, title:Bitwarden - Opera
  windowrule=float, title:Picture in Picture
  windowrule=opaque, title:Picture in Picture
  windowrule=nodim, title:Picture in Picture
  windowrule=noborder, title:Picture in Picture
  windowrule=move 100%-w-20, title:Picture in Picture
  windowrule=pin, title:Picture in Picture
  windowrule=workspace 7, title:Spotify
}
bind=SUPER,Return,exec,kitty
bind=ALT,space,exec,rofi -show drun
bind=SHIFTALT,q,killactive
bind=SUPERSHIFT,e,exit
bind=CTRLSHIFT,R,exec,ags -b hypr quit; ags -b hypr
bind=SUPER,s,togglesplit
bind=SUPER,f,fullscreen,1
bind=SUPERSHIFT,f,fullscreen,0
bind=ALT,f,fakefullscreen
bind=SUPERSHIFT,space,togglefloating
bind=SUPER,minus,splitratio,-0.25
bind=SUPERSHIFT,minus,splitratio,-0.3333333
bind=SUPER,equal,splitratio,0.25
bind=SUPERSHIFT,equal,splitratio,0.3333333
bind=SUPER,g,togglegroup
bind=SUPER,t,lockactivegroup,toggle
bind=SUPER,apostrophe,changegroupactive,f
bind=SUPERSHIFT,apostrophe,changegroupactive,b
bind=SUPER,u,togglespecialworkspace
bind=SUPERSHIFT,u,movetoworkspacesilent,special
bind=SUPERSHIFT,l,movetoworkspacesilent,+1
bind=SUPERSHIFT,right,movetoworkspacesilent,+1
bind=SUPERSHIFT,h,movetoworkspacesilent,-1
bind=SUPERSHIFT,left,movetoworkspacesilent,-1
bind=SUPER,0,workspace,name:0
bind=SUPER,1,workspace,name:1
bind=SUPER,2,workspace,name:2
bind=SUPER,3,workspace,name:3
bind=SUPER,4,workspace,name:4
bind=SUPER,5,workspace,name:5
bind=SUPER,6,workspace,name:6
bind=SUPER,7,workspace,name:7
bind=SUPER,8,workspace,name:8
bind=SUPER,9,workspace,name:9
bind=SUPER,F1,workspace,name:F1
bind=SUPER,F2,workspace,name:F2
bind=SUPER,F3,workspace,name:F3
bind=SUPER,F4,workspace,name:F4
bind=SUPER,F5,workspace,name:F5
bind=SUPER,F6,workspace,name:F6
bind=SUPER,F7,workspace,name:F7
bind=SUPER,F8,workspace,name:F8
bind=SUPER,F9,workspace,name:F9
bind=SUPER,F10,workspace,name:F10
bind=SUPER,F11,workspace,name:F11
bind=SUPER,F12,workspace,name:F12
bind=SHIFTALT,0,movetoworkspacesilent,name:0
bind=SHIFTALT,1,movetoworkspacesilent,name:1
bind=SHIFTALT,2,movetoworkspacesilent,name:2
bind=SHIFTALT,3,movetoworkspacesilent,name:3
bind=SHIFTALT,4,movetoworkspacesilent,name:4
bind=SHIFTALT,5,movetoworkspacesilent,name:5
bind=SHIFTALT,6,movetoworkspacesilent,name:6
bind=SHIFTALT,7,movetoworkspacesilent,name:7
bind=SHIFTALT,8,movetoworkspacesilent,name:8
bind=SHIFTALT,9,movetoworkspacesilent,name:9
bind=SHIFTALT,F1,movetoworkspacesilent,name:F1
bind=SHIFTALT,F2,movetoworkspacesilent,name:F2
bind=SHIFTALT,F3,movetoworkspacesilent,name:F3
bind=SHIFTALT,F4,movetoworkspacesilent,name:F4
bind=SHIFTALT,F5,movetoworkspacesilent,name:F5
bind=SHIFTALT,F6,movetoworkspacesilent,name:F6
bind=SHIFTALT,F7,movetoworkspacesilent,name:F7
bind=SHIFTALT,F8,movetoworkspacesilent,name:F8
bind=SHIFTALT,F9,movetoworkspacesilent,name:F9
bind=SHIFTALT,F10,movetoworkspacesilent,name:F10
bind=SHIFTALT,F11,movetoworkspacesilent,name:F11
bind=SHIFTALT,F12,movetoworkspacesilent,name:F12
bind=ALT,down,movefocus,d
bind=ALT,h,movefocus,l
bind=ALT,j,movefocus,d
bind=ALT,k,movefocus,u
bind=ALT,l,movefocus,r
bind=ALT,left,movefocus,l
bind=ALT,right,movefocus,r
bind=ALT,up,movefocus,u
bind=SUPERSHIFT,down,swapwindow,d
bind=SUPERSHIFT,h,swapwindow,l
bind=SUPERSHIFT,j,swapwindow,d
bind=SUPERSHIFT,k,swapwindow,u
bind=SUPERSHIFT,l,swapwindow,r
bind=SUPERSHIFT,left,swapwindow,l
bind=SUPERSHIFT,right,swapwindow,r
bind=SUPERSHIFT,up,swapwindow,u
bind=SHIFTALT,down,movewindoworgroup,d
bind=SHIFTALT,h,movewindoworgroup,l
bind=SHIFTALT,j,movewindoworgroup,d
bind=SHIFTALT,k,movewindoworgroup,u
bind=SHIFTALT,l,movewindoworgroup,r
bind=SHIFTALT,left,movewindoworgroup,l
bind=SHIFTALT,right,movewindoworgroup,r
bind=SHIFTALT,up,movewindoworgroup,u
bind=SUPERALT,down,focusmonitor,d
bind=SUPERALT,h,focusmonitor,l
bind=SUPERALT,j,focusmonitor,d
bind=SUPERALT,k,focusmonitor,u
bind=SUPERALT,l,focusmonitor,r
bind=SUPERALT,left,focusmonitor,l
bind=SUPERALT,right,focusmonitor,r
bind=SUPERALT,up,focusmonitor,u
bind=SUPERALTSHIFT,down,movecurrentworkspacetomonitor,d
bind=SUPERALTSHIFT,h,movecurrentworkspacetomonitor,l
bind=SUPERALTSHIFT,j,movecurrentworkspacetomonitor,d
bind=SUPERALTSHIFT,k,movecurrentworkspacetomonitor,u
bind=SUPERALTSHIFT,l,movecurrentworkspacetomonitor,r
bind=SUPERALTSHIFT,left,movecurrentworkspacetomonitor,l
bind=SUPERALTSHIFT,right,movecurrentworkspacetomonitor,r
bind=SUPERALTSHIFT,up,movecurrentworkspacetomonitor,u
bindl=,XF86AudioPlay,    exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl play-pause
bindl=,XF86AudioStop,    exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl pause
bindl=,XF86AudioPause,   exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl pause
bindl=,XF86AudioPrev,    exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl previous
bindl=,XF86AudioNext,    exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl next
bindl=,XF86AudioMicMute, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindl=,XF86Launch2,      exec, /nix/store/sfzqj67pgvxqbwrkcd327nvww21hx9km-grim-1.4.1/bin/grim -g "$(/nix/store/bi64xjcnwcnwp5fd3y8lf5fh3vc0giin-slurp-1.5.0/bin/slurp)" - | /n
ix/store/3ajp2xr31s09dc9lil18vbbj4i3rljsm-swappy-1.5.1/bin/swappy -f -
bindl=,Print,      exec, /nix/store/sfzqj67pgvxqbwrkcd327nvww21hx9km-grim-1.4.1/bin/grim -g "$(/nix/store/bi64xjcnwcnwp5fd3y8lf5fh3vc0giin-slurp-1.5.0/bin/slurp)" - | /nix/sto
re/3ajp2xr31s09dc9lil18vbbj4i3rljsm-swappy-1.5.1/bin/swappy -f -
bindle=,XF86MonBrightnessUp,   exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set +5%
bindle=,XF86MonBrightnessDown, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set  5%-
bindle=,XF86KbdBrightnessUp,   exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl -d asus::kbd_backlight set +1
bindle=,XF86KbdBrightnessDown, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl -d asus::kbd_backlight set  1-
bindle=,XF86AudioRaiseVolume,  exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%
bindle=,XF86AudioLowerVolume,  exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%
bindm=SUPER,mouse:272,movewindow
bindm=SUPER,mouse:273,resizewindow
env=NIXOS_OZONE_WL, 1
env=WLR_RENDERER_ALLOW_SOFTWARE,1
env=LIBVA_DRIVER_NAME,nvidia
env=XDG_SESSION_TYPE,wayland
env=XDG_SESSION_DESKTOP,Hyprland
env=XDG_CURRENT_DESKTOP,Hyprland
env=GBM_BACKEND,nvidia-drm
env=__GLX_VENDOR_LIBRARY_NAME,nvidia
env=WLR_NO_HARDWARE_CURSORS,1
env=NVD_BACKEND,direct
exec-once=ags -b hypr
monitor=,preferred,auto,1

======Config-End========

Bug or Regression?

Bug

Description

image

I have this weird issue where this part of the screen is not clickable sometimes after using my laptop for a while. Aka clicks are not registered by the underlying application, as if there's a transparent window overlaying this part of the screen that blocks me from clicking anything underneath. Only started happening recently. When I reboot its fine for a bit, and then this happens

I am on NixOS with Hyprland git, I rebuild daily.

I have checked hyprctl clients but nothing strange. Not sure how to debug this

How to reproduce

Not sure

Crash reports, logs, images, videos

No response

vaxerski commented 2 months ago

looks perfectly like your bar could open a popup that happens to be invisible there.

Are you sure it's not your bar?

rgalhos commented 1 month ago

I'm experiencing the same issue since I started using Hyprland (0.39.1-5 on arch). For me, it only happens on games that launch through proton. There is also a variant of this bug where I cannot click on the left side of the screen because it only register clicks at x+1920.

The bug seems to happen every time I turn my monitor off. Restarting Hyprland or changing the resolution and then switching it back fixes the issue.

I also have no idea how to debug this. The only odd thing I noticed is the output of xrandr.

Output of xrandr when I start hyprland:

Screen 0: minimum 16 x 16, current 3440 x 1440, maximum 32767 x 32767
DP-1 connected 3440x1440+0+0 (normal left inverted right x axis y axis) 800mm x 340mm
   3440x1440    143.91*+
   1920x1440    143.90  
   1600x1200    143.89  
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1920x1200    143.89  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   2560x1440    143.91  
   2048x1152    143.88  
   1920x1080    143.88  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  

Output of xrandr when the bug is happening:

Screen 0: minimum 16 x 16, current 5360 x 1440, maximum 32767 x 32767
DP-1 connected 3440x1440+1920+0 (normal left inverted right x axis y axis) 800mm x 340mm
   3440x1440    143.91*+
   1920x1440    143.90  
   1600x1200    143.89  
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1920x1200    143.89  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   2560x1440    143.91  
   2048x1152    143.88  
   1920x1080    143.88  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  

image

 ; hyprctl monitors
Monitor DP-1 (ID 0):
    3440x1440@144.00101 at 0x0
    description: GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000020
    make: GIGA-BYTE TECHNOLOGY CO., LTD.
    model: M34WQ
    serial: 0x00000020
    active workspace: 1 (1)
    special workspace: 0 ()
    reserved: 0 37 0 0
    scale: 1.00
    transform: 0
    focused: yes
    dpmsStatus: 1
    vrr: 0
    activelyTearing: false
    disabled: false
    currentFormat: XRGB2101010
    availableModes: 3440x1440@144.00Hz 3440x1440@59.97Hz 3440x1440@99.98Hz 2560x1440@144.00Hz 2560x1440@120.00Hz 2560x1440@59.95Hz 2560x1080@143.94Hz 2560x1080@120.00Hz 2560x1080@119.88Hz 2560x1080@48.00Hz 2560x1080@47.95Hz 1920x1200@144.00Hz 1920x1080@120.00Hz 1920x1080@119.88Hz 1920x1080@60.00Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1920x1080@50.00Hz 1920x1080@48.00Hz 1920x1080@47.95Hz 1600x1200@144.00Hz 1680x1050@59.95Hz 2880x576@50.00Hz 2880x576@50.00Hz 1600x900@60.00Hz 2880x480@60.00Hz 2880x480@60.00Hz 2880x480@59.94Hz 2880x480@59.94Hz 1280x1024@75.03Hz 1280x1024@60.02Hz 1440x900@59.89Hz 1280x960@60.00Hz 1280x800@144.00Hz 1152x864@75.00Hz 1280x720@120.00Hz 1280x720@119.88Hz 1280x720@60.00Hz 1280x720@60.00Hz 1280x720@59.94Hz 1280x720@50.00Hz 1024x768@75.03Hz 1024x768@70.07Hz 1024x768@60.00Hz 800x600@75.00Hz 800x600@72.19Hz 800x600@60.32Hz 800x600@56.25Hz 720x576@50.00Hz 720x576@50.00Hz 720x480@60.00Hz 720x480@60.00Hz 720x480@59.94Hz 720x480@59.94Hz 640x480@75.00Hz 640x480@72.81Hz 640x480@66.67Hz 640x480@60.00Hz 640x480@59.94Hz 640x480@59.94Hz 720x400@70.08Hz

 ;  hyprctl systeminfo                                                                                                                                                                               ~ 
Hyprland, built from branch  at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3  (props: bump version to 0.41.1).
Date: Thu Jun 13 09:54:06 2024
Tag: v0.41.1, commits: 4818

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.9.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000

GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller])
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7) (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:

Edit: Okay, the "variant" I described is very similar to #6224. Maybe i'm struggling with two different bugs? Idk

Davincible commented 1 month ago

For me it did end up being my bar for some reason. Have to restart it