synaptic loses the search results on cache changes (like update/install)

Bug #106581 reported by Vicente Ruiz
34
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: synaptic

synaptic loses the selection of packages in different occasions. For example, when they are all the listed packages, I mark a change. When applying the changes, if it happens an error or I cancel the downloading, all the listing of packages is lost. Or when there is a listing and I unmark all the changes, also it is lost.

I don't know if it has something to see with bug 106529.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 14 16:00:37 2007
DistroRelease: Ubuntu 7.04
Uname: Linux SamsungX05 2.6.20-15-generic #2 SMP Sat Apr 14 00:54:01 UTC 2007 i686 GNU/Linux

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

Thanks for your bugreport.

Do you mean it looses the search results? Or do you mean the selections (eg packages that are marked for upgrade/remove)? I can not reproduce the later.

Cheers,
 Michael

Changed in synaptic:
status: Unconfirmed → Needs Info
Revision history for this message
Vicente Ruiz (uve) wrote :

Synaptic loses the search results.

I'm sorry for my English. I'm Spanish.

Michael Vogt (mvo)
Changed in synaptic:
importance: Undecided → Low
status: Needs Info → Confirmed
Revision history for this message
BenSimpson (csu16451) wrote :

When searching for a package, the search results are listed in a pane to the left of the results. Once changes are applied by clicking the "Apply" button, all of these search history entries disappear. This is still an issue on Feisty Fawn 7.04

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

That is why the bug was not marked as fixed. :)

Revision history for this message
David Freitas (jddcef) wrote :

I can repeat this loss of search results like this:

1) Open synaptic (0.57.11.1ubuntu14)
2) Click Search, type "nfs" (for example)
3) Click "Edit"->"Unmark All" in the menu at the top.
4) The search results are gone
All that's left in the left bar is "All" and "nfs".

I am using:
Ubuntu 7.04

Revision history for this message
Vicente Ruiz (uve) wrote :

Yes, to my also it happens to me.

~$ dpkg -l synaptic | grep ii
ii synaptic 0.60ubuntu3 Graphical package manager

~$ uname -r
2.6.22-10-generic

I am using:
Ubuntu 7.10

Revision history for this message
Vicente Ruiz (uve) wrote :

Also it happens the following thing:

1) Open synaptic
2) Click Search, type "nfs" (for example)
3) Click Recharge
4) The results and the labels in the left bar are lost

Revision history for this message
Vicente Ruiz (uve) wrote :

Also it happens the following thing:

1) Open synaptic.
2) Click "Edit"->"Unmark All" in the menu at the top.
3) Click Recharge.
4) The listed packages on the right bar are lost.

I have been able to correct this changing something of code. But I don't know that to do with it. How I publish a patch? How warning to the developers? There is nobody one in charge of this bug.

I have changed to the method cbClearAllChangesClicked of the RGMainWindow class in the file gtk/rgmainwindow.cc by the following one (a pair of lines has been only added):

void RGMainWindow::cbClearAllChangesClicked(GtkWidget *self, void *data)
{
   cout << "clearAllChangesClicked" << endl;
   RGMainWindow *me = (RGMainWindow *) data;
   me->setInterfaceLocked(TRUE);
   string subView = me->selectedSubView(); // added
   me->_lister->unregisterObserver(me);
   me->setTreeLocked(TRUE);

   // reset
   if (!me->_lister->openCache()) {
      me->showErrors();
      exit(1);
   }

   me->setTreeLocked(FALSE);
   me->_lister->registerObserver(me);

   me->_lister->setSubView(subView); // added

   me->refreshTable();
   me->setInterfaceLocked(FALSE);

}

I'm sorry for my English. I'm Spanish.

Revision history for this message
Robert Roth (evfool) wrote :

Thank you for reporting this bug to Ubuntu. Feisty (7.04) reached EOL in October of 2008.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

I've tried recreating this bug with Quantal (12.10) and was unable to, given the information you've provided. Please upgrade to the latest version and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.

Do feel free to report any other bugs you may find.

Changed in synaptic (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Philip Ashmore (contact-philipashmore) wrote :

Yep, it looks fixed to me too - I just tested it with 0.75.9ubuntu1.
I originally reported this as https://bugs.launchpad.net/bugs/250393 but am posting here as my bug is a duplicate of this one.

Revision history for this message
Robert Roth (evfool) wrote :

This bug report is being closed due to Philip Ashmore's last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in synaptic (Ubuntu):
status: Incomplete → 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.