Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was 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

@dylanZk1

Description

@dylanZk1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions