← Back to team overview

desktop-packages team mailing list archive

[Bug 225941] Re: undo does not work on deleted items

 

** Changed in: alacarte
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alacarte in Ubuntu.
https://bugs.launchpad.net/bugs/225941

Title:
  undo does not work on deleted items

Status in Alacarte Menu Editor:
  Fix Released
Status in “alacarte” package in Ubuntu:
  Fix Released
Status in “alacarte” source package in Hardy:
  Fix Released
Status in “alacarte” source package in Intrepid:
  Fix Released

Bug description:
  Binary package hint: alacarte

  When you delete an item from alacarte the undo functionality does not
  work so the item is lost. This is because in deleteItem the copy for
  undoing is saved _after_ the change has been made to "delete" the item
  instead of before. James Westby noticed this and provided a simple fix
  that moves the undo checkpoint before the file modification. This is a
  very simple and obviously correct fix and I cannot see any way for it
  to cause regressions. Note that this does not fix bug 118936, that bug
  is for revert not restoring deleted items and there is no clear way to
  fix it.

  TEST CASE:
  1. Highlight an item in alacarte
  2. Press the delete key on your keyboard
  3. Press Ctrl-Z to undo the change

To manage notifications about this bug go to:
https://bugs.launchpad.net/alacarte/+bug/225941/+subscriptions