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.

-- 
synaptic loses the search results on cache changes (like update/install)
https://bugs.launchpad.net/bugs/106581
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to