<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/101021/">http://git.reviewboard.kde.org/r/101021/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for KDevelop.</div>
<div>By Dmitry Risenberg.</div>
<p style="color: grey;"><i>Updated April 3, 2011, 8:39 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Maximum tooltip width set to 3/4 of screen width. Also make left and top of tooltip always fit the screen.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">When debug tooltip displays long names/values, I have to manually resize it to see all the info. This patch changes debug tooltip behaviour to automatically resize itself when items are expanded.
Also requires a small patch to kdevelop:
diff --git a/debuggers/gdb/gdbvariable.cpp b/debuggers/gdb/gdbvariable.cpp
index ae65169..cab25a2 100644
--- a/debuggers/gdb/gdbvariable.cpp
+++ b/debuggers/gdb/gdbvariable.cpp
@@ -223,6 +223,7 @@ public:
variable->setHasMore(hasMore);
if (m_activeCommands == 0) {
+ variable->emitAllChildrenFetched();
delete this;
}
}
P.S. Should this go to 4.2 or master?</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Manual</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> (updated)</h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>debugger/util/treeitem.h <span style="color: grey">(94cd6dbc38d2ecdaaec2f7185201c00031752efd)</span></li>
<li>debugger/util/treeitem.cpp <span style="color: grey">(7e0f6bc3c6eb70f31f1ae72d47610a58731f8cad)</span></li>
<li>debugger/util/treemodel.h <span style="color: grey">(e12e0161ba375526fb2cfe40ec166be4f332c448)</span></li>
<li>debugger/util/treemodel.cpp <span style="color: grey">(6d53cb8776e54212e48e95690052eb007c69d03c)</span></li>
<li>debugger/util/treeview.h <span style="color: grey">(b0e32709a96732f404eb8ea587858536086527a0)</span></li>
<li>debugger/util/treeview.cpp <span style="color: grey">(72f5567b73eea3e9fe4a72ced91882a0ce5be549)</span></li>
<li>debugger/variable/variabletooltip.cpp <span style="color: grey">(1c3c537ccdd788aa4a3b4fcc0edd70fd121b2816)</span></li>
<li>util/activetooltip.cpp <span style="color: grey">(377843f6b0f37bb6b54d31038de6641b1f12bc6c)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/101021/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>