Summary: | [wayland] panels dont show single shadow | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Michail Vourlakos <mvourlakos> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.10.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kwin/b7cb301deb3b191c7ff0bd04d87d6c1b93d90407 | Version Fixed In: | |
Sentry Crash Report: |
Description
Michail Vourlakos
2017-06-04 16:44:04 UTC
Git commit e9e285618ef11e483b1da076f85b6fd81dd46056 by David Edmundson. Committed on 09/06/2017 at 15:43. Pushed by davidedmundson into branch 'xdgv6'. Make shadows work for windows 100% width or height Summary: Clients provide shadows as 9 images, which then get split into relevant quads. To work out the full width we need the size of an item on the left, the middle and the right. Some elements can be legitiamtely missing so to work out the width of the left edge we need to consider all 3 of topleft,left,bottomleft. Currently we checked both corners in case one was missing, but it's legitimate for both to be missing if the shadow stretches the whole way. Test Plan: Shadow on panel, rest looks the same Reviewers: #plasma Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D6164 M +8 -8 scene_opengl.cpp M +7 -0 utils.h https://commits.kde.org/kwin/e9e285618ef11e483b1da076f85b6fd81dd46056 Git commit b7cb301deb3b191c7ff0bd04d87d6c1b93d90407 by David Edmundson. Committed on 20/06/2017 at 14:48. Pushed by davidedmundson into branch 'Plasma/5.10'. Make shadows work for windows 100% width or height Summary: Clients provide shadows as 9 images, which then get split into relevant quads. To work out the full width we need the size of an item on the left, the middle and the right. Some elements can be legitiamtely missing so to work out the width of the left edge we need to consider all 3 of topleft,left,bottomleft. Currently we checked both corners in case one was missing, but it's legitimate for both to be missing if the shadow stretches the whole way. Test Plan: Shadow on panel, rest looks the same Reviewers: #plasma, mart Reviewed By: #plasma, mart Subscribers: graesslin, mart, plasma-devel, kwin, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D6164 M +12 -13 scene_opengl.cpp https://commits.kde.org/kwin/b7cb301deb3b191c7ff0bd04d87d6c1b93d90407 |