-
9 May 2013 1:19 PM #1
Post-3.0.2 TextButton menu doesn't show on first click in IE8
Post-3.0.2 TextButton menu doesn't show on first click in IE8
I just upgraded from GXT 3.0.2 to GXT 3.0.4, and I think I discovered a weird regression. If you create a TextButton with a Menu and click on it in IE8, the button style changes as if it were clicked, but the menu doesn't show. However, the menu shows on the second click. This doesn't appear to happen with GXT 3.0.2.
It also seems that this might only be a problem with the first button that is clicked -- if I add multiple buttons with menus, it looks like only the first one exhibits this problem (subsequently clicked buttons behave normally).
[EDIT:]
However, in the GXT 3.0.4 demo located here, the problem I see is slightly different but perhaps related: if I click on a button with a menu in IE8, the menu does not show until I move my mouse cursor.
-
13 May 2013 12:24 PM #2
I'm having trouble reproducing this so far - here are my steps to reproduce:
* Navigate to http://staging.sencha.com:8080/examp...ePlace:buttons
* Click on the "Menu" Button to give all buttons menus
* Position the mouse (using trackpad to avoid moving) over a button (tried menu icon, button icon, and button text)
* Click the mouse without moving it
* Verify that the menu pops up.
I've also tested on the nightly builds at http://staging.sencha.com:8080/examp...ePlace:buttons and have also tried using the "Menu Bottom" button, but the menu seems to pop up every time.
My testing was done with 8.0.6001.18702 on Windows XP.
-
13 May 2013 1:01 PM #3
Thanks for looking into it! I'm using IE8 in a remote VM, It looks like I can only reproduce the GXT demo issue I pointed out using rdesktop on my Ubuntu machine, but not by using remote desktop on my Win8 machine. No idea what's going on there ...
But back to the first problem: with the following code, I can reproduce the issue of the first button click not showing the menu. I see the problem in IE8 over RDP in Win8 as well as IE10 in Win8 after setting the browser and document modes to IE8 and IE8 standards, respectively.
Code:public class MyEntryPoint implements EntryPoint { @Override public void onModuleLoad() { Menu menu = new Menu(); menu.add(new MenuItem("Menu item")); TextButton button = new TextButton("Button with menu"); button.setMenu(menu); RootPanel.get().add(button); } }
-
13 May 2013 4:07 PM #4
Thanks, I definitly can confirm the issue with the simple entrypoint with latest in SVN, but haven't attempted with older versions yet to confirm the regression.
You found a bug! We've classified it as
EXTGWT-3027
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote