D19635: Fix for showing argument hint tree on non-primary screen.
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.
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.
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel