Required Information

Version(s) of Ext GWT

Browser versions and OS
(and desktop environment, if applicable)
  • Firefox/Chrome/IE9 Windows 7

Virtual Machine

Creating a Popup with setShadow(true) does not produce a shadow on the popup when shown.

Run mode
Dev mode and production

Steps to reproduce the problem
  1. </i>
  2. Create a Popup instance
  3. Call setShadow(true) on the Popup
  4. Add content to the popup
  5. Show the popup on the screen, there's no shadow

Expected result
The shadow would have appeared

Actual result
There was no shadow

Test case

Helpful Information

Screenshot or video
  • None

Live test

Debugging already done
  • Looked at the source to figure out how Component subclasses normally get their shadow in the onAfterFirstAttach method, then saw how the Popup class overrides the onFirstAttach method without calling to the superclass. I created my own Popup subclass, overrode the 'onAfterFirstAttach' to create a new layer, enable shadow on the layer, and set the shadow position; my override caused the shadow to show correctly.

Possible fix
Call super.onAfterFirstAttach from the Popup class' override, or add in code to create and attach a shadow layer for Popup instances.