Skip to content

Remember / Restore window position when reconnecting a monitor #261

Description

@jcoutch

Summary of the new feature/enhancement

As a developer with 5 monitors, whenever I have to go to a meeting which requires my laptop, I usually have to spend a couple minutes minimizing windows once un-docked, then 3-5 minutes re-positioning/resizing a bazillion windows back onto my multiple monitors.

It would be awesome to have a PowerToy that at least attempted to keep my layout between dock cycles, maybe integrated into the virtual desktops feature in Windows 10

Proposed technical implementation details (optional)

Whenever a graphics/monitor hardware event occurs, and before Windows re-positions all windows, take a snapshot of the monitor layout, all main window handles and their current positions.

Then, check if the new layout/monitor configuration matches to any previous snapshots, and align the windows accordingly.

The initial version could just go off window handles, but maybe future versions could allow users to specify regular expressions for window titles/tab names (in the event windows are closed then re-opened.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea-EnhancementNew feature or request on an existing productProduct-FancyZonesRefers to the FancyZones PowerToyProduct-Window ManagerRefers to the idea of a Window Manager PowerToy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions