On 2013-02-09 12:29:58, Francesco Poli wrote:
> On Sat, 9 Feb 2013 01:08:33 +0100 Sebastian Ramacher wrote:
> 
> > On 2013-02-08 23:20:12, Francesco Poli wrote:
> > > Please note that I have the "Remember Window Size and Position" setting
> > > unchecked in gnome-mplayer preferences.
> > 
> > What about "Resize window when new video is loaded"?
> 
> It is unchecked.
> I've just tried to check it, but the result is exactly the same:
> gnome-mplayer often starts with zero-height canvas, as if it were
> genuinely convinced that the video had a zero (or maybe 1) pixel
> height.
> 
> Nonetheless, it says:
> 
>   [...]
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12 
>   GMLIB-Message: media_loaded: position=0.000 length=772.160 start_time=0.000 
> run_time=0.000 volume=1.00 player=running media=play 
> uri=file:///.../voyage.ogv
>   GMLIB-Message: in media state change with state = play dontplaynext = 0
>   GMLIB-Message: trying to disable screensaver
>   GMLIB-Message: ERROR: Failed to get value of property 'sub_source'.
>   GMLIB-Message: current size = 416 x 1
>   GMLIB-Message: Changing window size to 400 x 304 visible = true
> 
> which is not true, since the canvas is still zero-height.
> 
> As soon as I hit [Ctrl+1], the canvas is correctly re-sized and I get:
> 
>   GMLIB-Message: trying to disable screensaver
>   GMLIB-Message: current size = 0 x 0
>   GMLIB-Message: Changing window size to 400 x 304 visible = true
> 
> This time gnome-mplayer is telling me the truth, as the video is really
> 400 x 304 (confirmed by taking screenshots) and the canvas seems to be
> correctly sized. 
> 
> By the way, can you reproduce the bug, or am I the only one with this
> awkward issue?!?

No, I've tried in multiple environments (default xfce, xfce + xmonad,
gnome) and was unable to reproduce the problem. Could you try it with
another desktop environment?

I've seen a commit [1] related to the widget layout code. It talks about
layout issues when playing audio files, but maybe there are some more
problems with that code. It'd be great if you can also test if the
problem persists with this patch applied. [2]

Regards

[1] https://code.google.com/p/gnome-mplayer/source/detail?r=2390
[2] Please let me know if I should prepare a package for testing.
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to