mafintosh / playback

Video player built using electron and node.js
https://mafintosh.github.io/playback/
MIT License
2.01k stars 237 forks source link

Dragging video canvas in non-fullscreen-mode #91

Open Tomgroot opened 8 years ago

Tomgroot commented 8 years ago

If I grab the video canvas with my mouse and try to drag the window somewhere else, it messes up the position of the window. After I do that, the video keeps jumping away from my mouse (till I restart the app). If I try to move the window via the tabs (above the video canvas) it works perfectly.

EDIT: It only happens when I try to grab the top of the video canvas. Below a certain level it works fine. I also noticed a small jump of the window right before I start moving the window (below that certain level I described). It looks like the grab coordinates differ (are around 50px higher) from the actual mouse coordinates. When it goes wrong it looks like it is thinking I am still dragging, while I did already released the left mouse button. Though it is only pushing the window in one direction (e.g. down and to the right, not up and the left) result: the window leaves my screen and I am unable to bring it back.

pietchaki commented 8 years ago

I also noticed this issue, but restarting the app doesn't solved. After it bugs, i need to right-click in the top part of video canvas, then left-click inside the video.

mohammedpatla commented 8 years ago

Bump , Still persist the only way i use the app is in full screen mode because when i grab it it automatically moves to the left regardless of what i do with my mouse.