nikhilbchilwant / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 1 forks source link

FastTreeItem call to setState ignores the fireEvents boolean argument #268

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of gwt and gwt-incubator are you using?
1.5 Dec 28

What OS and browser are you using?
Linux Ubuntu 8.04
Firefox 3.0.8

Do you see this error in hosted mode, web mode, or both?
Both

(If possible, please include a test case that shows the problem)

Every call to the setState(boolean open, boolean fireEvents) method will
ignore the fireEvents boolean and fire the events of the tree item.

Hopefully using the test case you have generously provided, what steps will
reproduce the problem? 

1. Method call to fastTreeItem.setState(true, false);

What is the expected output? What do you see instead?

I expect that the events of the fast tree item do NOT get called, but they do!

Workaround if you have one:
None

Please provide any additional information below,  and thank you for taking
the time and effort to report this issue, as good issue reports are
critical for our quest to make GWT's new widgets and libraries shine.

This looks like a simple over look of the boolean parameter, it would
require a simple fix to check it before calling methods such as beforeOpen,
beforeClose, etc...

Original issue reported on code.google.com by mark.mac...@gmail.com on 27 Apr 2009 at 2:03