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

Virtual scrolling events not recognised by Firefox #8931

Open
1 task done
matejdro opened this issue Jan 2, 2025 · 2 comments
Open
1 task done

Virtual scrolling events not recognised by Firefox #8931

matejdro opened this issue Jan 2, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@matejdro
Copy link

matejdro commented Jan 2, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes, but not a Hyprland regression (I think it might have been caused by a Firefox update).

System Info and 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: KOMP
Release: 6.12.7-arch1-1.1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 28 Dec 2024 03:18:00 +0000


GPU information: 
28:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6950 XT] [1002:73a5] (rev c0) (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:
  hypreasymotion by Zakk ver 1.0

Description

It appears that virtual pointer scrolling does not work on Firefox. When scrolling with wlrctl, all programs scroll, but with Firefox, nothing happens. This is also the case when Firefox is running under XWayland.

Feel free to close this issue if you think that this is a Firefox issue, not Hyperland, but I'm not sure how could Firefox specifically ignore virtual pointer events, while still acting to scrolling of the physical mouse.

How to reproduce

  1. Install https://git.sr.ht/~brocellous/wlrctl
  2. Bind virtual pointer scroll to a key, for example bind = , o, exec, wlrctl pointer scroll -10 0
  3. Focus on a Firefox window
  4. Press bound key
  5. Note that nothing happens
  6. Focus on another (not Firefox) scrollable window
  7. Press bound key again
  8. It will now scroll

Crash reports, logs, images, videos

No response

@matejdro matejdro added the bug Something isn't working label Jan 2, 2025
@matejdro
Copy link
Author

matejdro commented Jan 2, 2025

Note that I tried the same steps in sway and they work. So, something seems off with Hyperland <> Firefox interaction.

@jheroy
Copy link

jheroy commented Jan 7, 2025

I have same problem with wlrctl, but ydotool mousemove -w -x 0 -y -1 works fine

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

2 participants