Move window away from mouse

Feature requests for VLC.
sweke
New Cone
New Cone
Posts: 1
Joined: 06 Aug 2008 11:17

Move window away from mouse

Postby sweke » 06 Aug 2008 11:39

I've done a quick search but haven't found mention of a feature like this so here goes...

I often watch videos on VLC in a small window (with 'always on top') while doing other work, however the VLC window invariably gets in the way of the 'work' application. It might be useful to have a feature that makes the VLC window snap to a different corner whenever the mouse moves over it, i.e. the window 'runs away' from the mouse, allowing the user to see the 'work' application underneath.

Some issues:
1) Obviously some sort of hot key mechanism would be needed to get out of this mode
2) Is this a feature that will need to be developed for each particular windowing system (Windows, gnome etc)?

I have some skills in Python, Java and C# so even some pointers on how to go about writing it myself would be great.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Move window away from mouse

Postby VLC_help » 06 Aug 2008 23:25

2. Even if VLC would abstract all that windowing code to one usable class, I am fairly sure that you would have to tweak at least one GUI to make it work properly because there are all kinds of strange behaviors with different GUIs (I am 99% sure that multimonitor or virtual desktop setups would cause issues).

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: Move window away from mouse

Postby CloudStalker » 08 Aug 2008 00:24

It sounds like a good idea though.

hfswjyr
Blank Cone
Blank Cone
Posts: 58
Joined: 25 Jun 2007 11:20

Re: Move window away from mouse

Postby hfswjyr » 08 Aug 2008 07:16

Yes, I could imagine it being handy as well.

Sounds difficult to do though.
Image

breakneckridge
Blank Cone
Blank Cone
Posts: 14
Joined: 11 Apr 2006 03:57

Re: Move window away from mouse

Postby breakneckridge » 11 Aug 2008 11:07

If you're on Mac OS X, one thing you can do right now is command-drag the video window. Command-dragging lets you move a window in a background program without bringing that program to the front. So you still have to manually move the VLC video window, but it saves you a couple of keystrokes in that you don't have to switch front applications to do it.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: Google [Bot] and 9 guests