nikhilbchilwant / google-web-toolkit-incubator

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

GlassPanel no longer overlays scrollpanels correctly in GWT 2.0.0 #329

Open GoogleCodeExporter opened 9 years ago

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

GWT 2.0.0 and gwt-incubator-july-14-2009

- What OS and browser are you using?

FF 3.5, IE 8, Chrome 4

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

No error - but a deprecation warning is displayed during startup in hosted
mode, complaining about 
Referencing deprecated class
'com.google.gwt.user.client.impl.DocumentRootImpl' (line 30 & 38
GlassPanelImpl)

- Hopefully using the test case you have generously provided, what steps
will reproduce the problem? 
1. Create ScrollPanel to hold some content (panels, buttons, ..)
2. Create GlassPanel (to use with a dialog box)
3. Display GlassPanel on RootPanel

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

Expected to see all widgets of the scrollpanel covered by the glasspanel.
However, no overlay happens on these widgets - buttons, scrollbars or other
content are still uncovered. When we replace the scrollpanel with a normal
panel (SimplePanel, VerticalPanel, ..) the issue goes away.

- Workaround if you have one:

Going back to gwt-1.7 fixes the problem.

Original issue reported on code.google.com by philip.l...@gmail.com on 16 Dec 2009 at 10:27

GoogleCodeExporter commented 9 years ago
Ok, I just saw that the standard popup/dialog box under GWT 2.0 has a
setGlassEnabled() method, which solves our problem.

Original comment by philip.l...@gmail.com on 14 Jan 2010 at 11:14

GoogleCodeExporter commented 9 years ago
Philip, where are you finding the "setGlassEnabled()" call? I don't see it in 
either
RootPanel or GlassPanel.

Original comment by mbis...@gmail.com on 23 Feb 2010 at 9:40

GoogleCodeExporter commented 9 years ago
It's located on the standard gwt 2.0+ PopupPanel: http://google-web-
toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/PopupPanel.
html#se
tGlassEnabled(boolean)

Original comment by philip.l...@gmail.com on 23 Feb 2010 at 9:52