Re: The popup menuitem ordering bug for extensions



On Tue, 2009-11-17 at 17:25 -0500, Adam Plumb wrote:
> The expected behavior is that if some items don't appear they should
> show up like: item0 item2 item4 (1 and 3 are missing).  Unfortunately,
> what does happen is sometimes we get item2 item4 item0 or item4 item2
> item0.  It is completely random and unpredictable.
> 
> So I've been looking in the nautilus source code, in the
> src/file-manager/fm-directory-view.c file specifically, trying to
> figure out where in the stack the menu is losing its ordering.  I
> found the real_update_menus function, and in turn found the
> reset_extension_actions_menu function, and when I print out the
> generated menu items, they show up in the correct order.  So I know it
> is something happening later than that.  But I'm at a loss as to where
> to look next or how to debug this.

Yeah, this is a gtk+ issue apparently, I debugged it and filed a bug at:
https://bugzilla.gnome.org/show_bug.cgi?id=603128

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's an oversexed albino romance novelist who dotes on his loving old ma. 
She's an enchanted goth advertising executive with the power to see death. 
They fight crime! 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]