huynhsontung / Screenbox

LibVLC-based media player for the Universal Windows Platform
GNU General Public License v3.0
957 stars 37 forks source link

Lock aspect ratio and drag window from anywhere #416

Open LoathingScreen opened 3 weeks ago

LoathingScreen commented 3 weeks ago

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

huynhsontung commented 3 weeks ago
  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.

quantumleap- commented 2 weeks ago

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.