Required Information

Version(s) of Ext GWT
3.0.6

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

Virtual Machine
No

Description
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. Create a Popup instance
  2. Call setShadow(true) on the Popup
  3. Add content to the popup
  4. 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
Code:

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.