It seems that calling TextButton.setIcon() will prevent an impending SelectEvent from firing.

Specifically, I have a form that changes the icon of a button during a ValueChangeEvent from the fields on the form. If the ValueChangeEvent was triggered by clicking the button in question then the SelectEvent is not fired.

I have reproduced the error in a learning project. See TextButtonSetIconStopsSelectEvent.java


Rough instructions for running learning project:
  1. SVN check out https://subversion.assembla.com/svn/...blic/learn/gwt
  2. Run Maven goal 'tomcat7:run-war'
  3. Load page http://localhost:8086
  4. Login with 'bruce' / 'bruce'
  5. Navigate to Mod2 | Bug | Set Icon Stops Select Event


I am using GXT 4.0.1 and the behaviour is apparent on FireFox 47.0 and Chromium 50.0.2661.102 (Running on Ubuntu 14.04 64-bit).