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