I'm currently working on menulibre (https://launchpad.net/menulibre), and found that occasionally while making a few menu changes in succession the XFCE4 panel would pop up an error dialog: ============================================================ Failed to load the applications menu Error on line 1205 char 19: Document ended unexpectedly inside an element name ============================================================ I have also seen 'Error on line 1 char 1: Document was empty or contained only whitespace'. After OKing the dialog, the applications menu is empty (just a tiny square popping up from the button) and you have to restart the panel to recover from the situation. This is much easier to trigger if you move an item up and down a menu quickly (note that menulibre is more efficient than alacarte so completes changes quite fast). Looking into the code, the failure is happening in garcon-menu-parser.c:garcon_menu_parser_run, from either g_markup_parse_context_parse or the g_markup_parse_context_end_parse call (the actual error wording comes from the Glib source). Presumably garcon is responding to the first committed change to a file, but tries to read it right in the middle of the next change, so naturally fails on junk content (editing these files really needs locking)... When this situation happens, please could garcon try again a little later rather than giving up? Restarting the panel is fine for a programmer but not a normal user. Thanks
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/garcon/-/issues/3. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev