diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-07-02 14:48:59 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-07-02 14:48:59 +0000 |
commit | 66ec898f657847e219fd150c1ca9b3ccd07dbe4e (patch) | |
tree | d4bc3df9d1145e1a32399e2a40ed743391b0c786 | |
parent | 5995caa169aec33238c527700142f0501798516b (diff) | |
download | vaadin-framework-66ec898f657847e219fd150c1ca9b3ccd07dbe4e.tar.gz vaadin-framework-66ec898f657847e219fd150c1ca9b3ccd07dbe4e.zip |
fixes #5278
svn changeset:14045/svn branch:6.4
-rw-r--r-- | src/com/vaadin/ui/AbstractComponent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/AbstractComponent.java b/src/com/vaadin/ui/AbstractComponent.java index f4d7aa3238..0875355c73 100644 --- a/src/com/vaadin/ui/AbstractComponent.java +++ b/src/com/vaadin/ui/AbstractComponent.java @@ -633,6 +633,14 @@ public abstract class AbstractComponent implements Component, MethodEventSource */ public void attach() { requestRepaint(); + if (!visible) { + /* + * Bypass the repaint optimization in childRequestedRepaint method + * when attaching. When reattaching (possibly moving) -> must + * repaint + */ + fireRequestRepaintEvent(null); + } if (delayedFocus) { focus(); } |