Skip to content

[KateIconBorder] Handle annotations context menu

Ismael Asensio requested to merge work/fix-annotation-contextmenu into master

Handle the context menu for the annotations area within the new ContextMenuEvent. Otherwise it gets hidden by the default context menu.

This fixes, for instance, this issue with kdevelop's Git Annotations:

BEFORE AFTER
default_contextmenu annotations_contextmenu

I tried to add also the other areas (the icons area for bookmarks/breakpoints and the folding marks), but then it gets quite difficult to click and add the line numbers if they're not visible already. Let me know what you think.

CC: @broulik

Merge request reports