[MPlayer-dev-eng] [PATCH] x11 vo drivers override user settings for window placement

Thomas Orgis thomas-forum at orgis.org
Mon Jun 25 17:30:28 CEST 2007


Am Mon, 25 Jun 2007 18:59:42 +0400
schrieb Vladimir Mosgalin <mosgalin at VM10124.spb.edu>: 

> Hi Reimar Doeffinger!
> 
> At least I don't see anything wrong with media player being
> (probably the only) application which doesn't preserve its old position
> and doesn't follow "smart" window placement, like other windows. It
> just seems logical to have it always in the center of the screen.

I think the window manager should always be allowed to do its job.
A xinerama setup is the obvious situation where you don't want the window
centered in the (virtual) screen, but there can be others.
Personally, I watch video fullscreen or manually move a smaller window to
a place where it doesn't disturb other content on screen.
I can imagine reserving a certain location in my window layout for the
small mplayer window and then have the choice for fullscreen or there.

The reason that the lack of support on the mplayer side for that is no
big issue for me atm. is just that I don't watch movies on my laptop/desktop
system very often. I have a big tube TV connected to a Dxr3 card for that...
For sure, specifying a proper geometry parameter and making this persistent
via shell/Xresources (?) means should work, but window managers offer easier
ways to handle that (fluxbox, at least;-).

> As about bugs, imho the worst placement-related bug is that mplayer
> loses its window position when switching to the next file, even with
> -fixed-fo; even more, it loses its fullscreen status, which is really
> annoying.

I agree to that. It makes sense for mplayer to stay in fullscreen mode when
I switched to it during playback - also when the next file starts.
Same goes for window position - the application shall not question my decision
to put it in a certain place.
Mplayer may have to resize the window for aspect ratio... perhaps choose the
largest rectangle that retains aspect ration within the user-defined size...


Alrighty then,

Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070625/c699fbf1/attachment.pgp>


More information about the MPlayer-dev-eng mailing list