https://bugs.kde.org/show_bug.cgi?id=503813
--- Comment #33 from ulte...@gmail.com --- > Do you mean that both the Menu key AND a version-controlled document are > required? Yes, it is the "AND". However, it even works if the "version-controlled document" is gitignored and even if the .git repo has just been inited with nothing staged (refer STEP 0 of REPRODUCTION) _ > Also is the bug really reproducible only under Wayland or did you test a > non-git-version-controlled document under X11? I recall having tried both type of documents and not getting the double context menu (not even the warning), but I'll try again, just to make sure. ___ Just in case you are wondering, adding a return at the point giving the error, does not prevent the crash (or the frozen GUI before it). void KDevelop::TextDocument::populateContextMenu( KTextEditor::View* v, QMenu* menu ) { Q_D(TextDocument); if (d->addedContextMenu) { qCWarning(SHELL) << "populateContextMenu() called while we still handled another menu."; d->cleanContextMenu(); return; // Added a return here } ... Though it does cause the extra menu entries to not appear. I will respond to other points after a while -- You are receiving this mail because: You are watching all bug changes.