Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593694 - media-video/mplayer-1.2.1: Shows garbage when maximized.
Summary: media-video/mplayer-1.2.1: Shows garbage when maximized.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
Depends on:
Reported: 2016-09-14 00:27 UTC by Raymond Jennings
Modified: 2016-09-22 06:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

screenshot (oops.png,46.34 KB, image/png)
2016-09-14 00:28 UTC, Raymond Jennings
emerge --info (einfo.txt,6.80 KB, text/plain)
2016-09-14 00:28 UTC, Raymond Jennings

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2016-09-14 00:27:56 UTC
When I maximize mplayer, the parts of the screen not covered by the video itself show "redraw" garbage from whatever was under the window before.

See attached screenshot.  mplayer should probably at least black out the parts of its window that aren't being used.

I would also note that normally mplayer dynamically resizes itself to preserve aspect ratio if you attempt to resize it...but:

a)  I don't think it should be attempting to do so (violation of window manager principles in the X11R6 developer manual)

b)  If the window manager (openbox in this case) force-sizes the window (such as maximizing it), mplayer winds up leaving garbage in the unused parts of its window.

I'd much rather mplayer properly black-fill things, and it wouldn't hurt IMHO if it didn't try to force-size itself.  VLC does it right by fitting its video playback inside the window and black-filling any unused parts of the window.
Comment 1 Raymond Jennings 2016-09-14 00:28:20 UTC
Created attachment 445630 [details]
Comment 2 Raymond Jennings 2016-09-14 00:28:53 UTC
Created attachment 445632 [details]
emerge --info