Grey out entry in Ubuntu Unity 14.04+

Bug #1440061 reported by costales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-sound (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi!
I developed a player for play noise sounds from the sound indicator.

I'm using this library:
http://theravingrick.blogspot.com.es/2011/02/easily-support-sound-menu-in-python.html
in my code:
https://code.launchpad.net/anoise

When the player is running, the entry in the sound indicator is grey out, as you can see in the attachment.
But all works fine anyway. It's just the grey color.

I reviewed all the code and library and I'm stuck in this issue.
FYI, these tests:
1. With the precise indicator-sound is not grey.
2. In Ubuntu MATE is not grey.
3. The library is returning a critical error: http://paste.ubuntu.com/10730511/ But others players aren't grey.

Thanks in advance!!

Revision history for this message
costales (costales) wrote :
Revision history for this message
Kai Mast (kai-mast) wrote :

I think the problem is that your application runs in the background. There is no way to bring it focus using the sound menu.

How do I close it?

Revision history for this message
costales (costales) wrote : Re: [Bug 1440061] Re: Grey out entry in Ubuntu Unity 14.04+

It's not really in the background, the window is hidden.

Please, uncomment this line:
costales@netbook:~$ grep "debug" /usr/share/anoise/anoise.py
    #win.show_all() # For debug
costales@netbook:~$

Logout & login again. Click on the entry "Ambient Noise" of the sound
indicator (it's normal before the click) and you'll see the window, but the
entry will change to grey.

Thanks in advance!! I really apreciate the help.

Revision history for this message
costales (costales) wrote :

Hi! I fixed it with this change in the code:
http://bazaar.launchpad.net/~costales/anoise/trunk/revision/25
The application needed the CanRaise for the not grey entry.
Cheers! :)

Changed in indicator-sound (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.