SUMMARY Playing around with ShadowedRectangle the following use case creates huge shadows even though it should not. when: min(rect_width,rect_height) > shadow_size in that case the shadows become too large and are much bigger than the specified shadow_size. Example: for Rectangle, w=100px, h=30px., shadow=30px. everything looks just fine but if the shadow size changes to 31px. then the produced shadow is much bigger than 31px. and occupies very big area with no obvious reason.
I can reproduce this
Created attachment 132281 [details] ShadowedRectangle with `shadow.size: 18` and `height: 18`
Created attachment 132283 [details] width `height: 32` and `shadow.size: 36`
Actually, I'm not sure I reproduce the issue as you described it because having a shadow size lower than the width or height doesn't necessarily create a shadow that is actually smaller than the width or height.
Created attachment 132284 [details] height: 32, shadow.size: 31
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Created attachment 132826 [details] ShadowedRectangle Visual Debugger
You are right, with KF5 5.75 I can not reproduce... I sent also a ShadowedRectangle Visual Debugger with validate results. With the visual debugger I reproduce a new bug that very big shadows are cut out. For example, height: 30px. shadow: 50px. should I open a new bug report or this is known?