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
20.94k stars 879 forks source link

Issue with "accesskey" HTML attribute in Firefox #5564

Open mgcvale opened 6 months ago

mgcvale commented 6 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch v0.38.1-b at commit 360ede79d124ffdeebbe8401f1ac4bc0dbec2c91 (props: bump ver to 0.38.1). Date: Sat Apr 6 14:24:13 2024 Tag: v0.38.1 flags: (if any) System Information: System name: Linux Node name: mgcv Release: 6.8.4-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 05 Apr 2024 00:14:23 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (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: ```

Bug or Regression?

Bug

Description

When visiting a HTML webpage in Firefox that has an element with the "accesskey" attribute, upon clicking the keybind specified by it, the browser does not execute the command. Example:

<html>

<a href="https://hyprland.org" accesskey="a"> Link </a>
<small> alt+shift+ </small>

</html>

When opening this file in firefox, the browser should open the hyprland page by pressing alt+shift+a, but doing so does nothing. I know this is very likely to be Hyprland's issue with firefox, as doing the same thing on a different WM/Desktop Enviroment (KDE Plasma w/ Wayland, for instance) works, and using a different browser on Hyprland, such as Google Chrome, works as well.

How to reproduce

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/133390751/b8c78c41-4643-4266-908d-7de32bc0592d

vaxerski commented 6 months ago

I fail to see how thats a hyprland issue, does it owrk on sway?

mgcvale commented 6 months ago

I just checked on sway, and it does work as it should there, just as it does in Plasma Wayland and X11.

vaxerski commented 6 months ago

hm, odd