<table><tr><td style="">thomassc added a comment.
</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/D18229">View Revision</a></tr></table><br /><div><div><p>There can be scrollbars in problem reports, see the attached screenshot:</p>
<p><a href="https://phabricator.kde.org/F6631572" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6631572: problem_tooltip_with_scrollbar.png</a></p>
<p>Both popups aren't shown everywhere on the line. The declaration tooltip is only shown if hovering over the respective range. The problem tooltip (on its own) is also shown if the problem is close-by, see findProblemsCloseToCursor() (where I'm not sure whether this region is maybe a bit too large: I think that sometimes this tooltip actually gets in the way accidentally due to this).</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>I find that instinctively I "fish" for problem popups on the leading and (esp.) trailing empty parts of a line, probably from a reflex to keep the entire code part unobscured by the popup?</p></blockquote>
<p>For me it is exactly the opposite. I hover the range that is underlined red, because this is where KDevelop marks the problem. I cannot recall having any concerns about code being obscured then (because one can always move the pointer away to have the tooltip disappear, and the tooltip shows up sufficiently far away from the current line). In my opinion, I would actually consider not showing the problem tooltip when hovering anywhere else on the line, because this is where the tooltip is unexpected (since the red marking is somewhere else) and thus it actually gets in the way for me then accidentally. I like Sven's suggestion from the bugreport you linked about an exclamation mark somewhere on the line that can be hovered. I think this would be a good visual indication, instead of simply empty space that happens to be on the same line as a problem.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18229">https://phabricator.kde.org/D18229</a></div></div><br /><div><strong>To: </strong>thomassc, KDevelop, mwolff<br /><strong>Cc: </strong>rjvbb, mwolff, kdevelop-devel, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>