returning from fullscreen

1 view
Skip to first unread message

Onur Küçük

unread,
Jul 15, 2008, 10:19:49 PM7/15/08
to gecko-me...@googlegroups.com

Hello,

Currently I am using gecko-mediaplayer and gnome-mplayer 0.6.3 with
Firefox 3.0.1 under KDE 3.5.9. While watching a video without using
fullscreen, everything seems to work fine.

Switching to fullscreen opens gnome-mplayer as a new
fulscreen borderless window (as a new entry in the taskbar of kde), and
probably related to it If this is not the expected behaviour, leaving
fullscreen mode makes the video window a "borderless video which is not
playing as embeded in firefox", I can move the window around with "alt
+mouse_button_1 etc".

I am not sure if this is related to gnome-mplayer set as another
application in the taskbar, when run in fullscreen, but I need the
video to be embeded in firefox when I come back.

This happens in firefox 2.x series too. Happens with default options.

Is this a known bug and how can I fix this ?


regards,
--
Onur Küçük Knowledge speaks,
<onur.--.-.pardus.org.tr> but wisdom listens

Kevin DeKorte

unread,
Jul 16, 2008, 12:04:16 AM7/16/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I'm wondering if this is a window manager error. I do not see this
problem when using metacity.

When going fullscreen, the window is unparented and then put fullscreen,
when returning back, the window is unfullscreened and then reparented
back into firefox. That is the only way to do that.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIfXNA6w2kMH0L1dERAtrYAJ9uBWIOZWUm+2tkMWU9u23zL7Qc0ACfVvpI
VZN27NssUCJiJ9N1ssR/bgs=
=orEs
-----END PGP SIGNATURE-----

Message has been deleted

Santana

unread,
Jul 16, 2008, 8:51:01 AM7/16/08
to gecko-mediaplayer
Same problem here (Slackware 12.1 + KDE 3.5.9 + Gecko-mediaplayer
0.6.3 + FF3).

Leaving fullscreen mode I get this:

http://img299.imageshack.us/my.php?image=geckomplayerod7.jpg

With mplayerplug-in, fullscreen works perfectly!

Onur Küçük

unread,
Jul 17, 2008, 1:16:59 PM7/17/08
to gecko-me...@googlegroups.com

On Tue, 15 Jul 2008 22:04:16 -0600
Kevin DeKorte <kdek...@gmail.com> wrote:
...

> I'm wondering if this is a window manager error. I do not see this
> problem when using metacity.
>
> When going fullscreen, the window is unparented and then put
> fullscreen, when returning back, the window is unfullscreened and
> then reparented back into firefox. That is the only way to do that.

My guess too, might be related to the window manager (kwm in this
case). It was working fine with mplayerplug-in under kde though, so I
believe this can be fixable.

What can I do to dig or help you dig this ? :)

Kevin DeKorte

unread,
Jul 17, 2008, 1:32:16 PM7/17/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=?ISO-8859-1?Q?Onur_K=FC=E7=FCk_ wrote:
|
| On Tue, 15 Jul 2008 22:04:16 -0600
| Kevin DeKorte <kdek...@gmail.com> wrote:
| ...
|> I'm wondering if this is a window manager error. I do not see this
|> problem when using metacity.
|>
|> When going fullscreen, the window is unparented and then put
|> fullscreen, when returning back, the window is unfullscreened and
|> then reparented back into firefox. That is the only way to do that.
|
| My guess too, might be related to the window manager (kwm in this
| case). It was working fine with mplayerplug-in under kde though, so I
| believe this can be fixable.
|
| What can I do to dig or help you dig this ? :)
|


The code is basically the same. The only difference is that in
mplayerplug-in I use XReparentWindow and in gnome-mplayer I use
gdk_window_reparent. Which should call XReparentWindow. The function to
lookat is 'menuitem_fs_callback' in gui.c

So that is where I would start. I don't use KDE and so I'm not seeing
the problem on my machine.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.9 (GNU/Linux)


Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkh/giAACgkQ6w2kMH0L1dFSVACfc0FFCcBtUfrK6i0DuqVF0yJ+
JWYAn1mcZ2CG8dptOl9ysILfcU4GMeT1
=UKLh
-----END PGP SIGNATURE-----

Onur Küçük

unread,
Jul 20, 2008, 2:43:36 PM7/20/08
to gecko-me...@googlegroups.com

> The code is basically the same. The only difference is that in
> mplayerplug-in I use XReparentWindow and in gnome-mplayer I use
> gdk_window_reparent. Which should call XReparentWindow. The function
> to lookat is 'menuitem_fs_callback' in gui.c

