dfaure added a comment.
Ah, menu items. Code that is connected to aboutToShow will always execute after popup() is called, so delaying the call to popup() can't possibly help, unless I'm missing something. Sounds like we just need a hook, like a signal emitted by this class, with a pointer to the menu, so that applications can inject more items before popup() is called. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D26484 To: trmdi, #frameworks, davidedmundson, elvisangelaccio, mart, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns