| Summary: | Projects plugin 15.08.3: file context menu only shows two items (git items missing) | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Gregor Mi <codestruct> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | opensource |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kate/52fe3861ebdcb18294f0d9461434301d30b8c3b6 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Gregor Mi
2015-12-13 17:22:35 UTC
does it list project files from the git repos for you ? this problem might be related to this other item https://bugs.kde.org/show_bug.cgi?id=354494 which has been closed, but it is not fixed for me. > does it list project files from the git repos for you ?
yes, it does. So it seems to be different from your problem.
The reason for the bug is wrong usage of the KMoreTools API; the documentation was clarified here cda4755d738a759fdcb5a5e328782c1615343cfe Git commit 52fe3861ebdcb18294f0d9461434301d30b8c3b6 by Gregor Mi. Committed on 21/01/2016 at 22:16. Pushed by gregormi into branch 'master'. fix wrong KMoreTools API usage The previously used method KMoreToolsMenuFactory.fillMenuFromGroupingNames returns a lazy menu which is not filled until the menu is shown. But in the following code we do not show the menu but use its menu items to fill another menu. But there were never any menu items in gitMenu->actions(). Solution: use KMoreToolsMenuFactory.fillMenuFromGroupingNames instead. M +4 -2 addons/project/kateprojecttreeviewcontextmenu.cpp http://commits.kde.org/kate/52fe3861ebdcb18294f0d9461434301d30b8c3b6 |