<table><tr><td style="">tfry created this revision.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />tfry requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19635">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the texteditor window is on a secondary screen of a multi-screen desktop,<br />
*and* the argument hint has not yet been shown, before, *and* it going to be<br />
shown at a y-position above the top of the primary screen, the argument hint<br />
will fail to show (because screenGeometry(this) will incorrectly refer to the<br />
primary screen, then).</p>

<p>Thus, refer to the parent view, when determining screen geometry, as is<br />
already done at other places in the code.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19635">https://phabricator.kde.org/D19635</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/completion/kateargumenthinttree.cpp</div></div></div><br /><div><strong>To: </strong>tfry<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>