Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 593694

Summary: media-video/mplayer-1.2.1: Shows garbage when maximized.
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: screenshot
emerge --info

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]
screenshot
Comment 2 Raymond Jennings 2016-09-14 00:28:53 UTC
Created attachment 445632 [details]
emerge --info