Skip to content

Window resize has a max limit? #7426

@d3x0r

Description

@d3x0r

Important Information

Provide following Information:

  • mpv version : 1.0.32.0-1
  • Linux Distribution and Version : Arch Latest (updated last night)
  • Source of the mpv binary : prebuilt image from Arch package manager
  • If known which version of mpv introduced the problem : Unknown
  • Window Manager and version : weston/KWin/Plasma (all latest available)
  • GPU driver and version : amdgpu
  • Possible screenshot or video of visual glitches : n/a

Reproduction steps

Start playing a video. The window starts at the size of the video; I have 2 4k monitors, and most videos I get are like 360p... so I usually resize the window. Grabbing the title bar towards the top of the window allows me to resize the window, however, once I reach about 2x the size of the current (unsized) window, the sizing stops, and snaps back to the starting size. So to stretch most videos to a confortable size I have to click, drag bigger, move the mouse back a bit since I will inevitably stretch it larger than 2x to start, and eventually let go, and have to reclick the sizing and stretch it again... depending on how close to 2x I got in the irst place I can usally get a good display size, but often I only get to like 1.5x, so the second resize will still end up moving bigger than 2x the new size and have to re-adjust the mouse back to where it is resizing...

Expected behavior

As long as the mouse is clicked and held, the resizing should work, without some sort of limit .

and basically all the resizes should be greater then the prior...

[  15.922][v][vo/gpu/wayland] Resizing due to xdg from 1841x1036 to 1838x1034

Actual behavior

I don't see anything in the log about why the size drops back immediately to the small size.

[  16.169][v][vo/gpu/wayland] Resizing due to xdg from 1838x1034 to 1848x1040
[  16.177][v][vo/gpu/wayland] Resizing due to xdg from 1848x1040 to 1045x587

Log file

mpv.log

Sample files

I don't know that any specific video is required; it happens on all that I have; it might require a monitor big enough to stretch videos a couple times...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions