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 not follow mouse moving from other app to terminal/rofi #5782

Closed
linc01 opened this issue Apr 28, 2024 · 13 comments
Closed

focus not follow mouse moving from other app to terminal/rofi #5782

linc01 opened this issue Apr 28, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@linc01
Copy link

linc01 commented Apr 28, 2024

Hyprland Version

System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)


System Information:
System name: Linux
Node name: arlucy
Release: 6.8.7-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Fri, 19 Apr 2024 09:51:31 +0000


GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (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

The focus not follow mouse moving from other app to terminal.
Case 1: Window A is a browser and Window B is a terminal
If you move the mouse from browser to the terminal you just can see the color changed of the window frame, but the focus not move completely. Mouse is work on the terminal but you can't input. And if you move the cursor back to the browser and move back to the terminal again, everything works fine.
Case 2: Window A is a terminal and Window B is a terminal
No bug everything works fine
Case 3: Window A is a any app and Window B is a terminal
Same as Case 1
Case 4: Window A is a browser or any app and Window B is any app
No bug everything works fine

Rofi is as same as the terminal, you have to move the mouse to let it focus on the pop up rofi window.

How to reproduce

Just open some windows to reproduce.

Crash reports, logs, images, videos

No crash report and I don't know when it happened. May be it started just after the latest update, not sure. I ave fcitx5 5.1.9 installed. BTW, the rofi focus error can be fixed by replacing rofi to rofi-wayland.

@linc01 linc01 added the bug Something isn't working label Apr 28, 2024
@linc01
Copy link
Author

linc01 commented Apr 28, 2024

I've tried alacrity, foot, all the same. Kitty is even worse, you can not typing any more if you once move the mouse away the kitty window.

@Sharpless298
Copy link

Sharpless298 commented Apr 28, 2024

fcitx/fcitx5#1031

@sungyoonc
Copy link
Contributor

Maybe dupe of #5763?

@linc01
Copy link
Author

linc01 commented Apr 28, 2024

fcitx/fcitx5#1031

@Sharpless298 In my case the input is completely disappear and everything goes to be fine if I move the focus twice.

@linc01
Copy link
Author

linc01 commented Apr 28, 2024

Maybe dupe of #5763?

@sungyoonc maybe, but when creating a new terminal emulator in an empty workspace, I can type into it. In the case2, nothing unusual.

@sungyoonc
Copy link
Contributor

sungyoonc commented Apr 28, 2024

Then can you try the latest git of hyprland? Your issue seems like the same thing I reproduced here. #5763 (comment)

@linc01
Copy link
Author

linc01 commented Apr 28, 2024

Then can you try the latest git of hyprland? Your issue seems like the same thing I reproduced here. #5763 (comment)

@sundhaug92 thanks, I'll find another laptop to try the latest git, will let you know if it works.

@hnsylzg
Copy link

hnsylzg commented Apr 30, 2024

The latest version of hyprland solves this problem but introduces a new problem. The submap cannot be displayed on the waybar.

@sungyoonc
Copy link
Contributor

sungyoonc commented Apr 30, 2024

The latest version of hyprland solves this problem but introduces a new problem. The submap cannot be displayed on the waybar.

@hnsylzg That should probably be fixed in Alexays/Waybar#3183 . Please try the git version of waybar, and if that doesn't fix it, make a new issue.

@linc01
Copy link
Author

linc01 commented Apr 30, 2024

The latest version of hyprland solves this problem but introduces a new problem. The submap cannot be displayed on the waybar.

@hnsylzg That should probably be fixed in Alexays/Waybar#3183 . Please try the git version of waybar, and if that doesn't fix it, make a new issue.

I had installed a git version on my macbook but not have a chance to test these issues, the SUPER +Q not work, SUPER + M works occasionally.

@vaxerski
Copy link
Member

dupe of #5763

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@linc01
Copy link
Author

linc01 commented Apr 30, 2024

dupe of #5763

Thanks, I've installed the git version and will try it after I fix the SUPER(COMMAND) key issue.

@linc01
Copy link
Author

linc01 commented May 13, 2024

the latest update 0.40 fixed this bug

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

5 participants