double clicking on update-notifier opens multiple update manager windows

Bug #258128 reported by greenstuff
12
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Description: Ubuntu 8.04.1
Release: 8.04

When clicking on the update-notifier the update manager opens as it supposed to do.

When double (or more) clicking the update-notifier the update manager opens more instances. This behaviour should not be allowed. I have tested it on two different machines (laptop and a desktop system) over a period of 3 weeks and running the latest version.

Could it be that the check for an existing instance of the updatemanager is based on a existing update manager window and that doubleclicking is faster than instantiating the window?

Revision history for this message
Uwe L. Korn (uwelk) wrote :

Where is the problem with opening more than 1 update manager, there is still a check afterwards that only one of them could execute the update.

You could use one to run the updates und the other to read again about the changes, e.g. you maybe selected only a part of the packages in step before and want to inform yourself what has changed in the other packages, you haven't choosen.

Revision history for this message
greenstuff (dutchtest) wrote :

I understand you point of view also played with that idea for myself, but one of the following two scenarios are not logical:

1) when double clicking the notification symbol (and not having a open update manager window) the update manager opens two windows.

2) after opening one instance of the update manager and than clicking on the notification symbol does not open another update manager window.

As I see it one of these scenaria should be altered.

post scriptum,
I also noticed after double clicking the notification symbol that both update magers showed the same update to execute. Does this mean they both connect to the server or do they use the same temporary container for storing this information?

Changed in update-manager:
status: Incomplete → New
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I fixed this in my bzr tree and it will be part of the next upload.

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Fixed in intrepid

update-notifier (0.71.2) intrepid; urgency=low

  * src/update.c:
    - do not start two update-managers on double click
      (LP: #258128)
    - wording fixes (LP: #254313), thanks to Gabor Kelemen
  * src/reboot.c:
    - change the way gnome_client_request_save() is run
      to work with the latest gnome-session (LP: #214446)
    - better wording in the reboot dialog (LP: #211616)
  * data/apt-cdrom-check:
    - fix edubuntu addon CD detection
  * po/zh_CN:
    - new translation (thanks to Deng Xiyue, closes: #497957)

 -- Michael Vogt <email address hidden> Fri, 05 Sep 2008 21:05:08 +0200

Changed in update-manager:
status: Fix Committed → 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.