Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290387 - media-plugins/audacious-plugins-2.2_beta1 status icon plugin: no window after upgrade from 2.1
Summary: media-plugins/audacious-plugins-2.2_beta1 status icon plugin: no window after...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL: http://jira.atheme.org/browse/AUDPLUG...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-24 16:20 UTC by Martin von Gagern
Modified: 2009-10-27 07:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2009-10-24 16:20:14 UTC
I have trouble with audacious-2.2_beta1: it fails to display an application window.

I usually have the status icon plugin enabled, so audacious starts up as an icon in my kde 3.5 kicker system tray. Clicking on said icon usually brings up the application main window. With 2.2_beta1 that no longer works.

One of the items in the context menu opens the preferences dialog. There I can disable the status icon plugin. Still no application window appears.

Re-enabling the status icon plugin gives me an icon, but not in the place where the first one used to be, but in a new system tray slot. Repeatedly activating and deactivating the status icon plugin gives me a bunch of empty slots in my tray. When I exit audacious, with the status icon plugin enabled, via the exit item in the context menu, then all of these empty tray slots vanish along with the audacious icon.

When I restart audacious from the command line, no error message gets written to stdout or stderr. When I deactivate the status icon plugin again and then close the preferences dialog, the status icon is gone, but still no application window appears, leaving me little room for interaction with the app. I can Ctrl+C it on the command line. Restarting it still brings up neither icon nor window. A -m command line switch for "show main window" doesn't help.

When I downgrade back to 2.1, working around bug 290385, I still get no application window, and no icon either. The latter is probably due to the fact that I disabled the status icon plugin.

Renaming my ~/.config/audacious directory resolved the issue for me, at the cost of loosing all my configuration. Looking closer at the config files, I noted some properties called player_visible and player_visible_prev which are likely involved in all of this. The player_visible_prev seems to be newly introduced with 2.2_beta1 and might get a bad default value when upgrading from 2.1.

To get audacious to show the main window, the following command seems useful:
sed -i 's/^\(player_visible.*\)=FALSE/\1=TRUE/' ~/.config/audacious/config

Steps to reproduce:
 1. mv -i ~/.config/audacious ~/.config/audacious.bac
 2. emerge -1C audacious-plugins
 3. emerge -1k =audacious-plugins-2.1-r1 =audacious-2.1
 4. audacious2
 5. Preferences / Plugins / General
 6. Enable "Status Icon", close Preferences dialog
 7. Press on icon => window disappears
 8. Right-click on icon / Exit
 9. grep -E '^player_visible|^\[' ~/.config/audacious/config
    [audacious]
    player_visible=FALSE
    [skins]
    player_visible=FALSE
    [AudioCompress]
    [statusicon]
    [streambrowser]
10. emerge -1k audacious-plugins audacious
11. audacious => icon, but no window
12. Right-click on icon / Exit
13. grep -E '^player_visible|^\[' ~/.config/audacious/config
    [audacious]
    player_visible=FALSE
    [skins]
    player_visible=FALSE
    player_visible_prev=FALSE
    [AudioCompress]
    [statusicon]
    [streambrowser]
    [alsa-gapless]
14. audacious
15. Right-click on icon / Preferences / Plugins / General
16. Disable "Status Icon"
17. Enable "Status Icon" => icon appears in new slot
18. Disable "Status Icon", close Preferences dialog => neither window nor icon
19. Ctrl+C to exit audacious
20. emerge -1C audacious-plugins
21. emerge -1k =audacious-plugins-2.1-r1 =audacious-2.1
22. audacious2 => no window, no cursor
23. Ctrl+C to exit audacious2
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-10-27 00:35:13 UTC
*audacious-2.2_beta1 (20 Oct 2009)

  20 Oct 2009; <chainsaw@gentoo.org> +audacious-2.2_beta1.ebuild:
  2.2 is now in beta and waiting for you to test it. Bugs still upstream
  please. Thank you.
Comment 2 Martin von Gagern 2009-10-27 07:16:10 UTC
(In reply to comment #1)
> Bugs still upstream please. Thank you.

Done: http://jira.atheme.org/browse/AUDPLUG-105