ttencate / taekwindow

Taekwindow is a simple, lightweight and free Windows program that allows you to move and resize windows by dragging them with the Alt key, similar to many X11 window managers.
http://taekwindow.net/
59 stars 7 forks source link

Is it possible to make it work with touchpad-gestures like two-finger scrolling? #105

Open JobLeonard opened 11 years ago

JobLeonard commented 11 years ago

EDIT: as discussed in the comments, this could be specific to consoles, and specific to Windows 8.

ttencate commented 11 years ago

Need some clarification. Do you mean:

  1. make Taekwindow emulate such gestures if the driver does not support them, or
  2. route touchpad gestures for scrolling in the same way that mouse scrolling is routed (to the window under the cursor)?

1 is probably hard or impossible. 2 should be there already, as the touchpad driver just sends regular scroll messages to applications.

JobLeonard commented 11 years ago

2, and I am sorry to say it doesn't work like that on my Sony Vaio T13.

ttencate commented 11 years ago

Boo... But without access to a Sony Vaio T13 to do some intense poking and prodding, I don't think there's much I can do, sorry :(

JobLeonard commented 11 years ago

Eh.. this needs nuancing: it does work some of the time, but specifically not with consoles (yet the latter does work with a mousewheel?)

So if I have cmd.exe running, it always keeps the two-finger scrolling attached to it, even when the mouse pointer is hovering over a different window.

EDIT: Comment sniped! Anyway, maybe this is command line specific problem is reproducable on your machine as well?

ttencate commented 11 years ago

Could well be... cmd.exe is a very strange beast. When next in Windows, I'll take a look. ETA > 3 weeks though.

JobLeonard commented 11 years ago

Well, in the meantime I found another window with a similar type of problem! In this case it even applies to mouse scroll wheels. The default Task Manager (in Windows 8). Wonder if it will still be an issue if I replace it with Process Explorer, but that's an aside.

Task Manager has focus: task manager scrolls no matter where the cursor is

Other window has focus: windows behave as expected, except when the cursor is hovering over the Task Manager. Then nothing scrolls.

Hope this helps in narrowing down the cause of the problem!

ttencate commented 11 years ago

I don't have this problem with cmd.exe. If the cmd window has focus, I can still scroll other windows by moving the cursor over them. Maybe it's a Windows 8 specific problem, but I don't use Windows 8...

Task Manager runs as the Administrator user, and Windows's security model doesn't let mouse events get through to Taekwindow. I don't think there's anything I can do to make it work.

JobLeonard commented 11 years ago

If it's not reproducable in Windows 7 it sounds like it could be something about the new/legacy UI split. Oh well, it's a minor nuisance anyway - it violates the principle of least surprise but if you know about it it's fine. Thanks for taking a look into it!