Screenbox icon indicating copy to clipboard operation
Screenbox copied to clipboard

Lock aspect ratio and drag window from anywhere

Open LoathingScreen opened this issue 1 year ago • 2 comments

Hi, I like the player but I'm missing 2 features.

  1. The ability to resize the window in fit mode with a locked aspect ratio.

A checkbox to keep aspect ratio while resizing, as it does not make much sense for the window to be shaped in any ratio different than the video's original while playing anyway.

  1. The ability of dragging the video window by clicking in any part of the window, not just the top part when gestures are disabled.

After disabling click and drag gestures, clicking and dragging the window (to move it) from below the title bar area does nothing. We are forced to click within the top gradient of the hover overlay. It would be good to have the whole window as a drag surface when gestures are off and not just the top part with the gradient overlay.

thanks for your work

LoathingScreen avatar Aug 22 '24 19:08 LoathingScreen

  1. Lock the window aspect ratio while resizing using the mouse pointer is impossible. This is a platform limitation. That said, you can press the 1,2,3,4 key on your number row to step between percentage-based sizing while keeping the aspect ratio. I think a shortcut to increase or decrease window size incrementally would be a solution.

  2. Unfortunately this has already been considered in #127. It breaks UI logic when the whole window is draggable. Maybe another shortcut to activate the whole window draggable while it's pressed? Can revisit.

huynhsontung avatar Aug 23 '24 03:08 huynhsontung

With transpwnds you can “grab it anywhere, move it anywhere” without having to rely on individual app implementations.

*It is an old utility and may not work well in some environments.

quantumleap- avatar Aug 24 '24 04:08 quantumleap-