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
21.05k stars 881 forks source link

cannot typing before switching between workspaces #6304

Closed mshzsh closed 4 months ago

mshzsh commented 4 months ago

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: alienware Release: 6.8.9-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (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

After the screen is locked with hyprlock (and sometimes after closing the eww), when you enter the password and log in, you cannot type anything until you switch the workspace once.

How to reproduce

  1. Open an editor like VS Code.
  2. Lock the screen with hyprlock shortcut.
  3. Enter the password to get back to the editor.
  4. Start typing in the editor and see if you can do it!

Crash reports, logs, images, videos

No response

rtgiskard commented 4 months ago

Its keyboard focus not accepted on window where it is before lock, should be duplicate of this one: https://github.com/hyprwm/Hyprland/issues/5884

vaxerski commented 4 months ago

ye dupe