Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor movement triggers workspace change in Chrome #8972

Open
6 tasks done
andron3000 opened this issue Jan 6, 2025 · 0 comments
Open
6 tasks done

Cursor movement triggers workspace change in Chrome #8972

andron3000 opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@andron3000
Copy link

andron3000 commented Jan 6, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Probably not a regression / I don't remember it happening before

System Info and Hyprland Version

System/Version info

Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: chekhovych
Release: 6.12.7-200.fc41.x86_64
Version: #1 SMP PREEMPT_DYNAMIC Fri Dec 27 17:05:33 UTC 2024


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104 [GeForce RTX 4070] [10de:2786] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  565.77  Wed Nov 27 23:33:08 UTC 2024


os-release: NAME="Fedora Linux"
VERSION="41 (Workstation Edition)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=41
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=41
SUPPORT_END=2025-12-15
VARIANT="Workstation Edition"
VARIANT_ID=workstation


plugins:

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


Config File: /home/chekhovych/.config/hypr/hyprland.conf: Read Succeeded
monitor=,preferred,auto,auto

$mainMod = SUPER

# Set programs that you use
$terminal = warp-terminal
$fileManager = nautilus
$browser = com.google.Chrome
$slack = com.slack.Slack
$telegram = org.telegram.desktop
$viber = com.viber.Viber
$editor = com.vscodium.codium
$email = org.mozilla.Thunderbird
$menu = wofi --show drun
$clipboard = cliphist list | wofi -S dmenu | cliphist decode | wl-copy

source = ./variables.conf
source = ./animations.conf
source = ./autostart.conf
source = ./keybindings.conf
source = ./rules.conf
source = ./input.conf
source = ./workspaces.conf


Config File: /home/chekhovych/.config/hypr/variables.conf: Read Succeeded
#################
### VARIABLES ###
#################

# Set environment variables
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

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

env = LIBVA_DRIVER_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

env = NVD_BACKEND,direct
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_QPA_PLATFORM,wayland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1

env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland


Config File: /home/chekhovych/.config/hypr/animations.conf: Read Succeeded
##################
### ANIMATIONS ###
##################

general {
    gaps_in = 0
    gaps_out = 0
    border_size = 1
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)
    resize_on_border = false
    allow_tearing = false
    layout = dwindle
}

decoration {
    rounding = 10

    active_opacity = 1.0
    inactive_opacity = 1.0

    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

animations {
    enabled = true
    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    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 {
    new_status = master
}

misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
    focus_on_activate = false
    always_follow_on_dnd = false
}

binds {
    allow_workspace_cycles = true:
}


Config File: /home/chekhovych/.config/hypr/autostart.conf: Read Succeeded
#################
### AUTOSTART ###
#################

exec-once = wl-paste --watch cliphist store
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

# Launch system utilities
exec-once=waybar & swaync & hyprpaper & hypridle

# Start Polkit
exec-once = /usr/lib/polkit-1/polkitd
#exec-once = systemctl --user start hyprpolkitagent


Config File: /home/chekhovych/.config/hypr/keybindings.conf: Read Succeeded
####################
### KEY BINDINGS ###
####################

bind = $mainMod, T, exec, $terminal
bind = $mainMod, K, killactive
bind = $mainMod SHIFT, E, exit
bind = $mainMod, X, exec, flatpak run $editor
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, M, exec, $menu
bind = $mainMod, J, togglesplit,
bind = $mainMod, C, exec, $clipboard
bind = $mainMod, L, exec, hyprlock

## Switch workspaces
bind = ALT, Tab, workspace, previous

## Screenshot
bind = , Print,exec, hyprshot -m region -o $HOME/Pictures/Screenshots
bind = SHIFT, Print,exec, hyprshot -m output -o $HOME/Pictures/Screenshots

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, 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

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6

# Special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, slack
bind = $mainMod, N, togglespecialworkspace, news
bind = $mainMod, V, togglespecialworkspace, vpn 
bind = $mainMod, E, togglespecialworkspace, email
# bind = $mainMod, B, togglespecialworkspace, browser

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous


Config File: /home/chekhovych/.config/hypr/rules.conf: Read Succeeded
#############
### RULES ###
#############

# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*

# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0

windowrulev2 = noborder, class:^(jetbrains-idea)(.*)$

windowrulev2 = workspace 2, class:jetbrains-idea


Config File: /home/chekhovych/.config/hypr/input.conf: Read Succeeded
#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us,ua
    kb_variant = ,       # No specific variants are used
    kb_options = grp:alt_shift_toggle

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

cursor {
    no_hardware_cursors = true
}

xwayland {
    force_zero_scaling = true
}

gestures {
    workspace_swipe = false
    workspace_swipe_invert = false;
}

device {
    name = epic-mouse-v1
    sensitivity = -0.5
}


Config File: /home/chekhovych/.config/hypr/workspaces.conf: Read Succeeded
##################
### WORKSPACES ###
##################

# Workspace 1: Chrome
exec-once = [workspace 1] flatpak run $browser

# Workspace 2: IntelliJ IDEA
exec-once = [workspace 2 silent] ~/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate/bin/idea.sh

# Workspace 3: Email client
exec-once = [workspace special:email silent] flatpak run $email

# Workspace scratchpad-slack: Slack
exec-once = [workspace special:slack silent] flatpak run --socket=wayland $slack

# Workspace scratchpad-vpn: Pritunl VPN
exec-once = [workspace special:vpn silent] /usr/lib/pritunl_client_electron/Pritunl

# Workspace scratchpad-social: Telegram
exec-once = [workspace special:news silent] flatpak run $telegram

# Workspace scratchpad-social: Viber 
exec-once = [workspace special:news silent] flatpak run $viber

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

Description

In a Chromium-based browser (Flatpak Chrome) on an X11 system, the movement of the cursor unexpectedly causes a change in the workspace.

How to reproduce

Install chrome via Flathub

Ensure only socket = X11 enabled in Flatseal for this app

Move mouse cursor to any border of the browser

Somehow workspace cnanged

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

flatpak run com.google.Chrome
[0106/192719.645082:WARNING:chrome_main_linux.cc(80)] Read channel stable from /app/extra/CHROME_VERSION_EXTRA
[0106/192719.822905:WARNING:chrome_main_linux.cc(80)] Read channel stable from /app/extra/CHROME_VERSION_EXTRA
[2:2:0106/192719.985736:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.portal.Secret.RetrieveSecret: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Secret” on object at path /org/freedesktop/portal/desktop
[2:2:0106/192719.985747:ERROR:secret_portal_key_provider.cc(150)] Failed to retrieve secret: No response from portal.
[2:2:0106/192719.994540:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.UnknownMethod: Unknown method GetActive or interface org.freedesktop.ScreenSaver.
src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

Created TensorFlow Lite XNNPACK delegate for CPU.
Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor).
[2:41:0106/192722.062910:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
[2:41:0106/192746.088308:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
[2:41:0106/192829.362161:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
Warning: Old MapAsync APIs are deprecated. If using C please pass a CallbackInfo struct that has two userdatas. Otherwise, if using C++, please use templated helpers.
[2:41:0106/192958.298535:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
[2:41:0106/193355.736775:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT

@andron3000 andron3000 added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant