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

VMware Workstation Player not recognized by FancyZones #666

Closed
ItHurtsToThink opened this issue Nov 6, 2019 · 10 comments
Closed

VMware Workstation Player not recognized by FancyZones #666

ItHurtsToThink opened this issue Nov 6, 2019 · 10 comments
Labels
External Dependency This bug or feature isn't resolved, but it's following an external work item. FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy

Comments

@ItHurtsToThink
Copy link

Environment

Windows build number: 10.0.18362.449
PowerToys version: 0.13.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Hold shift key while moving a VMware Player window.

Expected behavior

FancyZones layout should show and VMware Player window should snap to a FancyZone.

Actual behavior

It does not, window moves as if shift is not held.

Screenshots

@enricogior enricogior added Product-FancyZones Refers to the FancyZones PowerToy FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working labels Nov 6, 2019
@enricogior
Copy link
Contributor

Hi @ItHurtsToThink
thank you for reporting the issue.

@enricogior
Copy link
Contributor

enricogior commented Nov 6, 2019

I can reproduce the bug when the Shift key is required to enable the zones.
Turning the Shift key requirement off makes the zones appear.
Pressing Shift will not dis-activate the zones.
It looks like VMWare Player is intercepting the Shift key so PowerToys never receives the event.

@enricogior
Copy link
Contributor

There is also a side-effect after dragging a VMWare Player window: the zones activate on resizing any window.

@enricogior enricogior added the External Dependency This bug or feature isn't resolved, but it's following an external work item. label Nov 7, 2019
@bzoz bzoz self-assigned this Nov 13, 2019
@enricogior enricogior added this to the Backlog milestone Nov 22, 2019
@kjiwa
Copy link

kjiwa commented Dec 8, 2019

I can also confirm this behavior. I'm using VMWare Workstation Player 15.5.1. The VM selection dialog does snap to a zone, but once a VM has started, the window hosting the VM will not snap to a zone.

@enricogior
Copy link
Contributor

There is nothing we can do to fix it, since whatever modifier FZ uses, it gets "stolen" by VMWare and never get processed by FancyZones.
A possible workaround would be to have a list of approved apps that always activate the zones.

@lbreuss
Copy link

lbreuss commented Nov 5, 2020

+1: "A possible workaround would be to have a list of approved apps that always activate the zones."

@kkuhle
Copy link

kkuhle commented May 19, 2021

I've been using FancyZones for a few days to replace my old solution for it and it's been great. I am running into the behavior described in VMware Workstation. +1 on a solution

a list of approved apps to always activate the zones seems good to me as well

Edit: The "Use a non-primary mouse button to toggle zone activation" is working great for me. Thanks for adding it!

@AlexKalts
Copy link

Just adding a comment on this, using the option "Use a non-primary mouse button to toggle zone activation" worked fine for me. Both the middle mouse button and "back/forward" buttons work.

@ghost
Copy link

ghost commented Mar 3, 2023

There is nothing we can do to fix it, since whatever modifier FZ uses, it gets "stolen" by VMWare and never get processed by FancyZones.

To be more specific, do you mean there's nothing that can be done to address the problem of Shift+Drag to activate FancyZones when dragging a VMWare window to a different position (because VMWare hijacks the key/click)?

Or is the problem that FZ cannot detect when the VMWare window is being dragged around the screen? (It does seem to also hijack the Move functionality from the upper-left corner menu.)

A possible workaround would be to have a list of approved apps that always activate the zones.

As others have alluded to, what about adding a different zone target activation mechanism? Currently, the zones appear when shift+dragging a window by its titlebar. What if we could deliberately activate (toggle) the zones with a hot-key? Not for editing the zones, mind you, but for placing windows into zones.

The "Use a non-primary mouse button to toggle zone activation" is working great for me. Thanks for adding it!

I couldn't figure out how to make that feature work to move a VMWare window into a particular zone.

(Aside, PowerToys Run overrides Alt+Space by default, which kicks accessibility in the teeth for those who rely on that keystroke to open the corner menu of pretty much any Windows window going back to at least Windows 3.1.)

@MichaelBertrandINTEGRIM
Copy link

A workaround that worked (duh) for me is selecting a VM that is not running, or a folder in the workstation list allows FZ to do the fancy things. Limited testing shows that any running and currently selected VM, regardless of VMware Tools, hooks the keyboard and probably intercepts the shift, as stated above. This is with the current version of FZ. HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External Dependency This bug or feature isn't resolved, but it's following an external work item. FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy
Projects
None yet
Development

No branches or pull requests

8 participants