I think that context dependent popup menus are now provided by the focus-menu. It is however true that the result is often too big and that this has to be improved, but the patch provided can no longer be applied as is. Also, each user will have a very particular idea about what must be present in the menu and what not, so it'll be hard to settle on something...