should not present pidgin and leave pidgin tray icon visible

Bug #340366 reported by Martin Pitt
68
This bug affects 8 people
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Fix Released
High
Ted Gould
Nominated for Jaunty by 10111
Nominated for Karmic by 10111

Bug Description

Binary package hint: indicator-applet

In current jaunty, when I start pidgin, two icons appear: the standard pidgin systray icon, and the messaging indicator, which has "Pidgin Internet Instant Messaging" in it. Clicking on that, as well as clicking on the pidgin icon have the very same effect (showing/hiding the pidgin window).

Thus this is redundant. IMHO the messaging indicator should only show itself if there are actual messages, or pidgin should not show its icon in the tray if i-a is running (I guess if that's the plan, this needs to go into pidgin-libnotify).

Also, i-a doesn't show any pidgin messages, ever. What is it actually supposed to show? I have pidgin-libnotify up and running, it shows bubbles.

Tags: dxteam
Ted Gould (ted)
Changed in indicator-applet:
assignee: nobody → ted-gould
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ted Gould (ted) wrote :

This is changing the default value in Pidgin to not show the icon in the notification area by default.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 340366] Re: should not present pidgin and leave pidgin tray icon visible

Ted Gould [2009-03-12 16:52 -0000]:
> This is changing the default value in Pidgin to not show the icon in the
> notification area by default.

How would the icon appear then if the user doesn't have MI? Because,
for example, he's running XFCE or KDE, or just removed it?

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 340366] Re: should not present pidgin and leave pidgin tray icon visible

On Thu, 2009-03-12 at 19:05 +0000, Martin Pitt wrote:
> Ted Gould [2009-03-12 16:52 -0000]:
> > This is changing the default value in Pidgin to not show the icon in the
> > notification area by default.
>
> How would the icon appear then if the user doesn't have MI? Because,
> for example, he's running XFCE or KDE, or just removed it?

I'm not sure how we can take care of that case. I think in general we
could default to not having it in the notification area, and then allow
for people to enable it if they want to use it. To be clear, I don't
want to migrate current user settings here, I don't think that we can do
that in this case. I want to just change the default for new
installations where people wouldn't expect it to be in the notification
area already.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 340366] Re: should not present pidgin and leave pidgin tray icon visible

Ted Gould [2009-03-13 7:09 -0000]:
> I'm not sure how we can take care of that case. I think in general we
> could default to not having it in the notification area, and then allow
> for people to enable it if they want to use it. To be clear, I don't
> want to migrate current user settings here

Right, that would be crazy.

> I want to just change the default for new installations where people
> wouldn't expect it to be in the notification area already.

Since that wouldn't work with upgrades, stracciatella, and other
window managers, maybe we should keep the current behaviour of not
showing MI all the time when pidgin is running (which did a while
ago), but instead just show it when actual messages are available?

With jaunty du jour I actually don't have that redundancy any more, so
this became a lot less urgent.

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

raising priority and mile-stoning as per David Barth

Changed in pidgin (Ubuntu):
importance: Medium → High
milestone: none → ubuntu-9.04-beta
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pidgin - 1:2.5.5-1ubuntu2

---------------
pidgin (1:2.5.5-1ubuntu2) jaunty; urgency=low

  * Adding debian/patches/11_buddy_list_really_show.patch to make
    it so that the buddy list tries harder to appear. This fixes
    some issues with it not appearing. (LP: #341142)
  * Adding debian/patches/10_docklet_default_off.patch to set the
    default behavior to have no notification area icon. This fixes
    (LP: #340366)

 -- Ted Gould <email address hidden> Thu, 19 Mar 2009 00:49:56 -0500

Changed in pidgin:
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Reopening. I have the lastest version running, and I still have both the MI and the pidgin icon.

In addition, this patch also seems to have caused a regression: I additionally have the "Buddy list" task bar button on *every* workspace now. Before, that task bar button was only on the workspace where the pidgin window lived (i. e. as with any other application).

Changed in pidgin (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
ajonat (ajonat) wrote :

I can confirm what Martin Pitt said: I have the "Buddy list" task bar button on *every* workspace now. Before, it was only on the workspace where the pidgin window was openend.

Revision history for this message
Omegamormegil (omegamormegil) wrote :

Also, defaulting to having no notification icon (which is the default at the moment) also causes the unexpected behaviour of exiting pidgin when clicking the X. I expected that the envelope icon on the indicator applet which was present before I accidentally closed Pidgin meant the program would "minimize to tray" when I closed the buddy list window.

Revision history for this message
Omegamormegil (omegamormegil) wrote :

I opened a new bug against Pidgin:

Closing Pidgin buddy list window exits Pidgin by default
https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/356024

David Barth (dbarth)
tags: added: dxteam
Revision history for this message
Richard Laager (rlaager) wrote :

Ted, can you clarify the cases the 11_buddy_list_really_show patch is supposed to address? The documentation for _keep_above() indicates that applications generally aren't supposed to call it.

Is this an attempt to work around the fact that calling gtk_window_present() when running recent-ish versions of metacity doesn't present the window if it's on another workspace (instead, causing it to pulse in the taskbar)?

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 340366] Re: should not present pidgin and leave pidgin tray icon visible

On Wed, 2009-04-15 at 04:24 +0000, Richard Laager wrote:
> Ted, can you clarify the cases the 11_buddy_list_really_show patch is
> supposed to address? The documentation for _keep_above() indicates that
> applications generally aren't supposed to call it.
>
> Is this an attempt to work around the fact that calling
> gtk_window_present() when running recent-ish versions of metacity
> doesn't present the window if it's on another workspace (instead,
> causing it to pulse in the taskbar)?

Yes, exactly. And Compiz with many levels of focus stealing. It still
doesn't work at nearly 100%, much much lower. It does make the problem
better, but the patch is getting pretty extreme.

Revision history for this message
Ted Gould (ted) wrote :

I'm remarking this one as Fix Released. Not that I believe it is truely solved, but more that I believe that we've done all we can here. The reality is that the Window Mangers are fighting a problem with focus stealing, which is admirable, but we really want to effectively steal focus. So any way that we do solve the problem is a bug in the WM's goals. So then we're jumping through hoops to try and make it really work. This is an arms race, and we all know how successful those end up. Long term this needs to be fixed in the toolkits with some sort of truce decided between the toolkits and the window managers. But, that is way out of scope for this bug.

Changed in pidgin (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
10111 (joachim-neu) wrote :

The issue is still NOT solved here on Ubuntu Jaunty RC! I also have the contact list on every virtual desktop in the windows list!

Revision history for this message
Pascal de Bruijn (pmjdebruijn) wrote :

I consider this bug very problematic, so much I've completely stopped using Pidgin on Jaunty.

Empathy is offering refuge...

Revision history for this message
10111 (joachim-neu) wrote :

I agree with Pascal, please someone fix this issue.

Revision history for this message
adamski (adam-hasselbalch) wrote :

Confirmed on Jaunty Release (if anyone ever thought otherwise ;)); definitely NOT 'Fixed'.

Buddy list appears on window list on all virtual desktops. Annoying!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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