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

Make fancyzones touch friendly. #376

Open
Rustenberg opened this issue Sep 13, 2019 · 5 comments
Open

Make fancyzones touch friendly. #376

Rustenberg opened this issue Sep 13, 2019 · 5 comments
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Idea-Enhancement New feature or request on an existing product Product-FancyZones Refers to the FancyZones PowerToy

Comments

@Rustenberg
Copy link

Summary of the new feature/enhancement

People with touch inputs are unable to use the Shift key to activate zones.
While zones can always stay active if toggle is disabled, windows are the not able to be dragged without snapping.
This would be one of the solutions for usage of Fancy zones for people with only touch input available.

Proposed technical implementation details (optional)

My suggestion is to add another toggle that will activate touch control.
Parallel to the shift key, zones are to be activated when window is dragged and another 1 finger is touching the screen (So 2 fingers 1 dragging [1st finger], 1 touching [2nd finger]).
Zones would disappear if [2nd finger] is lifted, and reappear if [2nd finger] is placed on the screen, the first finger would still be dragging the window.

@Rustenberg Rustenberg changed the title Touch controls Touch controls (Solution 1) Sep 13, 2019
@enricogior enricogior added Idea-Enhancement New feature or request on an existing product FancyZones-Dragging&UI FancyZone dragging / interaction issue labels Sep 16, 2019
@enricogior enricogior added the Product-FancyZones Refers to the FancyZones PowerToy label Sep 30, 2019
@crutkas crutkas changed the title Touch controls (Solution 1) Make fancyzones touch friendly. Apr 1, 2020
@crutkas crutkas added this to the v1.0 Release milestone Apr 1, 2020
@enricogior enricogior reopened this Apr 19, 2021
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jan 3, 2022

@SeraphimaZ Think there's possibilities in detecting touch and/or pen input?

@SeraphimaZykova
Copy link
Collaborator

We can try it with the WM_TOUCH message.

@petti1589
Copy link

I got this working with GESTURESIGN from Microsoft Store.
I configured FancyZones to activate when right clicking while dragging a window. In GESTURESIGN I set two finger klick as rightclick. This way FancyZones activates when tapping with a second finger while dragging the window with the first finger. I also set two gestures to press and release ctrl for selecting multiple zones. At the moment i have to manually release ctrl.

@roxk
Copy link

roxk commented Jun 22, 2023

If no one is working on it, I can give it a shot.

On top of single-finger-holding to activate, I'd also like to consider 1-hand-touch scenario, where another hand might be holding e.g. a Surface.

I would implement double-tap-to-activate, and double-tap-to-deactivate. So a user could start dragging a window with index finger, and then double tap with middle finger to activate zone. The middle finger doesn't need to keep touching the screen to keep activating the zone - this activation is edge-triggered. To stop zone activation, just double-tap again.

  • Single-finger-holding activation
  • Double-tap activation
  • Settings

@roxk
Copy link

roxk commented Jun 22, 2023

Sadly it seems it's not doable. There is no way to hook globally for WM_TOUCH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Idea-Enhancement New feature or request on an existing product Product-FancyZones Refers to the FancyZones PowerToy
Projects
None yet
Development

No branches or pull requests

7 participants