Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant