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

focus_on_activate not working #5702

Open
abs3ntdev opened this issue Apr 22, 2024 · 14 comments
Open

focus_on_activate not working #5702

abs3ntdev opened this issue Apr 22, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@abs3ntdev
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 855a516596fa8a15aea7cf4b4068aba0293a9615  (core: add libinput backend support for headless session (5699)).
Date: Mon Apr 22 10:48:18 2024
Tag: v0.39.1-49-g855a5165, commits: 4509

flags: (if any)


System Information:
System name: Linux
Node name: HEARTEMOJI
Release: 6.8.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000


GPU information: 
0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:2206] (rev a1) (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 a window activates focus is not set for that window

How to reproduce

set focus_on_activate=true then activate a window

Crash reports, logs, images, videos

No response

@abs3ntdev abs3ntdev added the bug Something isn't working label Apr 22, 2024
@vaxerski
Copy link
Member

test client?

@abs3ntdev
Copy link
Author

webcord running on workspace 2 switch to workspace 1 and either run webcord from command line or drun from rofi. it used to switch focus to webcord on workspace 2 now it just doesn't do anything. not sure if its not requesting focus or if something changed to make that behavior change.

@gksudolol
Copy link

I had this too but as of bb4646b focus seems to work as expected

@abs3ntdev
Copy link
Author

updating to current head made me crash on start so im not able to check. logs: https://asdf.cafe/communal-alpaca.txt

@vaxerski
Copy link
Member

#5718

@abs3ntdev
Copy link
Author

still crashing on newest -git https://asdf.cafe/hardy-honeybee.txt

@vaxerski
Copy link
Member

can you bisect this one? it looks like hl is crashing while trying to parse your monitor config...?

@abs3ntdev
Copy link
Author

abs3ntdev commented Apr 24, 2024

current head boots now. focus still doesn't switch to webcord when i do the steps i outlined above but it does work for other programs so im assuming webcord just isnt requesting focus

if i run webcord without --ozone-platform=wayland then focus on activate works for it

@gksudolol
Copy link

if i run webcord without --ozone-platform=wayland then focus on activate works for it

FWIW I can't run Electron apps with --ozone-platform=wayland flag anymore since tearing/xdg-output split into hyprwayland-scanner

Only opens with --enable-features=UseOzonePlatform

@MangoIV
Copy link

MangoIV commented Apr 24, 2024

I think I also have this problem; when switching windows, the mouse pointer warps but if I just open a new window the focus stays on whatever the focus was on before and I have to actively switch into that windows after opening; I hope this is the same problem as described above?

@0fie
Copy link

0fie commented Apr 24, 2024

I think I also have this problem; when switching windows, the mouse pointer warps but if I just open a new window the focus stays on whatever the focus was on before and I have to actively switch into that windows after opening; I hope this is the same problem as described above?

Probably. I have the exact same issue.

@MangoIV
Copy link

MangoIV commented Apr 24, 2024

this is a regression as well; this worked until like a few days ago.

@MangoIV
Copy link

MangoIV commented May 1, 2024

I think my issue is gone? I don't know if that closes this one as well but at least when opening a new window, I get focus again.

@KorigamiK
Copy link

I can confirm that focus is not activated anymore if I open a file on firefox anymore. The file is opened silently on firefox and I don't get focused on the firefox window anymore.

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

6 participants