microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.76k stars 6.52k forks source link

FancyZones moves PT Settings window into a zone (first run after update) #13531

Open Jay-o-Way opened 3 years ago

Jay-o-Way commented 3 years ago

Microsoft PowerToys version

0.47

Running as admin

Area(s) with issue?

FancyZones

Steps to reproduce

Updated to 0.47 today. Had Settings window open, not maximised and not (explicitly) dragged into a zone.

✔️ Expected Behavior

No action

❌ Actual Behavior

Settings window suddenly resized to fit one of my zones. (center on display 1, corner on display 2 - don't know the zone number because that disappeared). Happens every 2~5 minuts or so. Happened after the first time PT runs after the update. Not happened when FZ is switched off.

After exiting and running PT again, haven't noticed this again - so far. ZIP file is created after this moment (forgot to make it the first time) PowerToysReport_2021-09-30-16-17-20.zip

Other Software

No response

SeraphimaZykova commented 3 years ago

Can you please verify if \AppData\Local\Microsoft\PowerToys\FancyZones\app-zone-history.json contains "app-path": "...\\PowerToys.Settings.exe"? If it's there, could you please verify what happens if you remove it from that file? Just remove the whole element when PowerToys is off.

{
    "app-path": "...\\PowerToys.Settings.exe",
    "history": [ ... ]
}

Ping me if it would accidentally be snapped to a zone again.

Jay-o-Way commented 3 years ago

The app-path of the installed version is not present (anymore). Only D:\\Visual_Studio\\Solutions\\PowerToys\\x64\\Debug\\Settings\\PowerToys.Settings.exe is, but that's a different file so should not be relevant. And it hasn't happend ever since - didn't see it on a different device (after updating) either. So, I don't know what caused it.

SeraphimaZykova commented 3 years ago

It's not reproducible for me either. So we can close it, I think. Feel free to reopen it if something similar happens again.

Jay-o-Way commented 2 years ago

@SeraphimaZ Just updated my desktop to 49.1 and the same thing happend. This time there is the data you mentioned in the json. image

This time I created a new report zip, before closing anything. PowerToysReport_2021-11-08-14-18-58.zip

SeraphimaZykova commented 2 years ago

Thank you, I'll take a look.

cinnamon-msft commented 1 day ago

Are you still experiencing this issue? /needinfo