Most widgets still uses the old setupPopupMenu / slotRemovePopupMenu style for showing context menus. Instead it should use the Qt API event handler contextMenuEvent() method. Reproducible: Always Steps to Reproduce: 1. Open umbrello/widgets/umlwidget.h and look for "setupPopupMenu(". 2. In source tree grep for method "setupPopupMenu(". 3. Actual Results: You will find several locations where this methods have been used. Expected Results: Where a context menu is shown the contextMenuEvent method should be used. See QGraphicsItem API.
Fixed in 94137ee9fe30c2d5a402ab37ea50e61daaa31bb4