Anapher / Hurricane

The music player with style
GNU General Public License v3.0
130 stars 56 forks source link

Support "Win" + Arrow Keys for Docking #5

Closed DanielGilbert closed 9 years ago

DanielGilbert commented 9 years ago

Hi - I have a multi-monitor environment. It would be perfect if I could attach Hurricane to each physical monitor side, not only to the sides of the desktop.

Basically, if I use "Win" + Arrow key for docking, it will stay in the "big" view, and not turn to the "smart" view.

I haven't had a look into the code, but it would be a cool feature.

Anapher commented 9 years ago

I have a multi-monitor environment. It would be perfect if I could attach Hurricane to each physical monitor side, not only to the sides of the desktop.

Hey, I have two screens too. There are two problems with attaching Hurricane to the physical sides of the screens: 1. Where should Hurricane go to if it hides? Now, it just moves out of screen 2. Currently, there are like 5 px where you can move your mouse to so the magic arrow appears. It would need some time to find the correct location if the area is between two screens (4800 dpi mouse here).

But to react to the keys is a really good idea, thank you, I will implement that :)

DanielGilbert commented 9 years ago

I guess, in theory you could animate the width value, and just shrink it. Although I haven't had a look at the XAML layout, it might look weird.^^ And if it goes down to 0, you could simply hide the window.

But I agree, the mouse-part would be tedious, right. Thanks for implementing the keys part, I use that quite often on windows. :)