"Authenticate" window shows in launcher as "Polkit-gnome-authentication-agent-1"

Bug #740844 reported by Matthew Paul Thomas
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
Low
Unassigned
Unity
Fix Released
Low
Unassigned
bamf (Ubuntu)
Fix Released
Low
Robert Ancell
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

unity 3.6.6-0ubuntu3, policykit-gnome-1 0.99-1ubuntu4, Ubuntu Natty

1. Do something that requires authentication: -- for example, open the Time & Date settings and choose "Unlock".
2. Hover over the new item in the launcher.

What you see: A tooltip saying "Polkit-gnome-authentication-agent-1".

What you should see: either
* no new item in the launcher at all; or
* the launcher tooltip says something sensible, like "Authenticate".

Tags: sniffles

Related branches

tags: added: sniffles
Mirco Müller (macslow)
Changed in unity:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Mirco Müller (macslow) wrote :

This probably needs a proper translation for the dialogs default title. At the moment register_client_to_gnome_session() in policykit-1-gnome-0.99/src/main.c just sets app_id to "polkit-gnome-authentication-agent-1.desktop", which is the source for this odd name. But something like g_application_set_application_id(app, _("Authenticate")) should be used.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The title is coming from policykit-1-gnome, reassigning

affects: unity (Ubuntu) → policykit-1-gnome (Ubuntu)
Changed in policykit-1-gnome (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
importance: Undecided → Low
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

I think this is the same as https://bugs.launchpad.net/unity-2d/+bug/737539 , so I think the launcher should get the title of the window rather than the app's id, which might not be set in a lot of apps/daemons

Revision history for this message
Sebastien Bacher (seb128) wrote :

Robert you said you were ok to have a go at that issue so I assign it to you but feel free to unassign yourself if you are busy or have no interest for it

Changed in unity (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This certainly is a tricky one..

This dialog is not a traditional application (it can't be launched directly) so it doesn't have an application name. The desktop file is /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop - it's not in /usr/share/applications and shouldn't be used for naming information. Potentially polkit-gnome-authentication-agent-1 could launch different dialogs that have no relation to each other so there is no common name for polkit-gnome-authentication-agent-1 (or rather the current name is the most valid!)

I'd almost say this dialog shouldn't be shown at all in the launcher (it certainly shouldn't be able to be pinned), but you may need to switch to it (if you lose it under another window).

I'm going to dive into unity/bamf and see if they have a concept of a transient window that is not an application and see if they can detect this window as such.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Fixed in lp:~robert-ancell/bamf/lp740844 as a change to BAMF. Reassigned this bug from unity to bamf.

affects: unity → bamf
affects: unity (Ubuntu) → bamf (Ubuntu)
Changed in bamf (Ubuntu):
status: Confirmed → Triaged
Changed in policykit-1-gnome (Ubuntu):
status: Confirmed → Invalid
Changed in bamf:
status: Confirmed → Fix Committed
Changed in bamf (Ubuntu):
status: Triaged → Fix Committed
Changed in unity:
status: New → Fix Committed
importance: Undecided → Low
milestone: none → 3.8.10
Changed in bamf:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.2.90-0ubuntu1

---------------
bamf (0.2.90-0ubuntu1) natty; urgency=low

  * New upstream release.
    - compiz assert failure: *** glibc detected *** compiz: double free or
      corruption (out): 0x0a1c5a38 *** (LP: #761372)
    - "Authenticate" window shows in launcher as "Polkit-gnome-authentication-
      agent-1" (LP: #740844)
 -- Didier Roche <email address hidden> Tue, 19 Apr 2011 19:09:34 +0200

Changed in bamf (Ubuntu):
status: Fix Committed → Fix Released
no longer affects: policykit-1-gnome (Ubuntu)
no longer affects: bamf (Ubuntu Quantal)
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.