<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QTableWidget moveCursor]]></title><description><![CDATA[<p dir="auto">I'm wondering if I found a Qt bug.</p>
<p dir="auto">I overrode this function:<br />
QModelIndex moveCursor (QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers)</p>
<p dir="auto">I find when I'm using the arrow keys to move the cursor downward, sometimes the cursor just disappears. This happens after the cursor has forced the table widget to scroll itself at least once.</p>
<p dir="auto">The rows that I'm moving the cursor on really do exist in the model.</p>
<p dir="auto">At the start of my moveCursor I print the current row and column. After the cursor disappears, these are -1.</p>
<p dir="auto">Is there any need to call the superclass's moveCursor?</p>
]]></description><link>https://forum.qt.io/topic/145732/qtablewidget-movecursor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 26 Oct 2026 08:33:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145732.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jun 2023 23:37:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QTableWidget moveCursor on Thu, 15 Jun 2023 06:32:28 GMT]]></title><description><![CDATA[<p dir="auto">@clarify said in <a href="/post/761243">QTableWidget moveCursor</a>:</p>
<blockquote>
<p dir="auto">Is there any need to call the superclass's moveCursor?</p>
</blockquote>
<p dir="auto">As <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said, it's difficult to guess without seeing any code.<br />
But returning a randomly disappearing cursor is quite likely related to <em>not</em> returning to the superclass's <code>moveCursor()</code>.</p>
]]></description><link>https://forum.qt.io/post/761488</link><guid isPermaLink="true">https://forum.qt.io/post/761488</guid><dc:creator><![CDATA[Axel Spoerl]]></dc:creator><pubDate>Thu, 15 Jun 2023 06:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to QTableWidget moveCursor on Wed, 14 Jun 2023 20:54:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Please share your implementation or even better a minimal compilable example that reproduces the behavior you see.</p>
]]></description><link>https://forum.qt.io/post/761475</link><guid isPermaLink="true">https://forum.qt.io/post/761475</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 14 Jun 2023 20:54:18 GMT</pubDate></item></channel></rss>