repomain / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 1 forks source link

Dummy applet/icon is created when used with Fluxbox wm #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Fluxbox window manager
2. Open a page in Firefox with some content which uses gecko-mediaplayer
3.

What is the expected output? What do you see instead?

Every started instance of gecko-mediaplayer creates a dummy applet on Fluxbox's 
toolbar, which does not go away even when the browser is closed 

What version of the product are you using? On what operating system?

0.9.9.2 on Gentoo; I suppose this defect does not manifest itself on other wm's 
than Fluxbox - at least Gnome/Metacity is fine.

Please provide any additional information below.

Please see the screenshot in http://steam.punk.dy.fi/gecko-mediaplayer.png . 
The two small empty squares (looks like one larger empty area) to the right of 
Liferea applet (the one with number 18 on it) are the dummy applets/icons 
created by two instances of gecko-mediaplayer.

Original issue reported on code.google.com by l33t...@gmail.com on 18 Oct 2010 at 7:22

GoogleCodeExporter commented 9 years ago
Sounds more like a window manager error than an error in the application. I 
could be due to gecko-mediaplayer creating embedded instances of gnome-mplayer. 
But in that case the window manager should be removing those icons.

Original comment by kdeko...@gmail.com on 18 Oct 2010 at 7:34

GoogleCodeExporter commented 9 years ago
That's possible, but why gecko-mediaplayer/gnome-mplayer is creating an icon in 
the first place? I've unset the 'Interface > Show status icon' in gnome-mplayer 
preferences, so the icon shouldn't even try to appear.

Anyway, gecko-mediaplayer is the only application which has such problems, 
everything else works. (Although I admit that Fluxbox can be super-sensitive to 
wrong / missing window hints and such...)

Original comment by l33t...@gmail.com on 18 Oct 2010 at 7:55

GoogleCodeExporter commented 9 years ago
you might try the 0.9.99 versions found here and see if they help. 

The code is pretty straight forward

    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    gtk_window_set_title(GTK_WINDOW(window), _("GNOME MPlayer"));

    if (windowid > 0 && embedding_disabled == FALSE) {
        gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
        GTK_WIDGET_SET_FLAGS(window, GTK_CAN_FOCUS);
    }

Original comment by kdeko...@gmail.com on 18 Oct 2010 at 8:00

GoogleCodeExporter commented 9 years ago
Sorry for the delay... No, 0.9.99 didn't change anything, the behaviour is the 
same. I opened a fluxbox bug in 
https://sourceforge.net/tracker/?func=detail&aid=3094342&group_id=35398&atid=413
960, let's see what they have to say.

Original comment by l33t...@gmail.com on 24 Oct 2010 at 8:09