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

mouse interaction causes emacs to stop responding to keys #1053

Open
x0xntor33alx0x opened this issue Jan 31, 2023 · 2 comments
Open

mouse interaction causes emacs to stop responding to keys #1053

x0xntor33alx0x opened this issue Jan 31, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@x0xntor33alx0x
Copy link

x0xntor33alx0x commented Jan 31, 2023

Describe the bug
using the mouse on any part of the eaf buffer or using it outside of emacs while having the eaf window focused makes
key events to emacs not responding or produce different behaviour until i use the mouse to select other buffer than
eaf buffer.

To Reproduce

  1. M-x browse-url www.google.com
  2. use the mouse on any part of the eaf buffer or switch to other window and use the mouse
  3. try to use the keyboard keys and most of the keys dont work
  4. sometimes the keys work but with different behaviour (for ex: j zooms in and k zooms out)

Expected behavior
keys keep working while being able to use the mouse

Versions (please complete the following info):

  • Distro and DE/WM: wmctrl -m
    Name: GNOME Shell
    Class: N/A
    PID: N/A
    Window manager's "showing the desktop" mode: OFF

  • Versions of Dependencies:

  • pyqt5: 5.14.1+dfsg-3build1

  • wmctrl: 1.07-7build1

  • node: 16.9.0-deb-1nodesource1

  • npm: 7.21.1

  • libglib2: 2.64.6-1~ubuntu20.04.4

  • python-sip: 4.19.21+dfsg-1build1

  • python3-pyqt5.qtwebengine: 5.14.0-2build1

  • M-x emacs-version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-01 (also tested on 29 and i had the same behaviour )

Additional context
I use evil and evil states `in the eaf buffer to be able to use my normal mode keybindings to switch windows and so on.

@manateelazycat
Copy link
Member

Did you settings "hover to focus" in Gnome?

@x0xntor33alx0x
Copy link
Author

no it is set to Click to focus

@manateelazycat manateelazycat added the help wanted Extra attention is needed label May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants