D19635: Fix for showing argument hint tree on non-primary screen.
Thomas Friedrichsmeier
noreply at phabricator.kde.org
Sat Mar 9 16:15:21 GMT 2019
tfry created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
tfry requested review of this revision.
REVISION SUMMARY
If the texteditor window is on a secondary screen of a multi-screen desktop,
*and* the argument hint has not yet been shown, before, *and* it going to be
shown at a y-position above the top of the primary screen, the argument hint
will fail to show (because screenGeometry(this) will incorrectly refer to the
primary screen, then).
Thus, refer to the parent view, when determining screen geometry, as is
already done at other places in the code.
REPOSITORY
R39 KTextEditor
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D19635
AFFECTED FILES
src/completion/kateargumenthinttree.cpp
To: tfry
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190309/b207bf64/attachment.html>
More information about the KWrite-Devel
mailing list