<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Trying to solve compositing problems of Qt widgets as X11 windows</title>
	<atom:link href="http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/</link>
	<description>Programming, KDE and more</description>
	<lastBuildDate>Sat, 28 Nov 2009 18:10:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Maurizio</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-312</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Wed, 20 Feb 2008 23:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-312</guid>
		<description>No need, this problem is now officially fixed in the snapshot of Qt 4.4</description>
		<content:encoded><![CDATA[<p>No need, this problem is now officially fixed in the snapshot of Qt 4.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Mills</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-311</link>
		<dc:creator>Kevin Mills</dc:creator>
		<pubDate>Wed, 20 Feb 2008 17:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-311</guid>
		<description>I stumbled across your posting while looking for a solution for creating a transparent window in X.  I am trying to do the same thing in an environment where I *know* I won&#039;t have a capable Window Manager (older AIX and Sun machines running CDE or OpenLook).  Would you be willing to share the manual solution you found?  And any chance you&#039;d know how to do something like this *without* Qt?</description>
		<content:encoded><![CDATA[<p>I stumbled across your posting while looking for a solution for creating a transparent window in X.  I am trying to do the same thing in an environment where I *know* I won&#8217;t have a capable Window Manager (older AIX and Sun machines running CDE or OpenLook).  Would you be willing to share the manual solution you found?  And any chance you&#8217;d know how to do something like this *without* Qt?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurizio</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-41</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Thu, 09 Aug 2007 15:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-41</guid>
		<description>Riccardo: Yup, i already commented on that blog post too :)</description>
		<content:encoded><![CDATA[<p>Riccardo: Yup, i already commented on that blog post too <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riccardo Iaconelli</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-40</link>
		<dc:creator>Riccardo Iaconelli</dc:creator>
		<pubDate>Thu, 09 Aug 2007 12:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-40</guid>
		<description>http://labs.trolltech.com/blogs/2007/08/09/qt-invaded-by-aliens-the-end-of-all-flicker/

:D</description>
		<content:encoded><![CDATA[<p><a href="http://labs.trolltech.com/blogs/2007/08/09/qt-invaded-by-aliens-the-end-of-all-flicker/" rel="nofollow">http://labs.trolltech.com/blogs/2007/08/09/qt-invaded-by-aliens-the-end-of-all-flicker/</a></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enrico Ros</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-23</link>
		<dc:creator>Enrico Ros</dc:creator>
		<pubDate>Sun, 22 Jul 2007 19:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-23</guid>
		<description>Just read the comments on today Zack&#039;s web-on-canvas-and-dashboard-widgets post.. seems like QWidgets on the canvas is coming in 4.4. This won&#039;t solve the general case that you outlined, but will allow anyone that based his own app on QGraphicsView to have nice overlays and animations!

@maurizio: I think that the problem you&#039;re outlining is somewhat serious and should be reported to Trolltech.

Con affetto,
Enrico ;-)</description>
		<content:encoded><![CDATA[<p>Just read the comments on today Zack&#8217;s web-on-canvas-and-dashboard-widgets post.. seems like QWidgets on the canvas is coming in 4.4. This won&#8217;t solve the general case that you outlined, but will allow anyone that based his own app on QGraphicsView to have nice overlays and animations!</p>
<p>@maurizio: I think that the problem you&#8217;re outlining is somewhat serious and should be reported to Trolltech.</p>
<p>Con affetto,<br />
Enrico <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Top Posts &#171; WordPress.com</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-22</link>
		<dc:creator>Top Posts &#171; WordPress.com</dc:creator>
		<pubDate>Sat, 21 Jul 2007 23:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-22</guid>
		<description>[...] Trying to solve compositing problems of Qt widgets as X11 windows Since Qt 4 all widgets are double-buffered, and every widget is drawn over the parent widget, for instance allowing it [&#8230;] [...]</description>
		<content:encoded><![CDATA[<p>[...] Trying to solve compositing problems of Qt widgets as X11 windows Since Qt 4 all widgets are double-buffered, and every widget is drawn over the parent widget, for instance allowing it [&#8230;] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurizio</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-21</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Sat, 21 Jul 2007 21:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-21</guid>
		<description>@clee: XComposite works with a double buffer for each window it will compose, and this would be a huge waste of memory.

At the moment Qt do compositing in its own stack, and it works well in this way *except* for bad interactions of the X server when a widget/window is moved/destroyed withing its parent. 

A compositing manager is useful when the windows being composed are created by different application that cannot easily interact, in this case it is really not required because each application can succesfully take care of its own widgets.</description>
		<content:encoded><![CDATA[<p>@clee: XComposite works with a double buffer for each window it will compose, and this would be a huge waste of memory.</p>
<p>At the moment Qt do compositing in its own stack, and it works well in this way *except* for bad interactions of the X server when a widget/window is moved/destroyed withing its parent. </p>
<p>A compositing manager is useful when the windows being composed are created by different application that cannot easily interact, in this case it is really not required because each application can succesfully take care of its own widgets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iax</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-20</link>
		<dc:creator>iax</dc:creator>
		<pubDate>Sat, 21 Jul 2007 20:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-20</guid>
		<description>@clee: Qt already uses the compositing features of X. Pixmaps and widgets are stored in X.

It is my understanding (can be wrong) that the main problem is that they use still window hierarchy for distribuiting input, and that this way X associates the windows with the on screen pixmap in the same area. So moving the window moves the pixmap area around, instead of just triggering a redraw in the Qt.

The flag InputOnly that Leon speaks of could change this behaviour, explaining to X the true purpose of the window. X would not try and redraw the child window when it moves but leave it to Qt. This avoids flicker.

To sum it up: Qt already uses the XRender extension, so it should be just a matter of putting X to sleep.</description>
		<content:encoded><![CDATA[<p>@clee: Qt already uses the compositing features of X. Pixmaps and widgets are stored in X.</p>
<p>It is my understanding (can be wrong) that the main problem is that they use still window hierarchy for distribuiting input, and that this way X associates the windows with the on screen pixmap in the same area. So moving the window moves the pixmap area around, instead of just triggering a redraw in the Qt.</p>
<p>The flag InputOnly that Leon speaks of could change this behaviour, explaining to X the true purpose of the window. X would not try and redraw the child window when it moves but leave it to Qt. This avoids flicker.</p>
<p>To sum it up: Qt already uses the XRender extension, so it should be just a matter of putting X to sleep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clee</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-19</link>
		<dc:creator>clee</dc:creator>
		<pubDate>Sat, 21 Jul 2007 20:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-19</guid>
		<description>@Maurizio: On the contrary, what you&#039;re saying is that Qt is creating a new window, which is *exactly* what Composite is for.

Please read more on it before dismissing it.</description>
		<content:encoded><![CDATA[<p>@Maurizio: On the contrary, what you&#8217;re saying is that Qt is creating a new window, which is *exactly* what Composite is for.</p>
<p>Please read more on it before dismissing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurizio</title>
		<link>http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-18</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Sat, 21 Jul 2007 14:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://myrizio.wordpress.com/2007/07/21/trying-to-solve-compositing-problems-of-qt-widgets-as-x11-windows/#comment-18</guid>
		<description>@clee, @iax: no, XComposite is not the solution for this problem, because compositing is done internally by Qt and we do not want X to waste additional memory for child widgets (don&#039;t misunderstand me, for toplevel windows XComposite is the way to go), it should just behave in the correct way.

@Leon Bottou: interesting, i didn&#039;t know about this (i don&#039;t know X very well). If so, maybe some troll could let us know if what i proposed would be feasible.

@Enrico Ros: ciao Enrico! Happy to see your reply here, and to see that you solved your problem. Unluckily your solution cannot work in the most general settings, because for instance i may want to place some animation over already implemented standard Qt widgets (such as buttons, checkboxes, etc).</description>
		<content:encoded><![CDATA[<p>@clee, @iax: no, XComposite is not the solution for this problem, because compositing is done internally by Qt and we do not want X to waste additional memory for child widgets (don&#8217;t misunderstand me, for toplevel windows XComposite is the way to go), it should just behave in the correct way.</p>
<p>@Leon Bottou: interesting, i didn&#8217;t know about this (i don&#8217;t know X very well). If so, maybe some troll could let us know if what i proposed would be feasible.</p>
<p>@Enrico Ros: ciao Enrico! Happy to see your reply here, and to see that you solved your problem. Unluckily your solution cannot work in the most general settings, because for instance i may want to place some animation over already implemented standard Qt widgets (such as buttons, checkboxes, etc).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
