<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Patch for Lancelot to work with Qt 4.5 (for packagers and distributions)</title>
	<atom:link href="http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/</link>
	<description>Free Software Developer and Enthusiast</description>
	<lastBuildDate>Tue, 13 Jul 2010 11:19:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ivan Čukić</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7814</link>
		<dc:creator>Ivan Čukić</dc:creator>
		<pubDate>Fri, 13 Mar 2009 10:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7814</guid>
		<description>@&lt;a href=&quot;#comment-7813&quot; rel=&quot;nofollow&quot;&gt;Kevin Kofler&lt;/a&gt;: I haven&#039;t tested it, which is the main reason the patch is not in the SVN (the 4.2 branch).

So, if I were you, I&#039;d wait for the /push/ :)</description>
		<content:encoded><![CDATA[<p>@<a class="atr_link" href="#comment-7813" rel="nofollow">Kevin Kofler</a>: I haven&#8217;t tested it, which is the main reason the patch is not in the SVN (the 4.2 branch).</p>
<p>So, if I were you, I&#8217;d wait for the /push/ <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Kofler</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7813</link>
		<dc:creator>Kevin Kofler</dc:creator>
		<pubDate>Fri, 13 Mar 2009 09:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7813</guid>
		<description>What&#039;s the effect of this patch with Qt 4.4.3? I&#039;m asking because that decides whether we can apply this to all Fedora branches right now or need to wait for the flag day on which we push the Qt 4.5 update.</description>
		<content:encoded><![CDATA[<p>What&#8217;s the effect of this patch with Qt 4.4.3? I&#8217;m asking because that decides whether we can apply this to all Fedora branches right now or need to wait for the flag day on which we push the Qt 4.5 update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Čukić</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7795</link>
		<dc:creator>Ivan Čukić</dc:creator>
		<pubDate>Mon, 09 Mar 2009 22:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7795</guid>
		<description>@&lt;a href=&quot;#comment-7794&quot; rel=&quot;nofollow&quot;&gt;Alexis Menard&lt;/a&gt;: Well, I really hope it will not be needed to have something &#039;more reliable for the future&#039; and that the issue in Qt will go away :)

Both solutions you&#039;ve proposed appear to be OK, but since I&#039;m not planing to /proclaim/ liblancelot as stable any time soon, I don&#039;t think it really matters. That is, if the bug in Qt gets fixed soon.</description>
		<content:encoded><![CDATA[<p>@<a class="atr_link" href="#comment-7794" rel="nofollow">Alexis Menard</a>: Well, I really hope it will not be needed to have something &#8216;more reliable for the future&#8217; and that the issue in Qt will go away <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Both solutions you&#8217;ve proposed appear to be OK, but since I&#8217;m not planing to /proclaim/ liblancelot as stable any time soon, I don&#8217;t think it really matters. That is, if the bug in Qt gets fixed soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis Menard</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7794</link>
		<dc:creator>Alexis Menard</dc:creator>
		<pubDate>Mon, 09 Mar 2009 22:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7794</guid>
		<description>For the hiding issue i have to say that is not implemented :D, so that explain why the layout is not really updated. We have one report for that (before yours i guess so that explain the duplicate).

My idea to bypass this issue is :

- remove the item from the layout when the widget become invisible. and re-add it afterwards.

- reimplement QSizeF QGraphicsLayoutItem::sizeHint and return 0,0 if the item become invisible (invalidate the layout to force an update of sizehints). This should be more cleaner and more reliable for the future.

That is just two ideas coming in my mind tonight :D.</description>
		<content:encoded><![CDATA[<p>For the hiding issue i have to say that is not implemented <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> , so that explain why the layout is not really updated. We have one report for that (before yours i guess so that explain the duplicate).</p>
<p>My idea to bypass this issue is :</p>
<p>- remove the item from the layout when the widget become invisible. and re-add it afterwards.</p>
<p>- reimplement QSizeF QGraphicsLayoutItem::sizeHint and return 0,0 if the item become invisible (invalidate the layout to force an update of sizehints). This should be more cleaner and more reliable for the future.</p>
<p>That is just two ideas coming in my mind tonight <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Čukić</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7793</link>
		<dc:creator>Ivan Čukić</dc:creator>
		<pubDate>Mon, 09 Mar 2009 22:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7793</guid>
		<description>@&lt;a href=&quot;#comment-7792&quot; rel=&quot;nofollow&quot;&gt;Alexis Menard&lt;/a&gt;: (replied via mail also) If you&#039;re referring to the move off-screen instead of hiding, I&#039;ve reported a bug (http://www.qtsoftware.com/developer/task-tracker/index_html?id=244902&amp;method=entry) with the example code. The bug was marked later as a duplicate, so I have no idea about the progress of it.

BTW, it isn&#039;t really a new hack, I had the issue in question since the QGraphcisView was introduced, it was just bypassed in a different way before. A way that introduced some bugs, so I had it removed.

About the other, less dirty, hacks, I haven&#039;t really got the time to isolate the problems, but will eventually.</description>
		<content:encoded><![CDATA[<p>@<a class="atr_link" href="#comment-7792" rel="nofollow">Alexis Menard</a>: (replied via mail also) If you&#8217;re referring to the move off-screen instead of hiding, I&#8217;ve reported a bug (<a href="http://www.qtsoftware.com/developer/task-tracker/index_html?id=244902&#038;method=entry" rel="nofollow">http://www.qtsoftware.com/developer/task-tracker/index_html?id=244902&#038;method=entry</a>) with the example code. The bug was marked later as a duplicate, so I have no idea about the progress of it.</p>
<p>BTW, it isn&#8217;t really a new hack, I had the issue in question since the QGraphcisView was introduced, it was just bypassed in a different way before. A way that introduced some bugs, so I had it removed.</p>
<p>About the other, less dirty, hacks, I haven&#8217;t really got the time to isolate the problems, but will eventually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis Menard</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/09/patch-for-lancelot-and-qt4/comment-page-1/#comment-7792</link>
		<dc:creator>Alexis Menard</dc:creator>
		<pubDate>Mon, 09 Mar 2009 21:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=459#comment-7792</guid>
		<description>Mmmmm the patch is very hackish. I am very surprised that you need to do that with 4.5.0. In many plasma applets, we are removing hacks and you need new ones. My point is : were you able to reproduce the problem in a pure Qt app? And more did you report that to Qt Software? I prefer a proper patch in qt-copy which means 4.5.x than a patch directly in the applet which perhaps won&#039;t work with 4.5.1. If you provide me the test case i will be glad to look at it and instead you will be able to point a proper qt-copy patch :D.</description>
		<content:encoded><![CDATA[<p>Mmmmm the patch is very hackish. I am very surprised that you need to do that with 4.5.0. In many plasma applets, we are removing hacks and you need new ones. My point is : were you able to reproduce the problem in a pure Qt app? And more did you report that to Qt Software? I prefer a proper patch in qt-copy which means 4.5.x than a patch directly in the applet which perhaps won&#8217;t work with 4.5.1. If you provide me the test case i will be glad to look at it and instead you will be able to point a proper qt-copy patch <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
