You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that because PopMenu is directly inherited from viewport. This causes it to use an independent viewport.
The viewport is clipped directly according to the size of the control, but the shadow exceeds the size of the control. This causes the shadow to be clipped. This means that not only the shadow. Any other effects that cause the control to exceed the original position will be clipped by the shadow.
By the way, I am curious about how the related effects will be performed if the native window is used (e.g. display/window/subwindows/embed_subwindows is false).
I just tested that if you use a native sub-window (display/window/subwindows/embed_subwindows is false), not only the shadow, but also the background color set by the theme will fail.
Tested versions
4.3 stable, 4.4 dev6
System information
Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)
Issue description
Shadow does not work in PopupMenu, on normal panel.
Steps to reproduce
Create a theme, change the PopupMenu panel in Normal, try adding a shadow
Minimal reproduction project (MRP)
bg.zip
The text was updated successfully, but these errors were encountered: