Auto-opening Update Manager opens frontmost with xfwm4

Bug #335928 reported by Mario Limonciello
8
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
Unassigned
Xfwm4
Fix Released
Unknown
update-manager (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Jaunty by Charlie Kravetz
xfwm4 (Ubuntu)
Fix Released
High
Lionel Le Folgoc
Nominated for Jaunty by Charlie Kravetz

Bug Description

For Ubuntu 9.04, update-notifier behavior was changed such that update-manager will be automatically launched on a regular basis, but behind other applications.

It does this by launching "update-manager --no-focus-on-map". On standard Ubuntu (using metacity), this behavior works properly.

You can manually verify by running that command in a terminal.

On Xubuntu & Mythbuntu (using xfwm4), the update manager window pops up above your running application.

Related branches

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

I can confirm this behavior. Update-manager steals focus in Xubuntu Jaunty. It should be set to not steal focus, so that is doesn't interrupt any work being done. Thanks for helping improve Ubuntu.

Changed in xfwm4:
importance: Undecided → High
status: New → Triaged
Changed in mythbuntu:
status: New → Confirmed
description: updated
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Please forward this bug upstream (and the result of the "xprop" command on the "update-manager --no-focus-on-map" window may be useful for the upstream developer). Thanks.

Revision history for this message
Vincent (vinnl) wrote :

Reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=574233 - it would be appreciated if you could provide the information Lionel asked for over there.

Revision history for this message
Michael Vogt (mvo) wrote :

Sorry, I do not see what update-manager itself can do. It sets the focus_on_map property to false so it requests from the WM to not get focus. A possible workaround for xubuntu/mythubuntu could be to set the /apps/update-notifier/auto_launch default to False in the xubuntu-system-settings package (or something like this).

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

If there is a bug in xfwm4, which is a Xfce component, it should be forwarded to bugzilla.xfce.org, not bugzilla.gnome.org. :)

Revision history for this message
Vincent (vinnl) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Should be fixed upstream (r29657), I'll include the patch in the package in a few hours.

Changed in xfwm4:
assignee: nobody → mrpouit
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfwm4 - 4.6.0-1ubuntu2

---------------
xfwm4 (4.6.0-1ubuntu2) jaunty; urgency=low

  * debian/patches/01_fix-windows-focus-on-map.patch: cherry-pick from upstream
    svn to fix a focus issue with update-manager (LP: #335928).
  * Reenable quilt:
    - debian/control: build-dep on it
    - debian/rules: include quilt.make and readd correct deps on patch and
      unpatch
    - debian/patches/series: added.

 -- Lionel Le Folgoc <email address hidden> Sat, 14 Mar 2009 00:01:45 +0100

Changed in xfwm4:
status: In Progress → Fix Released
Changed in mythbuntu:
status: Confirmed → Fix Released
Changed in update-manager:
status: Incomplete → Invalid
Changed in xfwm4:
status: Unknown → Fix Released
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.