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

When I mouse-click the titlebar, the window does not get focus #237

Open
dylanZk1 opened this issue Aug 29, 2023 · 0 comments
Open

When I mouse-click the titlebar, the window does not get focus #237

dylanZk1 opened this issue Aug 29, 2023 · 0 comments

Comments

@dylanZk1
Copy link

dylanZk1 commented Aug 29, 2023

Problem Description

When I mouse-click the titlebar, the window does not get focus. My electron app is configured with several shortcuts. When the window gets unfocus, the shortcut keys will be disabled

Steps to Reproduce

  1. launch the electron player.
  2. drag media into the window(after it, the window get unfocus).
  3. mouse-click the titlebar and test whether shortcuts are enabled.
  4. the final result is that the shortcuts are still disabled.

Expected Behavior

When I mouse-click the titlebar, the window could get focus. Or the titlebar could export the clicking callback.

Current Behavior

When I mouse-click the titlebar, the window does not get focus

Desktop

OS: Windows 11
Electron version 25.1.0
Node Version 16.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant