Password dialog appears on the wrong desktop when multiple users are logged on

Bug #77299 reported by Noirin Shirley
10
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: network-manager-gnome

System: Edgy, network-manager-gnome version 0.6.3-2ubuntu6

Steps to reproduce:
        Login as user1
        Switch user
        Login as user2 (can be the same as user1)
        Repeat as desired
        Choose a encrypted wireless network from nm-applet's list, under a login of your choice

Expected result:
        Password dialog on the current desktop

Actual result:
  Two logins of same user:
    password dialog appears on the primary desktop (eg, tty7)

  Two logins of different users:
    password dialog appears on secondary desktop (eg, tty9)

  Three logins (same or different users):
    password dialog still appears on secondary desktop
    (eg, tty9, where logins used tty7, tty9, tty10)

Noirin Shirley (noirin)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Just as we did with gnome-volume-manager and gnome-power-manager, nm-applet should call /bin/check-foreground-console before doing anything. This will prevent nm-applet doing anything for inactive non-foreground users.

Changed in network-manager:
status: Unconfirmed → Confirmed
Martin Pitt (pitti)
Changed in network-manager:
importance: Undecided → Medium
Martin Pitt (pitti)
Changed in network-manager:
importance: Medium → High
Revision history for this message
Martin Pitt (pitti) wrote :

Above solution is the short-term hack that we can get into gutsy on our own. However, the only long-term solution is to fix bug #37181 upstream, either with the existing dbus or with the help of consolekit.

Changed in network-manager:
assignee: nobody → pitti
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

We use PolicyKit now, which restricts such actions to the current foreground console. Thus this is not an issue any more.

Changed in network-manager:
milestone: obsolete-milestone → none
status: In Progress → Fix Released
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.