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

SDA-3839 Resize SDA if unmaximizing #1482

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

sbenmoussati
Copy link
Contributor

Description

unmaximize event is no more triggered on Electron v19. This regression has been introduced in Electron v18.4 (cannot reproduce on v18.3). As a consequence, on('unmaximize') function isn't triggered anymore.
As a work-around, we force app resizing if we need to unmaximize SDA.

} else {
mainWindow.unmaximize();
setTimeout(() => {
windowHandler.forceUnmaximize();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@sbenmoussati sbenmoussati merged commit a5c2303 into finos:19.0.x Aug 30, 2022
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

Successfully merging this pull request may close these issues.

2 participants