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

Cursor appears to go past the left edge of the screen. #6810

Closed a73s closed 2 months ago

a73s commented 2 months ago

Regression?

idk

System Info and Version

System/Version info im on fedora 40 with copr solopasha/hyprland installed https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/ ```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: adam Release: 6.9.7-200.fc40.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Thu Jun 27 18:11:45 UTC 2024 GPU information: 2b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c5) (prog-if 00 [VGA controller]) os-release: NAME="Fedora Linux" VERSION="40 (Workstation Edition)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Linux 40 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:40" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=40 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=40 SUPPORT_END=2025-05-13 VARIANT="Workstation Edition" VARIANT_ID=workstation plugins: ======Config-Start====== Config File: /home/adam/.config/hypr/hyprland.conf: Read Succeeded # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,1 monitor=DP-1,3840x2160@144,auto,1.5,vrr,1 $wallpaper = "/usr/share/backgrounds/custom/pexels-iriser-1366957.jpg" $locker = pidof hyprlock || hyprlock exec-once = hypridle exec-once = swaybg --image $wallpaper --mode fill exec-once = waybar exec-once = /usr/libexec/polkit-gnome-authentication-agent-1 exec-once = sleep 4 && nm-applet --indicator exec-once = sleep 5 && nextcloud exec-once = sleep 6 && /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=keepassxc --file-forwarding org.keepassxc.KeePassXC @@ %f @@ # Set programs that you use $terminal = alacritty $fileManager = nautilus $menu = wofi # Some default env vars. env = XCURSOR_SIZE,24 env = HYPRCURSON_SIZE,24 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = numlock_by_default = true follow_mouse = 1 touchpad { natural_scroll = false } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more # gaps_in = 2 # gaps_out = 4 gaps_in = 0 gaps_out = 0 border_size = 2 col.active_border = rgba(67a4d4ee) rgba(477d9aee) 45deg #273b4aee col.inactive_border = rgba(3a3a3aaa) resize_on_border = true layout = dwindle # layout = master # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more #rounding = 7 rounding = 3 blur { enabled = true size = 3 passes = 1 vibrancy = 0.1696 } drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = true # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # bezier = myAnimation, 0.05, 0.9, 0.1, 1.05 bezier = ease-in-out, 0.42, 0, 0.58, 1 bezier = ease-out, 0, 0, 0.58, 1 bezier = ease-in, 0.42, 0, 1, 1 bezier = linear, 0, 0, 1, 1 bezier = ease-steep, 0.15, 0, 0,1 bezier = funkstep, 1, 0, 0, 1 bezier = fastandsteep, 0, 1, 0, 1 # old and slightly faster animations animation = windows, 1, 2, fastandsteep animation = windowsOut, 1, 2, default, popin 80% animation = windowsMove, 1, 2, fastandsteep animation = border, 1, 3, fastandsteep animation = borderangle, 1, 10, default animation = fade, 0, 1, fastandsteep animation = workspaces, 1, 3, fastandsteep } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # new_is_master = true } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = false } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 2 # Set to 0 or 1 to disable the anime mascot wallpapers } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = glorious-model-o sensitivity = -0.5 middle_button_emulation=0 } xwayland { use_nearest_neighbor = false # force_zero_scaling = true } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrule = float,Calculator # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod ALT, Delete, exit, bind = $mainMod, Backslash, exec, $fileManager bind = $mainMod, C, togglefloating, bind = $mainMod, Space, exec, $menu bind = $mainMod ALT, L, exec, $locker #bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, F, fullscreen, # dwindle # Move focus with mainMod + arrow keys or vim keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r bind = $mainMod, K, movefocus, u bind = $mainMod, J, movefocus, d # move window binds bind = $mainMod SHIFT, left, movewindow, l bind = $mainMod SHIFT, right, movewindow, r bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, down, movewindow, d bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 # Example special workspace (scratchpad) # bind = $mainMod, S, togglespecialworkspace, magic # bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e-1 bind = $mainMod, mouse_up, workspace, e+1 # Media: bind =, XF86AudioPlay, exec, playerctl play-pause bind =, XF86AudioNext, exec, playerctl next bind =, XF86AudioPrev, exec, playerctl previous # bind =, Mod1+Print, exec, grimshot save area - | wl-copy # bind =, Print, exec, grimshot save area bind =, Print, exec, grim -g "$(slurp)" #To raise the volume bind =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.0 #To lower the volume bind =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- #To mute/unmute the volume bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle #To mute/unmute the microphone bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow ======Config-End======== ```

Description

The mouse goes off the left edge of the monitor by about half of a screen. Sometimes If I change the monitor config then change it back it fixes itself.

How to reproduce

Not sure, I will tinker with it as I use my machine and If I find a pattern I will comment

Crash reports, logs, images, videos

No response

ikalco commented 2 months ago

repro case? if its when you unplug your monitor then i believeits fixed in git

a73s commented 2 months ago

I unplugged my monitor then it happened again. However I really never do that so there must have been something else that can also cause the same issue.