GNOME Bugzilla – Bug 739174
CSD messes window sizing up
Last modified: 2016-01-08 14:28:03 UTC
when using CSD, calling the resize functions on windows causes significant deviations due to the shadow. This could probably be worked around either in gtk or by exposing the get_shadow_width function at least, so that client programs know how large the error is and can take account for that. Another issue that we've run into while porting things to CSD is locking the aspect ratio, in this case for a video player. Due to the constant size of the shadow compared to the size of the video, we have a non-constant aspect ratio for the entire window. We're currently considering snapping the window after resize operations or using an average value that hopefully gives minimal error. I guess there's no better solution for that?
*** Bug 740922 has been marked as a duplicate of this bug. ***
We've made a number of improvements to the csd window size handling in master. Don't think we can fix the aspect ratio problem, sadly.