petoendre / google-web-toolkit-incubator

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

GlassPanel grows inexorably (well, until "blur" it or something...) #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In standards mode (HTML5: <!DOCTYPE html>)
2. show both a GlassPanel and a (modal) PopupPanel (DecoratedPopupPanel in
my case)

Code:
  RootPanel.get().add(glassPanel, 0, 0);
  popupPanel.setPopupPositionAndShow(positionCallback);

(the positionCallback just centers the popup horizontally, vertically
aligned on another element)

Note that I also have z-index:1 for the glasspanel and z-index:2 for the
popuppanel, but I doubt it changes anything here...

What is the expected output? What do you see instead?
The glasspanel starts growing pixel by pixel beyond document's size. When
you click the popuppanel, the glasspanel stops growing. Click it and it
grows again...

What version of the product are you using? On what operating system?
incubator-glasspanel-r729 with GWT 1.5 RC1; only on Firefox (both 2 and 3)

Original issue reported on code.google.com by t.broyer on 17 Jul 2008 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by ecc%google.com@gtempaccount.com on 24 Jul 2008 at 5:06

GoogleCodeExporter commented 9 years ago
http://groups.google.com/group/Google-Web-Toolkit-Contributors/t/bf21378aa838382
e

I thought it could be a bug in GWT 1.5 RC1 re getting the bounding box of 
elements;
tested today with r3302 and I still have the problem (at least on FF3)

Original comment by t.broyer on 25 Jul 2008 at 9:15

GoogleCodeExporter commented 9 years ago
Fixed in r827.

Original comment by fredsa on 26 Jul 2008 at 4:49

GoogleCodeExporter commented 9 years ago
I have exactly the same problem with the latest version (fixed?) of 
gwt-incubator and
GWT 1.5 RC2 when showing a dialogBox and the glasspanel. For the moment, the 
only
"hack" I found to encounter the problem is to disable the timer from the 
GlassPanel.
Is the timer really neccessary ? Isn't the resizeListener sufficient to set the
glasspanel size on windows resizing ?

Original comment by rudy.k...@gmail.com on 18 Aug 2008 at 10:08

GoogleCodeExporter commented 9 years ago
If by "latest version" you mean a JAR from the "downloads" section, then the fix
isn't there. I've been told by my team that r827 correctly fixes this issue, 
though I
haven't yet checked by myself.

And yes, the timer is needed in case the page size changes (page size, not 
window
size!). For example, we're using a popup search dialog, with search results 
shown
below the criterias form; when there are many results, the dialog becomes 
taller than
the previous page height, and you want the GlassPanel to cover the whole page, 
not
only the size before it resized.

Original comment by t.broyer on 18 Aug 2008 at 10:42

GoogleCodeExporter commented 9 years ago
See comment #3 above. This is indeed fixed in r287.

http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=129#c3

Original comment by fredsa on 18 Aug 2008 at 1:53