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

Global Keybind Passthrough does not function if the app is not visible #9115

Open
3 of 6 tasks
officialnochill opened this issue Jan 18, 2025 · 4 comments
Open
3 of 6 tasks
Labels
bug Something isn't working

Comments

@officialnochill
Copy link

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

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

flags set:
debug

System Information:
System name: Linux
Node name: nochill-pc
Release: 6.12.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:41 +0000

GPU information:
07: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="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:

Description

Global Keybind Passthrough does not function if the app is not visible
For example, if my OBS window is not a visible window in any of my workspaces (but still running in the background) then
bind = $mainMod, F19, pass , class:^(com.obsproject.Studio)$
does not work at all.

How to reproduce

Set up keybind passthrough (bind = $mainMod, F19, pass , class:^(com.obsproject.Studio)$)

Launch OBS, move to another workspace to verify that the passthrough works.

Minimise OBS to taskbar/waybar by clicking its icon, verify that obs is still running by using the rightclick context menu

Try pressing the keybind again, it will not work.

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

No response

@officialnochill officialnochill added the bug Something isn't working label Jan 18, 2025
@vaxerski
Copy link
Member

wdym "minimize"? There is no such thing in hyprland.

@officialnochill
Copy link
Author

Not sure what the correct term would be, but the window being closed to system tray

Image

@Ghosthree3
Copy link

I believe this feature is a hack that sends, or sends a copy, of the key to the named window, so it would make sense that if the window "doesn't exist" that it can't forward the key press.
To get what you're talking about to work you'd need to use, and have OBS support, the DBus Global Shortcuts protocol, https://wiki.hyprland.org/Configuring/Binds/#dbus-global-shortcuts
If you want to use the pass feature, you should just shove OBS onto some unused workspace.

@officialnochill
Copy link
Author

Image

Attempting that appears to give me an "unknown request" error

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

3 participants