microsoft / microsoft/PowerToys

Move newly created windows to their last known zone function moves all the windows of the same application to one zone

Open
#47,010 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Triage Product-FancyZones
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

Microsoft PowerToys version

v0.98.1 - btw I had to write this manually, couldn't copy from PowerToys directly?

Installation method

GitHub

Area(s) with issue?

FancyZones

Steps to reproduce
  1. Define three zones.
  2. Open a web browser - I used Edge for my reproduction.
  3. Move the first window of the browser to zone 2.
  4. Initiate an action in the browser that opens a new window.
  5. Move the new window to zone 1.
  6. Initiate an action in the browser that opens a new window.
  7. Move the new window to zone 3.
    --- Assume this is the wanted state ---
  8. Close all windows of the browser in the chronologically descending order (the newest closes first).
  9. Open the browser again.
✔️ Expected Behavior

At least the first window of the browser opens in the correct zone (2).

❌ Actual Behavior

All browser windows open in zone 3 - the last zone any window of that browser was moved to.

Upload Bug Report ZIP-file

No response

Additional Information

Edition Windows 11 Enterprise
Version 23H2
Installed on ‎25‎12‎04
OS build 22631.6783
Experience Windows Feature Experience Pack 1000.22700.1108.0
no other dotnet installed AFAIK

I suggest to allow multiple zones store the same application with another variable like an order or name.

Other Software

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the FancyZones window-placement and persisted-zone handling, then reproduce the listed Edge multi-window sequence with three zones. Trace how each browser window's last zone is stored and restored. Done means reopening the browser restores its windows to their individual prior zones instead of placing all of them in the last-used zone.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.