<?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[Strange ListView behavior]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have problems with strange behavior of ListView, which is controlled by a model from Python (PySide). I already asked at PySide mailing list, but I didn't get any helpful answer.</p>
<p dir="auto">Since I believe the problem is caused by the QML part, I'll post my problem here. Please get the test application "here":<a href="http://www.sendspace.com/file/iyvolr" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.sendspace.com/file/iyvolr</a></p>
<p dir="auto">What id should and what id does is following. The applications shows a ListView with 5 items. There are 2 buttons - "All" and "Reduce". <em>All</em> button should show all 5 items, <em>Reduce</em> button shows only first 2. But if you try the application, it behaves incorrectly. for example try to press "Reduce" 2 times, you'll get empty delegates. If you press "Reduce" and "All", only 3 items are displayed.</p>
<p dir="auto">There might be a bug in my code, but I can't find it. It seems to me it's rather a QML error.</p>
]]></description><link>https://forum.qt.io/topic/3977/strange-listview-behavior</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 23:53:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/3977.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Feb 2011 13:49:04 GMT</pubDate><ttl>60</ttl></channel></rss>