-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPV's windows resize completely wrong when tiled #40
Comments
Hmm, no idea why that happens. Definitly need help with this |
@Leleat It appears to be the way this app resizes (by ratio). Because you're setting the width and height, it's ending up with the wrong size. Fortunately I don't see anything other than the odd media player doing this. Totem (Gnome's default) seems to be fine. |
Yes, I tried gnome-mplayer and celluloid (mpv based) too and both work just fine. |
I tried to run mpv but it's constantly crashing on me when I open media with it. So I can't test it. But if it's this
Maybe try changing
to
Even if this works, that means my extensions can't tile mpv other then maximized (vertically and/or horizontally)... at least I think so... |
No luck, it didn't make any difference. |
Too bad :/ Just to be sure, you reloaded GNOME shell? |
Of course I did, I even rebooted the PC to be sure. I finally reverted to the original code because it seemed to add some weird animation when tiling other windows. |
This issue might be resolved with a MPV update. Assuming this is the same issue.
|
Couldn't find it the relevant issue in mpv's repo but based on the release notes of
I was able to test Any way closing this issue as it's not really my bug. I am using whatever API Mutter provides for resizing a window (which is just 1 method). So I don't think I can 'fix' it with a gnome extension. I am compiling a list with incompatible apps at #61. So far mpv is the only known app, which doesn't work (except obvious stuff like popups etc.). If someone has a fix/workaround or knows a tiling extension which works with mpv, feel free to comment here or directly open a pr. |
Describe the bug
MPV's windows resize with completely wrong dimensions and position when I tile them. MPV should add black borders to the image to adapt the window to the desired sizes, but it does not happen when Tiling Assistant is enabled. Whatever media file I open, it can't resize the window correctly.
Steps To Reproduce
Open a MPV window and tile it.
Screenshots/-captures
video_2021-03-09_18-38-05.mp4
System Info:
The text was updated successfully, but these errors were encountered: