View Full Version : [FNR] Button won't show menu when clicked

14 Sep 2011, 4:30 AM
A button's menu won't be displayed when user clicks the button if all items don't fit inside browser's window.

GXT 2.2.4, GWT 2.2
IE8, WinXP

Host mode: Menu appears but will inmediately close.
Web mode: Menu never appears, button keeps pressed.

Sample code:

public void onModuleLoad() {

Menu menu = new Menu();
//Be sure to add enough items so they all don't fit inside browser's window
//As an alternative, you can add few items and resize browser's window
//height so they don't fit
for (int i = 0; i < 30; i++){
menu.add(new MenuItem("Item " + i));

Button button = new Button("Button with menu");


Is there any known workaround?


14 Sep 2011, 4:39 AM
There was a fix already in SVN which should fix this for the next release.

14 Sep 2011, 5:01 AM
Is GXT SVN publicly available? It would be very useful for me to have a fixed version of the button.

When will the next version be released?


14 Sep 2011, 5:04 AM
If you have a support subscription you also have SVN access. SVN is not public. There is no public release date for the next version.