Skip to content

[Bug]: Overlay's minimize button stays in hovered/focused state after restoring #34763

Closed

Description

@indutny-signal

Preflight Checklist

Electron Version

19.0.5

What operating system are you using?

Windows

Operating System Version

11

What arch are you using?

x64

Last Known Working Electron version

N/A

Expected Behavior

When hovering over a "minimize" button in titlebar overlay and clicking it, and then restoring the app - I expect that the button is restored to its original state:

image

Actual Behavior

Instead if I click "minimize" and then restore I see this:

image

Testcase Gist URL

No response

Additional Information

Originally reported in: signalapp/Signal-Desktop#5992

Activity

  1. self-assigned this
    on Jun 28, 2022
  2. indutny-signal commented on Jul 7, 2022

    @indutny-signal
    ContributorAuthor

    ❤️

  3. whzard commented on Jul 24, 2022

    @whzard

    I'm still having this issue in electron v19.0.8

  4. codebytere commented on Jul 25, 2022

    @codebytere
    Member

    That's correct. It was not released until 19.0.9.

  5. whzard commented on Jul 26, 2022

    @whzard

    Sorry for the previous comment, but this issue still persists in 19.0.9, but only if the window was left in a maximized state before minimizing.

  6. codebytere commented on Jul 26, 2022

    @codebytere
    Member

    interesting - i'll check into it!

  7. codebytere commented on Jul 26, 2022

    @codebytere
    Member

    @wheezard thanks for surfacing this - just put up a PR to remedy it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions