D15406: Manually resize KCMUtilDialog to sizeHint()
Valeriy Malov
noreply at phabricator.kde.org
Mon Sep 10 15:46:18 BST 2018
valeriymalov created this revision.
valeriymalov added reviewers: Frameworks, ngraham.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
valeriymalov requested review of this revision.
REVISION SUMMARY
Workaround for https://bugreports.qt.io/browse/QTBUG-3459
Currently adjustSize() is limited to 2/3 of the screen size for windows
This adds unnecessary scrollbars on dialogs that would otherwise fit the
screen
Manually resize the window after adjustSize() happens to avoid this
limitation
CCBUG: 389585
TEST PLAN
Tested on a 1366x768 laptop, with this patch networkmanagement window opens
in full screen height (respecting the panel)
REPOSITORY
R295 KCMUtils
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D15406
AFFECTED FILES
src/kcmultidialog.cpp
To: valeriymalov, #frameworks, ngraham
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180910/8c6c80dd/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list