[Differential] [Request, 3 lines] D3414: Fix AbstractClient::sizeForClientSize
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Fri Nov 18 11:36:12 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, broulik, subdiff.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
The method is supposed to return the AbstractClient's size for a given
client size. That is the size including the window decoration.
The default implementation returned the passed in client size without
adjusting for the decoration. This resulted in ShellClient getting a
wrong size especially when AbstractClient::adjustedClientSize (which
calls sizeForClientSize) was called.
The result of the incorrect size was for example a shrinking of the
window when starting to resize a window.
BUG: 370345
FIXED-IN: 5.8.4
REPOSITORY
rKWIN KWin
BRANCH
fix-size-for-client-size-5.8
REVISION DETAIL
https://phabricator.kde.org/D3414
AFFECTED FILES
abstract_client.cpp
autotests/integration/shell_client_test.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland, broulik, subdiff
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161118/e4912f1f/attachment-0001.html>
More information about the Plasma-devel
mailing list