I have changed the gdk_window_reparent() stuff to XReparentWindow in
gnome-mplayer (patch attached, in case someone else would like to test
and confirm) but I am still having the problem.

I am using gtk+ 2.12.11 which includes the fix from
http://bugzilla.gnome.org/show_bug.cgi?id=524110 . Reverting that fix
did not make a difference. Also tried with gtk 2.13.4 (which has some
new stuff like offscreen redirection) but the problem is still
there. Perhaps it is not GDK/GTK related ?

Any ideas ?

fs.patch

Kevin DeKorte

unread,
Jul 20, 2008, 6:28:59 PM7/20/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I'm pretty sure it is a window manager bug... but that is just my guess.
Since everything works fine with metacity.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.7 (GNU/Linux)


Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIg7wq6w2kMH0L1dERAi64AJ4iIryyk7n6PzCElNPDZyHaQTJQdACgh0U/
upzBM864X858M/o0qduvUZE=
=Dyrc
-----END PGP SIGNATURE-----

Onur Küçük

unread,
Jul 20, 2008, 7:21:35 PM7/20/08
to gecko-me...@googlegroups.com

On Sun, 20 Jul 2008 16:28:59 -0600

Kevin DeKorte <kdek...@gmail.com> wrote:
...
> I'm pretty sure it is a window manager bug...

Probably, I really would like to be sure where the problem occurs

> but that is just my guess. Since everything works fine with metacity.

Yes, but it is working fine with mplayerplug-in (3.55 to be precise) so
I believe it can be fixable. But how, that I could not figure out.

Kevin DeKorte

unread,
Jul 23, 2008, 5:00:09 PM7/23/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=?ISO-8859-1?Q?Onur_K=FC=E7=FCk_ wrote:
|
| On Sun, 20 Jul 2008 16:28:59 -0600
| Kevin DeKorte <kdek...@gmail.com> wrote:
| ...
|> I'm pretty sure it is a window manager bug...
|
| Probably, I really would like to be sure where the problem occurs
|
|> but that is just my guess. Since everything works fine with metacity.
|
| Yes, but it is working fine with mplayerplug-in (3.55 to be precise) so
| I believe it can be fixable. But how, that I could not figure out.
|
|

I did a little testing with kwin today from kde 3.5.9 and when I ran it
when replacing metacity. I got a lot of fullscreen bugs pretty quickly.
So I still think that the bugs are in kwin.

Also, mplayerplug-in is an inprocess plugin for firefox where
gecko-mediaplayer is running gnome-mplayer out of process and that could
be why it has issues being nested back into the window where
mplayerplug-in does not.

Anyway, I still am of the opinion that the bug is in kwin. But if
someone figures out a workaround. I am more than willing to merge it in.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIh5vZ6w2kMH0L1dERAt87AKCGt/Gkp4SI/IvL1nupcx6/zFrhjwCfc+CK
JxGJy5hdGRmyo6f7UXpztlo=
=CJS9
-----END PGP SIGNATURE-----

Santana

unread,
Aug 2, 2008, 9:09:58 AM8/2/08
to gecko-mediaplayer


On 23 Lug, 23:00, Kevin DeKorte <kdeko...@gmail.com> wrote:
>
> Anyway, I still am of the opinion that the bug is in kwin. But if
> someone figures out a workaround. I am more than willing to merge it in.
>
> Kevin
>

If I am not wrong, Adobe Flash Plugin for Firefox uses GTK2 libraries
and fullscreen works perfectly under KDE!

Kevin DeKorte

unread,
Aug 4, 2008, 10:23:09 AM8/4/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

libflashplayer is also an inprocess application like mplayerplug-in. I'm
sure that is why both of them work properly and gnome-mplayer does not
under kwin.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIlxDN6w2kMH0L1dERAtB8AJ9W2KVfx1zcA9zOmV+gHZ/rTHP/6ACfeMd2
l8iTdIMlggV2k0jT4asy2d8=
=2pRe
-----END PGP SIGNATURE-----

Kevin DeKorte

unread,
Aug 4, 2008, 10:56:19 AM8/4/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This might be related to this bug...

http://bugzilla.gnome.org/show_bug.cgi?id=524110

Not sure if the patch has been merged up into gtk

Also, I did some more testing with this in kwin today and I still could
not make this work correctly. I tried a variety of things, but still not
working.

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIlxiT6w2kMH0L1dERAsfWAJ42yEVgFnMmCCKqTwKv7z+xbuqw0wCeMKge
JuPc9h/c4VR4/A0z4zHm2BI=
=OUnn
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages