| Summary: | Many undesirable menu entries in random places | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Egerrit | Reporter: | Pascal Rapicault <pascal> | ||||||||||
| Component: | Dashboard | Assignee: | Project Inbox <egerrit-inbox> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | critical | ||||||||||||
| Priority: | P3 | CC: | eclipse, lmcbout, marc.khouzam, matthias.sohn, mistria, psuzzi, twolf | ||||||||||
| Version: | 1.1.0 | ||||||||||||
| Target Milestone: | 1.2 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| See Also: |
https://git.eclipse.org/r/81244 https://git.eclipse.org/c/egerrit/org.eclipse.egerrit.git/commit/?id=0b3d796e305d1d5a2359ba96dda47ed67ed05380 |
||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Pascal Rapicault
Created attachment 264186 [details]
Picture of the problem
The same happens on Neon.1 Created attachment 264189 [details]
submenus 1
Created attachment 264190 [details]
submenus 2
Created attachment 264191 [details]
submenus 3
looks like these undesirable menu entries are EGit menus I could reproduce the same problem with EGit latest master Thomas, Max: could you have a look ? Thanks for the investigation Matthias! I'm raising priority here as this is the kind of issue that's is critical for the IDE usability (although not necessarily for EGit itself). I will have a look at the Gitflow menu contributions. Pascal, do the "Team" and "Compare With" sub menus in the EGerrit view also show Gitflow menu entries? (In reply to Max Hohenegger from comment #11) > I will have a look at the Gitflow menu contributions. > Pascal, do the "Team" and "Compare With" sub menus in the EGerrit view also > show Gitflow menu entries? yes, they do, see the screenshots I attached This is an Egerrit bug. They need to set a SelectionProvider in their Gerrit dashboard. Class /org.eclipse.egerrit.dashboard.ui/src/org/eclipse/egerrit/internal/dashboard/ui/views/GerritTableView.java, line 313, add "getSite().setSelectionProvider(fViewer);". BTW, without a selection provider in that Gerrit dashboard, I can also make it display other menu entries that do not come from EGit. For instance: * Create a Java project (outside of any git repo; just a plain Java project in the workspace) * Create a class with a "main" method * Have the Gerrit dashboard open and populated * Go to the outline view, select the "main" function * Right-click on some change in the Gerrit Dashboard. I get an extra menu entry "Compare With->API Baseline..." in the context menu of the Gerrit dashboard. (Even though in my runtime eclipse, there are no API baselines configured.) New Gerrit change created: https://git.eclipse.org/r/81244 Gerrit change https://git.eclipse.org/r/81244 was merged to [master]. Commit: http://git.eclipse.org/c/egerrit/org.eclipse.egerrit.git/commit/?id=0b3d796e305d1d5a2359ba96dda47ed67ed05380 *** Bug 501544 has been marked as a duplicate of this bug. *** This has been fixed as part of 1.1.1 |