Skip to content

update electron-window-state to get improved checks for missing monitor #7418

@shiftkey

Description

@shiftkey

I haven't kept up with electron-window-state for a while, but it looks like they've landed a fix for the problem we've seen about the app not being restored correctly when the secondary monitor is disconnected #2107

mawie81/electron-window-state#45

This is available in 5.0.3 on NPM, and I'd love some help from a person with multiple monitor to upgrade our version in app/package.json and test this correctly works when performing these steps:

  • launch Desktop, move it to the secondary monitor
  • close Desktop
  • disconnect the secondary monitor
  • launch Desktop

Expected behaviour: application is launched on primary monitor at default size

I expect this is relevant to both macOS and Windows users

Metadata

Metadata

Assignees

Labels

help wantedIssues marked as ideal for external contributorsmacOSIssues specific to Desktop usage on macOStech-debtIssues and pull requests related to addressing technical debt or improving the codebasewindowsIssues specific Desktop usage on Windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions