After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739174 - CSD messes window sizing up
CSD messes window sizing up
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 740922 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-10-25 16:23 UTC by Tom Beckmann
Modified: 2016-01-08 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Beckmann 2014-10-25 16:23:22 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?
Comment 1 Matthias Clasen 2015-08-16 12:50:56 UTC
*** Bug 740922 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2016-01-08 14:28:03 UTC
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.