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

FancyZones - Windows + Arrow Shortcuts to Maximize Not Working #8487

Closed
scott-fisher-iii opened this issue Dec 8, 2020 · 7 comments
Closed
Labels
Product-FancyZones Refers to the FancyZones PowerToy

Comments

@scott-fisher-iii
Copy link

ℹ Computer information

  • PowerToys version: 0.27.0
  • PowerToy Utility: FancyZones
  • Running PowerToys as Admin: Yes
  • Windows build number: Windows 10 Enterprise, Version 1909 (OS Build 18363.1198)

📝 Provide detailed reproduction steps (if any)

  1. In the FancyZones settings, enable "Override Windows Snap shortcut (Win + Arrow) to move windows between zones"
    Here is my entire setup:
    image
    image
    image

  2. Move windows between zones using the Win + Left arrow and Win + Right arrow shortcuts. That works as expected.

  3. Attempt to maximize a window using the Win + Up arrow

  4. The window will not maximize.

  5. The same issue appears to be when using Win + Down arrow to minimize the window.

✔️ Expected result

Pressing Win + Up arrow the current window should become maximized on the monitor.
Pressing Win + Down arrow the current window should become minimized.

❌ Actual result

Pressing Win + Up arrow or Win + Down arrow does not appear to be recognized.

@scott-fisher-iii scott-fisher-iii added the Issue-Bug Something isn't working label Dec 8, 2020
@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Dec 8, 2020
@enricogior enricogior added Product-FancyZones Refers to the FancyZones PowerToy and removed Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 8, 2020
@enricogior
Copy link
Contributor

@scott-fisher-iii
this is not a bug, since it's the default Windows Snap behavior when a window is snapped to half of the screen.
If you try a 3 columns layout, you will see a different behavior, since Windows Snap will not consider the window snapped to half of the screen

@scott-fisher-iii
Copy link
Author

I restarted PowerToys again and the behavior is working as expected on my landscape monitor, but not on the vertical monitor.
It is worth noting, as you suggested when an item is snapped to half of the screen, the first Win + Up arrow does unsnap the window and then a second Win + Up arrow does maximize the window.

On the 2 column vertical layout monitor, the window never unsnaps and never maximizes.

@enricogior
Copy link
Contributor

@scott-fisher-iii

when an item is snapped to half of the screen, the first Win + Up arrow does unsnap the window and then a second Win + Up arrow does maximize the window

That is all done by Windows Snap, nothing that FZ can do about it. Unless we reimplement our own way of doing Windows Snap, but that is not something we are planning to do.

@scott-fisher-iii
Copy link
Author

If it is outside of FZ that is fine. It just seems odd that it works on one monitor (with 2 FZ columns stacked horizontally), but on the other monitor it won't unsnap (with 2 FZ columns stacked vertically).

@enricogior
Copy link
Contributor

@scott-fisher-iii
it depends if there are spaces around the zones or other details that make Windows Snap treat the window as snapped or not.

@enricogior
Copy link
Contributor

Closing the issue since we don't have plans to reimplement Windows Snap.

@ghost
Copy link

ghost commented Mar 15, 2022

As a workaround for the desired behavior, you can increase the space around zones. There is a threshold but you will have to find that value yourself. I know that 16px works. You may also have to note that the edit pencil icon is a bit darker than the others. At least this was the case for me with a vertical monitor on the vertical 3-stack template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product-FancyZones Refers to the FancyZones PowerToy
Projects
None yet
Development

No branches or pull requests

2 participants