Apparently some event happens with the recent file menu, possibly just
focus being moved to it, and for some reason the menu is not realized
and can't handle the event. Perhaps the event then remains pending and
causes the following while-loop to never exit?

    while gtk.events_pending():
        gtk.main_iteration()

The relevant method is this (gaupol/gtk/agents/menu.py:193):

    def on_show_recent_main_menu_activate(self, *args):
        """Show the recent main file menu."""

        item = self.get_menu_item("show_recent_main_menu")
        menu = self._get_recent_menu(gaupol.gtk.DOCUMENT.MAIN)
        callback = self.on_recent_main_menu_item_activated
        menu.connect("item-activated", callback)
        item.set_submenu(menu)
        gaupol.gtk.util.iterate_main()

Maybe someone who can reproduce this could try adding 'menu.show()'
somewhere in there or change the ordering of the last three lines.

-- 
Gaupol freezes the system after I select "Open Recent" in menu
https://bugs.launchpad.net/bugs/206183
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to