[Bug 70798] Randomly incomplete renaming of categories

Milka Jinka passport at no-log.org
Tue Nov 7 21:42:52 UTC 2006


Public bug reported:

Using Ubuntu Edgy (upgraded from Dapper, but it was a Kubuntu), with
French language :

- I launch the menu editor Alacarte from the System menu
- I right-click on a category (eg: "Games"), then "Properties" to edit its name
- I delete the existing name and write a new one (eg: "Entertainment"). As i type, on the background, the name seems to be edited properly.
- When I click on "Close" to accept the modification, the category's new name appears randomly half-edited. Sometimes (rarely) the editing goes well, sometimes I end up with "Ent", or "Enterta", and I have to edit the name again, and the same bug occurs repeatedly : the modifications I bring to the name are only saved few letters at a time.

This bug doesn't occur with the apps' menu entries.
I am the owner of the .local directory and all the files inside it, so it can't be the problem.

By launching Alacarte in a terminal, it printed the following message
several times - precisely I get a copy of this message for each letter
in the category's new name :

** (alacarte:24785): CRITICAL **: gmenu_tree_ref: assertion `tree != NULL' failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 454, in on_menu_contents_changed
    self.saveMenu(values)
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 464, in saveMenu
    self.editor.editMenu(self.menu, None, values[1], values[2], final)
  File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 265, in editMenu
    menu_xml = self.__getXmlMenu(self.__getPath(menu), dom, dom)
  File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 447, in __getPath
    path = menu.tree.root.get_menu_id()
AttributeError: 'NoneType' object has no attribute 'root'

** Affects: alacarte (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Description changed:

  Using Ubuntu Edgy (upgraded from Dapper, but it was a Kubuntu), with
  French language :
  
  - I launch the menu editor Alacarte from the System menu
  - I right-click on a category (eg: "Games"), then "Properties" to edit its name
  - I delete the existing name and write a new one (eg: "Entertainment"). As i type, on the background, the name seems to be edited properly.
- - When I click on "Close" to accept the modification, the category's new name appears randomly half-edited. Sometimes (rarely) the editing goes well, sometimes I end up with "Ent", or "Enterta", and I have to edit the name again, and the same bug occurs repeatedly : the modifications I make to the name are only saved few letters at a time.
+ - When I click on "Close" to accept the modification, the category's new name appears randomly half-edited. Sometimes (rarely) the editing goes well, sometimes I end up with "Ent", or "Enterta", and I have to edit the name again, and the same bug occurs repeatedly : the modifications I bring to the name are only saved few letters at a time.
  
- This bug doesn't occurs with menu entries for the apps.
+ This bug doesn't occur with the apps' menu entries.
  I am the owner of the .local directory and all the files inside it, so it can't be the problem.
  
  By launching Alacarte in a terminal, it printed the following message
  several times - precisely I get a copy of this message for each letter
  in the category's new name :
  
  ** (alacarte:24785): CRITICAL **: gmenu_tree_ref: assertion `tree != NULL' failed
  Traceback (most recent call last):
    File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 454, in on_menu_contents_changed
      self.saveMenu(values)
    File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 464, in saveMenu
      self.editor.editMenu(self.menu, None, values[1], values[2], final)
    File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 265, in editMenu
      menu_xml = self.__getXmlMenu(self.__getPath(menu), dom, dom)
    File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 447, in __getPath
      path = menu.tree.root.get_menu_id()
  AttributeError: 'NoneType' object has no attribute 'root'

** Tags added: alacarte

** Tags added: edgy

-- 
Randomly incomplete renaming of categories
https://launchpad.net/bugs/70798




More information about the desktop-bugs mailing list