mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.89k stars 2.84k forks source link

`--no-title-bar` mode the title bar appears after toggling fullscreen and window-maximized #14126

Open verygoodlee opened 2 months ago

verygoodlee commented 2 months ago

Important Information

Provide following Information:

Reproduction steps

Expected behavior

N/A

Actual behavior

a small title bar appears. the left right and bottom borders disappears. the rounded window corner changes to right angle window corner. 屏幕截图 2024-05-12 210248

Log file

log.txt

Sample files

N/A

kasper93 commented 2 months ago

I have a fix for that on my local branch, that's why I didn't see that.

Fixed by https://github.com/mpv-player/mpv/pull/14127 you can try build from there

verygoodlee commented 2 months ago

Fixed by #14127 you can try build from there

it works.

senorYME commented 2 months ago

same title bar is missing for me, on garuda distro

llyyr commented 2 months ago

same title bar is missing for me, on garuda distro

open a new issue, this one is for windows and almost definitely completely unrelated to yours.

verygoodlee commented 1 week ago

can also reproduce with option --no-title-bar --window-maximized=yes --auto-window-resize=yes.

auto-window-resize will resize the maximized window, then small title bar appears.

I think auto-window-resize should not work on maximized window, just as it doesn't work on fullscreen.