We see an active link when creating the menu, but by the time the menuitem is activated, we've received a leave notify that makes the label clear its active link. Instead, give the menuitems a direct reference to the link that is active when the menu is created.
Problem pointed out by Tim Baedert
6b26410 GtkLabel: Make context menus on links work
gtk/gtklabel.c | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
Upstream: git.gnome.org