History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-14844
Type: Bug Bug
Status: Open Open
Assignee: Kirill Kalishev
Reporter: Taras Tielkes
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

JBPopupFactory#createActionGroupPopup does not respect "maxRowCount" parameter

Created: 10 Sep 07 21:59   Updated: 11 Sep 07 12:46
Component/s: Plugin Support. API

File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(18 kb)
Environment: Win 2000, Allow.IDEA L&F, bundled 1.6.0_02 JRE

Build: 7,269


 Description  « Hide
final DefaultActionGroup group = new DefaultActionGroup();                                                                                                               
for (int i = 0; i < 30; i++) {                                                                                                                                           
	group.add(new AnAction("item " + i) {                                                                                                                                   
		public void actionPerformed(final AnActionEvent e) {}                                                                                                                  
	});                                                                                                                                                                     
}                                                                                                                                                                        
                                                                                                                                                                         
final ListPopup popup = JBPopupFactory.getInstance().createActionGroupPopup("title", group, dataContext, JBPopupFactory.ActionSelectionAid.SPEEDSEARCH, false, null, 10);
popup.showCenteredInCurrentWindow(project);

Despite passing "10" for the "maxRowCount" parameter, a popup menu containing much more entries is shown.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.