<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-27550</id>
	<title>Nabble - kde-graphics-devel</title>
	<updated>2009-08-06T08:44:47Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/kde-graphics-devel-f27550.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kde-graphics-devel-f27550.html" />
	<subtitle type="html">kde-graphics-devel is a mailing list dedicated to computer graphics programming in the KDE/Qt environment. The topics covered range from X11 programming, animation techniques, image effects and OpenGL. Everything computer graphics related is on topic.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-24849077</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-08-06T08:44:47Z</published>
	<updated>2009-08-06T08:44:47Z</updated>
	<author>
		<name>afiestas</name>
	</author>
	<content type="html">Hi, sorry for the delay :/!
&lt;br&gt;Finally we decided (KSnapshot mantainers and myself) that the best is create a 
&lt;br&gt;new application only for screencast. 
&lt;br&gt;Right now the new application is only in &amp;quot;Research phase&amp;quot; and I hope have 
&lt;br&gt;something to show at the end of the month. I'm working in another project also 
&lt;br&gt;related with video, so I can't use all the time in the screencast one.
&lt;br&gt;&lt;br&gt;cya!
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Alex Fiestas
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24849077&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24849077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24845900</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-08-06T05:48:19Z</published>
	<updated>2009-08-06T05:48:19Z</updated>
	<author>
		<name>Bugzilla from eros.kde@email.it</name>
	</author>
	<content type="html">On Tuesday 14 July 2009 16:54:31 you wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My idea is continue without a configuration dialog, and keep it as simple
&lt;br&gt;&amp;gt; &amp;nbsp;as possible, in the same way that ksnapshot doesn't ask for the picture
&lt;br&gt;&amp;gt; &amp;nbsp;format. For example:
&lt;br&gt;&amp;gt; Always ogv, always encode after record, and for the rest, use the current
&lt;br&gt;&amp;gt; combo boxes (record screen, window, region...).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The only thing I'm not really sure how to integrate it without modify the
&lt;br&gt;&amp;gt; interface is the sound option (with or without sound), but i'm sure that
&lt;br&gt;&amp;gt; somebody can make a good mockup for this!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; By the way, I'm not talking about a big and complete screencast solution
&lt;br&gt;&amp;gt; &amp;nbsp;like, camstasia/captivate, I'm talking about something like
&lt;br&gt;&amp;gt; &amp;nbsp;recordmydesktop, but integrated in our environment.
&lt;/div&gt;&lt;br&gt;Hello Alex, any progress on this?
&lt;br&gt;Apart the 1 button addition to the main interface, the 'sound' and other 
&lt;br&gt;options can pop up on a panel when you press that 'screencast' button.
&lt;br&gt;&lt;br&gt;Keep up posted,
&lt;br&gt;Enrico
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it &lt;a href=&quot;http://www.email.it/f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.email.it/f&lt;/a&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Sponsor:
&lt;br&gt;&amp;nbsp;Offerte per Luglio e Agosto a Riccione. Prenota ora su vacanzedivertenti.it
&lt;br&gt;&amp;nbsp;Clicca qui: &lt;a href=&quot;http://adv.email.it/cgi-bin/foclick.cgi?mid=9393&amp;d=6-8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adv.email.it/cgi-bin/foclick.cgi?mid=9393&amp;d=6-8&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24845900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24845900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24478750</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-07-14T05:45:29Z</published>
	<updated>2009-07-14T05:45:29Z</updated>
	<author>
		<name>afiestas</name>
	</author>
	<content type="html">&amp;gt; &amp;gt; He could do something like this:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; In the end there is one button in the default UI + a systray control
&lt;br&gt;&amp;gt; &amp;gt; while recording. The impact can be minimized, the functionality here is
&lt;br&gt;&amp;gt; &amp;gt; big indeed.
&lt;br&gt;Thanks for the mockup!
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Except that that isn't actually enough interface to make a viable
&lt;br&gt;&amp;gt; screen recording application. You also need settings like 'should I
&lt;br&gt;&amp;gt; only record the focussed window', 'how should I compress the data'
&lt;br&gt;&amp;gt; etc. etc. We've managed this far to entirely avoid the need for any
&lt;br&gt;&amp;gt; kind of configuration dialog in ksnapshot and adding one for this
&lt;br&gt;&amp;gt; would be a retrograde step.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rich.
&lt;/div&gt;My idea is continue without a configuration dialog, and keep it as simple as 
&lt;br&gt;possible, in the same way that ksnapshot doesn't ask for the picture format.
&lt;br&gt;For example:
&lt;br&gt;Always ogv, always encode after record, and for the rest, use the current 
&lt;br&gt;combo boxes (record screen, window, region...).
&lt;br&gt;&lt;br&gt;The only thing I'm not really sure how to integrate it without modify the 
&lt;br&gt;interface is the sound option (with or without sound), but i'm sure that 
&lt;br&gt;somebody can make a good mockup for this!
&lt;br&gt;&lt;br&gt;&lt;br&gt;By the way, I'm not talking about a big and complete screencast solution like, 
&lt;br&gt;camstasia/captivate, I'm talking about something like recordmydesktop, but 
&lt;br&gt;integrated in our environment.
&lt;br&gt;&lt;br&gt;Cya and thanks for the quick response!
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24478750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24478750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24478390</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-07-14T05:21:16Z</published>
	<updated>2009-07-14T05:21:16Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">On Tue, Jul 14, 2009 at 12:31 PM, Enrico Ros&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24478390&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eros.kde@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 14 July 2009 12:01:54 Richard Moore wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24478390&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alex@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I've been researching a bit about screencast in gnu/linux, and I'd like
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; to try to add it in ksnapshot, but I'm not sure which is the best way to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; do it.... so please, could someone give me a hint?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Alex,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I don't think the user interface we want for ksnapshot really matches
&lt;br&gt;&amp;gt;&amp;gt; what is required for a screencast application. I think a better plan
&lt;br&gt;&amp;gt;&amp;gt; is to create a new application for this with a UI that is designed for
&lt;br&gt;&amp;gt;&amp;gt; the task. I would probably have to reject a patch that adds support
&lt;br&gt;&amp;gt;&amp;gt; for screencasts to ksnapshot unless you can think of a way to do it
&lt;br&gt;&amp;gt;&amp;gt; that doesn't impact the existing user interface.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; He could do something like this:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the end there is one button in the default UI + a systray control while
&lt;br&gt;&amp;gt; recording. The impact can be minimized, the functionality here is big indeed.
&lt;/div&gt;&lt;br&gt;Except that that isn't actually enough interface to make a viable
&lt;br&gt;screen recording application. You also need settings like 'should I
&lt;br&gt;only record the focussed window', 'how should I compress the data'
&lt;br&gt;etc. etc. We've managed this far to entirely avoid the need for any
&lt;br&gt;kind of configuration dialog in ksnapshot and adding one for this
&lt;br&gt;would be a retrograde step.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24478390&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24478390.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24477737</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-07-14T04:31:24Z</published>
	<updated>2009-07-14T04:31:24Z</updated>
	<author>
		<name>Bugzilla from eros.kde@email.it</name>
	</author>
	<content type="html">On Tuesday 14 July 2009 12:01:54 Richard Moore wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24477737&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alex@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I've been researching a bit about screencast in gnu/linux, and I'd like
&lt;br&gt;&amp;gt; &amp;gt; to try to add it in ksnapshot, but I'm not sure which is the best way to
&lt;br&gt;&amp;gt; &amp;gt; do it.... so please, could someone give me a hint?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Alex,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't think the user interface we want for ksnapshot really matches
&lt;br&gt;&amp;gt; what is required for a screencast application. I think a better plan
&lt;br&gt;&amp;gt; is to create a new application for this with a UI that is designed for
&lt;br&gt;&amp;gt; the task. I would probably have to reject a patch that adds support
&lt;br&gt;&amp;gt; for screencasts to ksnapshot unless you can think of a way to do it
&lt;br&gt;&amp;gt; that doesn't impact the existing user interface.
&lt;/div&gt;&lt;br&gt;He could do something like this: 
&lt;br&gt;&lt;a href=&quot;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://img223.yfrog.com/img223/8825/ksnpshtrmx.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;In the end there is one button in the default UI + a systray control while 
&lt;br&gt;recording. The impact can be minimized, the functionality here is big indeed.
&lt;br&gt;&lt;br&gt;Enrico
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it &lt;a href=&quot;http://www.email.it/f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.email.it/f&lt;/a&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Sponsor:
&lt;br&gt;&amp;nbsp;Last Minute a Riccione. Scopri le offerte su vacanzedivertenti.it &amp;nbsp;
&lt;br&gt;* Buona Vacanza!
&lt;br&gt;&amp;nbsp;Clicca qui: &lt;a href=&quot;http://adv.email.it/cgi-bin/foclick.cgi?mid=9340&amp;d=14-7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adv.email.it/cgi-bin/foclick.cgi?mid=9340&amp;d=14-7&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24477737&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24477737.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24476699</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-07-14T03:01:54Z</published>
	<updated>2009-07-14T03:01:54Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24476699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alex@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I've been researching a bit about screencast in gnu/linux, and I'd like to try
&lt;br&gt;&amp;gt; to add it in ksnapshot, but I'm not sure which is the best way to do it.... so
&lt;br&gt;&amp;gt; please, could someone give me a hint?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Hi Alex,
&lt;br&gt;&lt;br&gt;I don't think the user interface we want for ksnapshot really matches
&lt;br&gt;what is required for a screencast application. I think a better plan
&lt;br&gt;is to create a new application for this with a UI that is designed for
&lt;br&gt;the task. I would probably have to reject a patch that adds support
&lt;br&gt;for screencasts to ksnapshot unless you can think of a way to do it
&lt;br&gt;that doesn't impact the existing user interface.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24476699&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24476699.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24475272</id>
	<title>Re: KSnapshot screencast feature</title>
	<published>2009-07-14T01:00:56Z</published>
	<updated>2009-07-14T01:00:56Z</updated>
	<author>
		<name>Bugzilla from eros.kde@email.it</name>
	</author>
	<content type="html">Qt-Recordmydesktop is cool (in python, IIRC, but it works really good for mee, 
&lt;br&gt;even allowing for the window selection). You could find some useful code in 
&lt;br&gt;there.
&lt;br&gt;&lt;br&gt;So you could add the glue layer from the ksnapshot application logic and the 
&lt;br&gt;'recordmydesktop' tool. Even check at runtime if suck a command exists on the 
&lt;br&gt;system and disable the screen recording if not.
&lt;br&gt;&lt;br&gt;So I'll vote for option 1, even if it's guaranteed to work on linux only. I 
&lt;br&gt;played with ffmpeg (option 3) in past and it's not that easy, the code is 
&lt;br&gt;tricky, handling all cases is a pita, and it relies on the codecs you have 
&lt;br&gt;installed, plus you'll have one more 'compile time' dependancy. But if you can 
&lt;br&gt;put a lot of efforts on this, then ffmpeg is again a nice choice.
&lt;br&gt;&lt;br&gt;Enrico
&lt;br&gt;&lt;br&gt;On Tuesday 14 July 2009 04:01:46 Alex Fiestas wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi there!
&lt;br&gt;&amp;gt; I've been researching a bit about screencast in gnu/linux, and I'd like to
&lt;br&gt;&amp;gt; try to add it in ksnapshot, but I'm not sure which is the best way to do
&lt;br&gt;&amp;gt; it.... so please, could someone give me a hint?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Afaik there are 3 ways to record the desktop:
&lt;br&gt;&amp;gt; 1-Create a ksnapshot backend using ffmpeg/recordmydesktop binary
&lt;br&gt;&amp;gt; 2-Use the X11 libraries to get information, and a video (encode) library to
&lt;br&gt;&amp;gt; write that information.
&lt;br&gt;&amp;gt; 3-Use libavcodec (ffmpeg library) that already has all X11 /encoding stuff
&lt;br&gt;&amp;gt; done.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which one do you think that's the best approach? my guess is the third
&lt;br&gt;&amp;gt; option.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24475272&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;/div&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it &lt;a href=&quot;http://www.email.it/f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.email.it/f&lt;/a&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Sponsor:
&lt;br&gt;&amp;nbsp;Vieni in vacanza nei Riccione Family Hotels! Ti aspettano servizi per bambini, mini club e tanto divertimento! Prenota on-line la tua vacanza!
&lt;br&gt;&amp;nbsp;Clicca qui: &lt;a href=&quot;http://adv.email.it/cgi-bin/foclick.cgi?mid=9302&amp;d=14-7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adv.email.it/cgi-bin/foclick.cgi?mid=9302&amp;d=14-7&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24475272&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24475272.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24471489</id>
	<title>KSnapshot screencast feature</title>
	<published>2009-07-13T16:52:48Z</published>
	<updated>2009-07-13T16:52:48Z</updated>
	<author>
		<name>afiestas</name>
	</author>
	<content type="html">Hi there!
&lt;br&gt;I've been researching a bit about screencast in gnu/linux, and I'd like to try 
&lt;br&gt;to add it in ksnapshot, but I'm not sure which is the best way to do it.... so 
&lt;br&gt;please, could someone give me a hint?
&lt;br&gt;&lt;br&gt;Afaik there are 3 ways to record the desktop:
&lt;br&gt;1-Create a ksnapshot backend using ffmpeg/recordmydesktop binary
&lt;br&gt;2-Use the X11 libraries to get information, and a video (encode) library to 
&lt;br&gt;write that information.
&lt;br&gt;3-Use libavcodec (ffmpeg library) that already has all X11 /encoding stuff done.
&lt;br&gt;&lt;br&gt;which one do you think that's the best approach? my guess is the third option.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24471489&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KSnapshot-screencast-feature-tp24471489p24471489.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22600867</id>
	<title>Re: checking libksane version</title>
	<published>2009-03-19T06:56:08Z</published>
	<updated>2009-03-19T06:56:08Z</updated>
	<author>
		<name>robbystephenson</name>
	</author>
	<content type="html">On Wednesday 18 March 2009, Albert Astals Cid wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; A Dimecres, 18 de març de 2009, Robby Stephenson va escriure:
&lt;br&gt;&amp;gt; &amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What's the best way to check which version of libksane is being used to
&lt;br&gt;&amp;gt; &amp;gt; compile a program? The KSaneWidget::currentDPI() API is new, and if I
&lt;br&gt;&amp;gt; &amp;gt; use it, I want to surround it with suitable version checks. I guess I
&lt;br&gt;&amp;gt; &amp;gt; could check for KDE_IS_VERSION(4,3,0) but that doesn't seem right. Does
&lt;br&gt;&amp;gt; &amp;gt; it need to be a cmake macro check?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Probably, you can have a look at how okular poppler generator does it for
&lt;br&gt;&amp;gt; poppler.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://websvn.kde.org:80/trunk/KDE/kdegraphics/okular/generators/poppler/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://websvn.kde.org:80/trunk/KDE/kdegraphics/okular/generators/poppler/&lt;/a&gt;&lt;br&gt;&amp;gt;CMakeLists.txt?revision=940958&amp;view=markup
&lt;/div&gt;&lt;br&gt;Perfect, that works great. Thanks!
&lt;br&gt;&lt;br&gt;Robby
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22600867&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/checking-libksane-version-tp22572893p22600867.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22591038</id>
	<title>Re: checking libksane version</title>
	<published>2009-03-18T16:35:07Z</published>
	<updated>2009-03-18T16:35:07Z</updated>
	<author>
		<name>Albert Astals Cid</name>
	</author>
	<content type="html">A Dimecres, 18 de març de 2009, Robby Stephenson va escriure:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What's the best way to check which version of libksane is being used to
&lt;br&gt;&amp;gt; compile a program? The KSaneWidget::currentDPI() API is new, and if I use
&lt;br&gt;&amp;gt; it, I want to surround it with suitable version checks. I guess I could
&lt;br&gt;&amp;gt; check for KDE_IS_VERSION(4,3,0) but that doesn't seem right. Does it need
&lt;br&gt;&amp;gt; to be a cmake macro check?
&lt;br&gt;&lt;br&gt;Probably, you can have a look at how okular poppler generator does it for 
&lt;br&gt;poppler.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://websvn.kde.org:80/trunk/KDE/kdegraphics/okular/generators/poppler/CMakeLists.txt?revision=940958&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://websvn.kde.org:80/trunk/KDE/kdegraphics/okular/generators/poppler/CMakeLists.txt?revision=940958&amp;view=markup&lt;/a&gt;&lt;br&gt;&lt;br&gt;Albert
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Robby
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22591038&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22591038&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/checking-libksane-version-tp22572893p22591038.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22572893</id>
	<title>checking libksane version</title>
	<published>2009-03-17T22:04:15Z</published>
	<updated>2009-03-17T22:04:15Z</updated>
	<author>
		<name>robbystephenson</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;What's the best way to check which version of libksane is being used to 
&lt;br&gt;compile a program? The KSaneWidget::currentDPI() API is new, and if I use 
&lt;br&gt;it, I want to surround it with suitable version checks. I guess I could 
&lt;br&gt;check for KDE_IS_VERSION(4,3,0) but that doesn't seem right. Does it need to 
&lt;br&gt;be a cmake macro check?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Robby
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22572893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/checking-libksane-version-tp22572893p22572893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21588320</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-21T09:43:39Z</published>
	<updated>2009-01-21T09:43:39Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">On Tue, Jan 20, 2009 at 7:18 AM, Michael Giesler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21588320&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; If we don't want to add another element to the ui, I could write a configure
&lt;br&gt;&amp;gt; dialog..
&lt;br&gt;&amp;gt; At least I always use the same mode (fullscreen, window, ...), delay and
&lt;br&gt;&amp;gt; window decoration mode - so it would make sense to move it to an own
&lt;br&gt;&amp;gt; configuration window and add a new button &amp;quot;configure&amp;quot; beside the &amp;quot;help&amp;quot;
&lt;br&gt;&amp;gt; button...
&lt;br&gt;&amp;gt; This would make the ui even cleaner and it would be a great junior job for
&lt;br&gt;&amp;gt; me.. ,-)
&lt;br&gt;&lt;br&gt;Sorry, one of the main strengths of the UI is that it isn't done this
&lt;br&gt;way. The point is to provide a dialog style UI, no menu etc. to make
&lt;br&gt;it very quick to use. This has downsides too of course, but it would
&lt;br&gt;become a different program if that was changed. A short lived effort
&lt;br&gt;to do so is kgrab in extra gear which is a fork of ksnapshot, but I
&lt;br&gt;don't believe the maintainer is actively work on it. He doesn't seem
&lt;br&gt;to have updated to take account of any fixes etc. I've done.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21588320&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21588320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21588084</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-21T09:32:29Z</published>
	<updated>2009-01-21T09:32:29Z</updated>
	<author>
		<name>Bugzilla from kde@randomguy3.me.uk</name>
	</author>
	<content type="html">On Tuesday 20 January 2009 07:18:11 Michael Giesler wrote:
&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If we don't want to add another element to the ui, I could write a
&lt;br&gt;&amp;gt; configure dialog..
&lt;br&gt;&amp;gt; At least I always use the same mode (fullscreen, window, ...), delay and
&lt;br&gt;&amp;gt; window decoration mode - so it would make sense to move it to an own
&lt;br&gt;&amp;gt; configuration window and add a new button &amp;quot;configure&amp;quot; beside the &amp;quot;help&amp;quot;
&lt;br&gt;&amp;gt; button...
&lt;br&gt;&lt;br&gt;I think that for most people the settings they need change frequently enough 
&lt;br&gt;that it would just end up being annoying for users. &amp;nbsp;Sometimes I want to 
&lt;br&gt;capture the whole desktop, sometimes just one window. &amp;nbsp;For some purposes, I 
&lt;br&gt;need some time to move my mouse to the right location (to demonstrate a hover 
&lt;br&gt;effect), but other times it's pointless.
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21588084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/21588084/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21588084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21558218</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-19T23:18:11Z</published>
	<updated>2009-01-19T23:18:11Z</updated>
	<author>
		<name>Michael Giesler</name>
	</author>
	<content type="html">Hi!&lt;br&gt;&lt;br&gt;If we don&amp;#39;t want to add another element to the ui, I could write a configure dialog..&lt;br&gt;At least I always use the same mode (fullscreen, window, ...), delay and window decoration mode - so it would make sense to move it to an own configuration window and add a new button &amp;quot;configure&amp;quot; beside the &amp;quot;help&amp;quot; button... &lt;br&gt;
This would make the ui even cleaner and it would be a great junior job for me.. ,-)&lt;br&gt;&lt;br&gt;What do you think about this?&lt;br&gt;&lt;br&gt;best regards,&lt;br&gt;Michael&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21558218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21558218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21553923</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-19T15:24:19Z</published>
	<updated>2009-01-19T15:24:19Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">On Mon, Jan 19, 2009 at 11:10 PM, Albert Astals Cid &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553923&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsdgeos@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; In my opinion it makes more sense that the calling application decides if it
&lt;br&gt;&amp;gt; wants ksnapshot to be closed after a snapshot. Maybe a command line switch?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ksnapshot --closeaftersnapshot
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sounds a bit too long though
&lt;br&gt;&lt;br&gt;The application doesn't call ksnapshot, it's the other way around - Send To Foo.
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553923&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21553923.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21553740</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-19T15:10:18Z</published>
	<updated>2009-01-19T15:10:18Z</updated>
	<author>
		<name>Albert Astals Cid</name>
	</author>
	<content type="html">A Dilluns 19 Gener 2009, Richard Moore va escriure:
&lt;br&gt;&amp;gt; I guess another option would be to make it so that ksnapshot behaves
&lt;br&gt;&amp;gt; as you suggest and making it so that this isn't even optional. That
&lt;br&gt;&amp;gt; might make a lot of sense. Opinions?
&lt;br&gt;&lt;br&gt;In my opinion it makes more sense that the calling application decides if it 
&lt;br&gt;wants ksnapshot to be closed after a snapshot. Maybe a command line switch?
&lt;br&gt;&lt;br&gt;ksnapshot --closeaftersnapshot
&lt;br&gt;&lt;br&gt;sounds a bit too long though
&lt;br&gt;&lt;br&gt;Albert
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rich.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Jan 19, 2009 at 10:00 PM, Richard Moore &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553740&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richmoore44@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Hi Michael,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sorry I've been so slow to reply, I was still thinking about this. I'm
&lt;br&gt;&amp;gt; &amp;gt; very reluctant to add new UI elements (everyone wants 'just one more
&lt;br&gt;&amp;gt; &amp;gt; checkbox') so they need to be considered in context. At the moment,
&lt;br&gt;&amp;gt; &amp;gt; I'm not sure if the use-case is common enough to warrant a checkbox
&lt;br&gt;&amp;gt; &amp;gt; when closing the app is already pretty easy. Anyone got an opinion on
&lt;br&gt;&amp;gt; &amp;gt; this?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cheers
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Rich.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Mon, Jan 19, 2009 at 9:56 PM, Michael Giesler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553740&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; 
&lt;/div&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I already sent this patch to Richard Moore some time ago, but probably
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; this mailing list is the better place.. ,-)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; For the first Klassroom Kourse of the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; kde forum I wrote my first patch and got an OK from the mentor.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; It was this feature wish:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=165482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=165482&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; (close ksnapshot when snapshot is opened with another application)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Michael
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553740&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553740&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21553740&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21553740.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21552702</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-19T14:09:07Z</published>
	<updated>2009-01-19T14:09:07Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">I guess another option would be to make it so that ksnapshot behaves
&lt;br&gt;as you suggest and making it so that this isn't even optional. That
&lt;br&gt;might make a lot of sense. Opinions?
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;&lt;br&gt;On Mon, Jan 19, 2009 at 10:00 PM, Richard Moore &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552702&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richmoore44@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Michael,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry I've been so slow to reply, I was still thinking about this. I'm
&lt;br&gt;&amp;gt; very reluctant to add new UI elements (everyone wants 'just one more
&lt;br&gt;&amp;gt; checkbox') so they need to be considered in context. At the moment,
&lt;br&gt;&amp;gt; I'm not sure if the use-case is common enough to warrant a checkbox
&lt;br&gt;&amp;gt; when closing the app is already pretty easy. Anyone got an opinion on
&lt;br&gt;&amp;gt; this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rich.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Jan 19, 2009 at 9:56 PM, Michael Giesler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552702&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I already sent this patch to Richard Moore some time ago, but probably this
&lt;br&gt;&amp;gt;&amp;gt; mailing list is the better place.. ,-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For the first Klassroom Kourse of the
&lt;br&gt;&amp;gt;&amp;gt; kde forum I wrote my first patch and got an OK from the mentor.
&lt;br&gt;&amp;gt;&amp;gt; It was this feature wish:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=165482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=165482&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; (close ksnapshot when snapshot is opened with another application)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt;&amp;gt; Michael
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552702&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552702&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21552702.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21552549</id>
	<title>Re: ksnapshot patch</title>
	<published>2009-01-19T14:00:20Z</published>
	<updated>2009-01-19T14:00:20Z</updated>
	<author>
		<name>Richard Moore-3</name>
	</author>
	<content type="html">Hi Michael,
&lt;br&gt;&lt;br&gt;Sorry I've been so slow to reply, I was still thinking about this. I'm
&lt;br&gt;very reluctant to add new UI elements (everyone wants 'just one more
&lt;br&gt;checkbox') so they need to be considered in context. At the moment,
&lt;br&gt;I'm not sure if the use-case is common enough to warrant a checkbox
&lt;br&gt;when closing the app is already pretty easy. Anyone got an opinion on
&lt;br&gt;this?
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Rich.
&lt;br&gt;&lt;br&gt;On Mon, Jan 19, 2009 at 9:56 PM, Michael Giesler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552549&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I already sent this patch to Richard Moore some time ago, but probably this
&lt;br&gt;&amp;gt; mailing list is the better place.. ,-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For the first Klassroom Kourse of the
&lt;br&gt;&amp;gt; kde forum I wrote my first patch and got an OK from the mentor.
&lt;br&gt;&amp;gt; It was this feature wish:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=165482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=165482&lt;/a&gt;&lt;br&gt;&amp;gt; (close ksnapshot when snapshot is opened with another application)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt; Michael
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552549&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552549&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21552549.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21552477</id>
	<title>ksnapshot patch</title>
	<published>2009-01-19T13:56:39Z</published>
	<updated>2009-01-19T13:56:39Z</updated>
	<author>
		<name>Michael Giesler</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;I already sent this patch to Richard Moore some time ago, but probably this 
&lt;br&gt;mailing list is the better place.. ,-)
&lt;br&gt;&lt;br&gt;For the first Klassroom Kourse of the 
&lt;br&gt;kde forum I wrote my first patch and got an OK from the mentor.
&lt;br&gt;It was this feature wish:
&lt;br&gt;&lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=165482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=165482&lt;/a&gt;&lt;br&gt;(close ksnapshot when snapshot is opened with another application)
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;Michael
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: ../ksnapshot/ksnapshotwidget.ui
&lt;br&gt;===================================================================
&lt;br&gt;--- ../ksnapshot/ksnapshotwidget.ui	(Revision 905197)
&lt;br&gt;+++ ../ksnapshot/ksnapshotwidget.ui	(Arbeitskopie)
&lt;br&gt;@@ -218,6 +218,19 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/item&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;item&amp;gt;
&lt;br&gt;+	&amp;lt;widget class=&amp;quot;QCheckBox&amp;quot; name=&amp;quot;cbCloseWhenOpen&amp;quot; &amp;gt;
&lt;br&gt;+	&amp;lt;property name=&amp;quot;whatsThis&amp;quot; &amp;gt;
&lt;br&gt;+	&amp;lt;string&amp;gt;When enabled, KSnapShot will be closed when snapshot is opened with another application&amp;lt;/string&amp;gt;
&lt;br&gt;+	&amp;lt;/property&amp;gt;
&lt;br&gt;+	&amp;lt;property name=&amp;quot;text&amp;quot; &amp;gt;
&lt;br&gt;+	&amp;lt;string&amp;gt;Close KSnapshot when opening other application&amp;lt;/string&amp;gt;
&lt;br&gt;+	&amp;lt;/property&amp;gt;
&lt;br&gt;+	&amp;lt;property name=&amp;quot;checked&amp;quot; &amp;gt;
&lt;br&gt;+	&amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;
&lt;br&gt;+	&amp;lt;/property&amp;gt;
&lt;br&gt;+	&amp;lt;/widget&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;lt;/item&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;lt;item&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;widget class=&amp;quot;KPushButton&amp;quot; name=&amp;quot;btnCopy&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;whatsThis&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;Click this button to copy the current snapshot to the clipboard.&amp;lt;/string&amp;gt;
&lt;br&gt;Index: ../ksnapshot/ksnapshot.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- ../ksnapshot/ksnapshot.cpp	(Revision 906308)
&lt;br&gt;+++ ../ksnapshot/ksnapshot.cpp	(Arbeitskopie)
&lt;br&gt;@@ -100,6 +100,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;connect( mainWidget-&amp;gt;btnCopy, SIGNAL( clicked() ), SLOT( slotCopy() ) );
&lt;br&gt;&amp;nbsp;// &amp;nbsp; &amp;nbsp;connect( mainWidget-&amp;gt;btnOpen, SIGNAL( clicked() ), SLOT( slotOpen() ) );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;connect( mainWidget-&amp;gt;comboMode, SIGNAL( activated(int) ), SLOT( slotModeChanged(int) ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect( mainWidget-&amp;gt;cbCloseWhenOpen, SIGNAL( toggled(bool) ), SLOT( slotCloseWhenOpenToggle(bool) ));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;openMenu = new QMenu(this);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;mainWidget-&amp;gt;btnOpen-&amp;gt;setMenu(openMenu);
&lt;br&gt;@@ -162,7 +163,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;setMode( conf.readEntry(&amp;quot;mode&amp;quot;, 0) );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;setIncludeDecorations(conf.readEntry(&amp;quot;includeDecorations&amp;quot;,true));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;filename = KUrl( conf.readPathEntry( &amp;quot;filename&amp;quot;, QDir::currentPath()+'/'+i18n(&amp;quot;snapshot&amp;quot;)+&amp;quot;1.png&amp;quot; ));
&lt;br&gt;-
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// shall KSnapshot be closed when &amp;quot;open with&amp;quot; is used?
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KConfigGroup confOpen(KGlobal::config(), &amp;quot;Open-with settings&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainWidget-&amp;gt;cbCloseWhenOpen-&amp;gt;setChecked(confOpen.readEntry(&amp;quot;close&amp;quot;, false));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// Make sure the name is not already being used
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(KIO::NetAccess::exists( filename, KIO::NetAccess::DestinationSide, this )) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;autoincFilename();
&lt;br&gt;@@ -294,7 +299,12 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KUrl::List list;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;list.append(fileopen);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;KRun::run(application, list, this);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ( KRun::run(application, list, this) &amp;&amp; closeWhenOpen() ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// if the service was able to run then we silently
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// close the application.
&lt;br&gt;+	accept();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;void KSnapshot::slotOpen(QAction* action)
&lt;br&gt;@@ -330,13 +340,31 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!service &amp;&amp; !dlg.text().isEmpty())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KRun::run(dlg.text(), list, this);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( KRun::run(dlg.text(), list, this) ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// if the service was able to run then we silently
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// close the application.
&lt;br&gt;+		if ( closeWhenOpen() ){
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;accept();
&lt;br&gt;+		}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KMessageBox::error(this, i18n(&amp;quot;Unable to open %1. Please check to make sure the application was properly installed.&amp;quot;, service-&amp;gt;name()));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// we have an action with a service, run it!
&lt;br&gt;- &amp;nbsp; &amp;nbsp;KRun::run(*service, list, this, true);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ( KRun::run(*service, list, this, true) ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// if the service was able to run then we silently
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// close the application.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( closeWhenOpen() ){
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;accept();
&lt;br&gt;+	}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KMessageBox::error(this, i18n(&amp;quot;Unable to open %1. Please check to make sure the application was properly installed.&amp;quot;, service-&amp;gt;name()));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;void KSnapshot::slotPopulateOpenMenu()
&lt;br&gt;@@ -400,6 +428,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;show();
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+void KSnapshot::slotCloseWhenOpenToggle(bool checked)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KConfigGroup conf(KGlobal::config(), &amp;quot;Open-with settings&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;conf.writeEntry(&amp;quot;close&amp;quot;, checked);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;conf.sync();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;void KSnapshot::closeEvent( QCloseEvent * e )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KConfigGroup conf(KGlobal::config(), &amp;quot;GENERAL&amp;quot;);
&lt;br&gt;@@ -599,6 +634,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return mainWidget-&amp;gt;cbIncludeDecorations-&amp;gt;isChecked();
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+bool KSnapshot::closeWhenOpen() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return mainWidget-&amp;gt;cbCloseWhenOpen-&amp;gt;isChecked();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;int KSnapshot::mode() const
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return mainWidget-&amp;gt;comboMode-&amp;gt;currentIndex();
&lt;br&gt;Index: ../ksnapshot/ksnapshot.h
&lt;br&gt;===================================================================
&lt;br&gt;--- ../ksnapshot/ksnapshot.h	(Revision 905197)
&lt;br&gt;+++ ../ksnapshot/ksnapshot.h	(Arbeitskopie)
&lt;br&gt;@@ -157,6 +157,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void setTime( int newTime );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void setURL( const QString &amp;newURL );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void setGrabMode( int m );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void slotCloseWhenOpenToggle( bool checked );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void exit();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;protected:
&lt;br&gt;@@ -182,6 +183,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void setMode( int mode );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int delay() const;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;bool includeDecorations() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;bool closeWhenOpen() const;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int mode() const;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;QPixmap preview();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int previewWidth() const;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21552477&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ksnapshot-patch-tp21552477p21552477.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21009474</id>
	<title>Re: kruler maintainership</title>
	<published>2008-12-14T23:36:48Z</published>
	<updated>2008-12-14T23:36:48Z</updated>
	<author>
		<name>Mathias Soeken</name>
	</author>
	<content type="html">On Sunday 14 December 2008 22:55:14 Albert Astals Cid wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; A Divendres 12 Desembre 2008, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21009474&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;msoeken@...&lt;/a&gt; va escriure:
&lt;br&gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I try to write a mail to Till Krech, the current maintainer of kruler,
&lt;br&gt;&amp;gt; &amp;gt; but the eMail address is not valid anymore. Even there were not much
&lt;br&gt;&amp;gt; &amp;gt; commits from him in the last time. Seems that he is inactive in kruler
&lt;br&gt;&amp;gt; &amp;gt; development or he has another email address. I fixed some bugs, which
&lt;br&gt;&amp;gt; &amp;gt; are already committed, but I cannot close the bug reports. These are:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=76023&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=76023&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=51181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=51181&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21009474&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;soeken@...&lt;/a&gt; bugs.kde.org account can already close bugs? Did
&lt;br&gt;&amp;gt; someone give you the power or you are not that mail?
&lt;/div&gt;&lt;br&gt;Yes, I have now the permissions to change the bugs. &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21009474&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;soeken@...&lt;/a&gt; is my 
&lt;br&gt;bugs.kde.org login. Perhaps I should change that some time.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BTW maybe you want to become the default owner of new kruler bugs?
&lt;br&gt;&lt;br&gt;This would be great. I talked with Aaron, and I am now the maintainer of 
&lt;br&gt;kruler because the above mentioned reasons.
&lt;br&gt;&lt;br&gt;Mathias
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21009474&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kruler-maintainership-tp20971675p21009474.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21005152</id>
	<title>Re: kruler maintainership</title>
	<published>2008-12-14T13:55:14Z</published>
	<updated>2008-12-14T13:55:14Z</updated>
	<author>
		<name>Albert Astals Cid</name>
	</author>
	<content type="html">A Divendres 12 Desembre 2008, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21005152&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;msoeken@...&lt;/a&gt; va escriure:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I try to write a mail to Till Krech, the current maintainer of kruler,
&lt;br&gt;&amp;gt; but the eMail address is not valid anymore. Even there were not much
&lt;br&gt;&amp;gt; commits from him in the last time. Seems that he is inactive in kruler
&lt;br&gt;&amp;gt; development or he has another email address. I fixed some bugs, which
&lt;br&gt;&amp;gt; are already committed, but I cannot close the bug reports. These are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=76023&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=76023&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=51181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=51181&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Your &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21005152&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;soeken@...&lt;/a&gt; bugs.kde.org account can already close bugs? Did 
&lt;br&gt;someone give you the power or you are not that mail?
&lt;br&gt;&lt;br&gt;BTW maybe you want to become the default owner of new kruler bugs?
&lt;br&gt;&lt;br&gt;Albert
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mathias
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Kde-graphics-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21005152&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21005152&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kruler-maintainership-tp20971675p21005152.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20971675</id>
	<title>kruler maintainership</title>
	<published>2008-12-12T00:31:35Z</published>
	<updated>2008-12-12T00:31:35Z</updated>
	<author>
		<name>Mathias Soeken</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I try to write a mail to Till Krech, the current maintainer of kruler, &amp;nbsp;
&lt;br&gt;but the eMail address is not valid anymore. Even there were not much &amp;nbsp;
&lt;br&gt;commits from him in the last time. Seems that he is inactive in kruler &amp;nbsp;
&lt;br&gt;development or he has another email address. I fixed some bugs, which &amp;nbsp;
&lt;br&gt;are already committed, but I cannot close the bug reports. These are:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=76023&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=76023&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=51181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.kde.org/show_bug.cgi?id=51181&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mathias
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=20971675&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kruler-maintainership-tp20971675p20971675.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18293711</id>
	<title>Looking for new maintainer for kpovmodeler</title>
	<published>2008-07-05T09:13:46Z</published>
	<updated>2008-07-05T09:13:46Z</updated>
	<author>
		<name>Bugzilla from zehender@kde.org</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;as you may have noticed, there is no active development on kpovmodeler 
&lt;br&gt;for a while now. kpovmodeler is a modeling and composition program for 
&lt;br&gt;creating pov-ray scenes.
&lt;br&gt;&lt;br&gt;My spare time was hardly enough to make the porting to KDE 4, but that 
&lt;br&gt;was successfully finished in time for the KDE 4.0 release. Now I'm 
&lt;br&gt;looking for a skilled KDE developer with some knowledge in povray and 3D 
&lt;br&gt;stuff, who will follow future KDE technology changes and keep 
&lt;br&gt;kpovmodeler compilable and stable. The current state of the program is 
&lt;br&gt;good, it compiles and runs without any problems against the latest KDE 
&lt;br&gt;4.1 Beta 2.
&lt;br&gt;&lt;br&gt;I will still support you, but decisions and maintainership will be taken 
&lt;br&gt;over by you. The homepage will still be hosted by me, but since 
&lt;br&gt;www.kpovmodeler.org is a cms installation, you will be able to change 
&lt;br&gt;contents, too.
&lt;br&gt;&lt;br&gt;kpovmodeler has a very clean and extendable framework, so you should be 
&lt;br&gt;able to understand the program in short time. Some new features like 
&lt;br&gt;scripting and animation support are partly prepared, so I'd be happy if 
&lt;br&gt;those features could be finished.
&lt;br&gt;&lt;br&gt;If you are interested please contact This e-mail address is being 
&lt;br&gt;protected from spambots, you need JavaScript enabled to view it me with 
&lt;br&gt;a short description of you person and your experience with KDE/Qt 
&lt;br&gt;programming
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18293711&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Looking-for-new-maintainer-for-kpovmodeler-tp18293711p18293711.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18228473</id>
	<title>Re: Review Request: shadowBlur and shadowText libplasma functions</title>
	<published>2008-07-01T18:21:05Z</published>
	<updated>2008-07-01T18:21:05Z</updated>
	<author>
		<name>Bugzilla from fredrik@kde.org</name>
	</author>
	<content type="html">On Tuesday 01 July 2008 08:56, Jamboarder wrote:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.vidsolbach.de/r/64/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.vidsolbach.de/r/64/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This patch exports a shadowBlur function and add a shadowText convenience function for libplasma.
&lt;br&gt;&amp;gt; Folderview will be patched so that the title uses the shadowText function. &amp;nbsp;Other areas of plasma might find this function useful as well (krunner and perhaps Plasma::Icon comes to mind).
&lt;br&gt;&lt;br&gt;Hi Andrew,
&lt;br&gt;&lt;br&gt;I've looked at your patch, and I have a few comments:
&lt;br&gt;&lt;br&gt;Starting with the API, I'm not sure if it's a good idea to return a pixmap
&lt;br&gt;with the original text and the shadow, because it then becomes the
&lt;br&gt;caller's responsibility to figure out where it needs to draw the pixmap
&lt;br&gt;in order to position the text. The position of the text within the pixmap
&lt;br&gt;depends both on the blur radius and the offset, and if the caller uses the
&lt;br&gt;default parameters there's simply no way for it to know where it should
&lt;br&gt;draw the pixmap. The default parameters or the implementation could
&lt;br&gt;never be changed without breaking existing code. With this API there's
&lt;br&gt;also no way to specify the font that should be used for the text, it will
&lt;br&gt;always be drawn with the applications's default font.
&lt;br&gt;&lt;br&gt;I would suggest that you change the API to something like this instead:
&lt;br&gt;&lt;br&gt;void drawShadowedText(QPainter *painter, const QPoint &amp;pos,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const QString &amp;text, int radius, const QColor &amp;shadowColor,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const QPoint &amp;offset)
&lt;br&gt;&lt;br&gt;This function would use the font and the pen color in the painter, and
&lt;br&gt;figure out where it needs to render the shadow image relative to the text.
&lt;br&gt;&lt;br&gt;Not tying the shadow image to a specific paint device also seems
&lt;br&gt;more future proof, in case we replace the implementation at some point
&lt;br&gt;with one that uses Quasar.
&lt;br&gt;&lt;br&gt;I also see some issues in the implementation. Creating a temporary pixmap
&lt;br&gt;just to start a QPainter on it to get to the font metrics for the default font
&lt;br&gt;is wasteful, since you can access those metrics from the QApplication object.
&lt;br&gt;&lt;br&gt;You add padding to the shadow image to compensate for the blur radius,
&lt;br&gt;but you then draw the text in the upper right corner, and this has the
&lt;br&gt;effect that you end up with no padding on the left and top sides of the
&lt;br&gt;image, and twice the needed padding on the right and bottom sides.
&lt;br&gt;&lt;br&gt;The code that creates the composite pixmap also assumes that the shadow
&lt;br&gt;offset is positive, which it might not be. It will also size the composite
&lt;br&gt;pixmap larger than it needs to be if the shadow offset is smaller than the
&lt;br&gt;padding added to the image earlier.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Fredrik
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18228473&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Review-Request%3A-shadowBlur-and-shadowText-libplasma-functions-tp18228473p18228473.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17876835</id>
	<title>Some changes</title>
	<published>2008-06-16T19:16:06Z</published>
	<updated>2008-06-16T19:16:06Z</updated>
	<author>
		<name>Bugzilla from zack@kde.org</name>
	</author>
	<content type="html">i've commited quite a few changes to the repository. 
&lt;br&gt;&lt;br&gt;i also added a simple app that allows previewing filters in real-time. called 
&lt;br&gt;it redshift.
&lt;br&gt;&lt;br&gt;here are some screenshots:
&lt;br&gt;&lt;br&gt;how it looks by default:
&lt;br&gt;&lt;a href=&quot;http://ktown.kde.org/~zrusin/redshift1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ktown.kde.org/~zrusin/redshift1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;with transform scale applied (the transform filter editor only allows to show 
&lt;br&gt;off scaling currently, maybe someone would feel like fixing that =) )
&lt;br&gt;&lt;a href=&quot;http://ktown.kde.org/~zrusin/redshift2.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ktown.kde.org/~zrusin/redshift2.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;with brightness applied:
&lt;br&gt;&lt;a href=&quot;http://ktown.kde.org/~zrusin/redshift3.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ktown.kde.org/~zrusin/redshift3.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;edge detection (it's actually a neat effect)
&lt;br&gt;&lt;a href=&quot;http://ktown.kde.org/~zrusin/redshift7.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ktown.kde.org/~zrusin/redshift7.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;saturation (low alpha, effectively making the image grayscale)
&lt;br&gt;&lt;a href=&quot;http://ktown.kde.org/~zrusin/redshift8.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ktown.kde.org/~zrusin/redshift8.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;z
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17876835&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-changes-tp17876835p17876835.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17811919</id>
	<title>Quasar todo</title>
	<published>2008-06-12T16:19:43Z</published>
	<updated>2008-06-12T16:19:43Z</updated>
	<author>
		<name>Bugzilla from zack@kde.org</name>
	</author>
	<content type="html">I've just updated the TODO in quasar. 
&lt;br&gt;&lt;br&gt;The way I'd like to handle this is make a first official release Quasar, slap 
&lt;br&gt;0.9 number on it and release it once we have the following:
&lt;br&gt;&lt;br&gt;- Geometrical transformations
&lt;br&gt;&amp;nbsp; - affine
&lt;br&gt;&amp;nbsp; - projective
&lt;br&gt;&lt;br&gt;- True graph layout (currently only linear layout supported)
&lt;br&gt;&lt;br&gt;- Allowing output to multiple nodes
&lt;br&gt;&lt;br&gt;- Making RenderOutputNode also render to normal widgets
&lt;br&gt;&lt;br&gt;- Testing application showing all the filters
&lt;br&gt;&lt;br&gt;- All filters defined in SVG
&lt;br&gt;&lt;br&gt;- Creating PixmapInputNode and using pixmap_to_texture
&lt;br&gt;&lt;br&gt;- Using pbo's for texture uploads
&lt;br&gt;&lt;br&gt;- Simplify rendering by allowing setting output widget on
&lt;br&gt;&amp;nbsp; the composition. e.g. Composition::setOutput
&lt;br&gt;&lt;br&gt;- Fix handling of domain of definition and region of interest
&lt;br&gt;&lt;br&gt;- Make sure video works correctly
&lt;br&gt;&lt;br&gt;&lt;br&gt;I think this should be enough to get people really happy with this stuff. 
&lt;br&gt;After the first release once we get the opinions on it, do the api reviews 
&lt;br&gt;and release Quasar 1.0 with a nice api.
&lt;br&gt;&lt;br&gt;Also for those who are running Open Source OpenGL drivers, you probably 
&lt;br&gt;noticed that your current drivers don't handle GLSL to well (at all). I just 
&lt;br&gt;pushed some changes to Mesa gallium-0.1 repository so using software 
&lt;br&gt;rendering you can test out Quasar using the following :
&lt;br&gt;git clone git://git.freedesktop.org/git/mesa/mesa
&lt;br&gt;cd mesa
&lt;br&gt;git checkout -b gallium-0.1 origin/gallium-0.1
&lt;br&gt;make linux-x86
&lt;br&gt;export LD_LIBRARY_PATH=$PWD/lib
&lt;br&gt;And now quasar code will run but in software so it will be slow (usable but 
&lt;br&gt;slow).
&lt;br&gt;&lt;br&gt;z
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17811919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-todo-tp17811919p17811919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17766401</id>
	<title>Re: Quasar</title>
	<published>2008-06-10T15:37:30Z</published>
	<updated>2008-06-10T15:37:30Z</updated>
	<author>
		<name>Bugzilla from zack@kde.org</name>
	</author>
	<content type="html">On Tuesday 10 June 2008 05:34:52 pm Matthias Kretz wrote:
&lt;br&gt;&amp;gt; Ah, then Composition::setOutput(QWidget *) would check for
&lt;br&gt;&amp;gt; qobject_cast&amp;lt;QGLWidget *&amp;gt; and render the textures directly, or if it's not
&lt;br&gt;&amp;gt; a GL widget convert the texture to a pixmap and draw that, right?
&lt;br&gt;&lt;br&gt;Yes, (except that I'd like to see RenderOutputNode do that selection, but 
&lt;br&gt;based on what was passed to setOutput) :)
&lt;br&gt;&lt;br&gt;&amp;gt; Things to consider:
&lt;br&gt;&amp;gt; - a composition should allow more than one output
&lt;br&gt;&lt;br&gt;Definitely.
&lt;br&gt;&lt;br&gt;&amp;gt; - split processing and drawing between Composition::execute() and
&lt;br&gt;&amp;gt; Composition::paint(QWidget / QImage / QPixmap / QGLWidget / QPainter). Then
&lt;br&gt;&amp;gt; the app could call execute once and paint the result as often as it wants
&lt;br&gt;&amp;gt; to.
&lt;br&gt;&lt;br&gt;I think this binds with the one above, right? One would basically create 
&lt;br&gt;multiple RenderOutputNode's with different targets as output. 
&lt;br&gt;&lt;br&gt;&amp;gt; Sidenote: One could try to make the vertex shader use less instructions. 
&lt;br&gt;&lt;br&gt;I don't think we should worry about that. The vertex shader constructed for 
&lt;br&gt;the &amp;quot;famous&amp;quot; GL gears example has 15 instructions (due to lightning) and it's 
&lt;br&gt;running in multiple of hundreds of fps with software GL implementations. 
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Anyway. Here's what I had in mind for rotation:
&lt;br&gt;&amp;gt; glMatrixMode(GL_MODELVIEW);
&lt;br&gt;&amp;gt; glPushMatrix();
&lt;br&gt;&amp;gt; glTranslatef(-width * 0.5, -height * 0.5, 0);
&lt;br&gt;&amp;gt; glRotatef(angle, 0, 0, 1);
&lt;br&gt;&amp;gt; glTranslatef(width * 0.5, height * 0.5, 0);
&lt;br&gt;&amp;gt; mesh-&amp;gt;render();
&lt;br&gt;&amp;gt; glPopMatrix();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And that's what's currently not easily possible with a FilterNode subclass.
&lt;/div&gt;&lt;br&gt;Yea, I'll implement geometrical transformations filter sometime this week. 
&lt;br&gt;Hopefully it's gonna be clearer by then.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I didn't mean the input texture, but the resulting texture. I.e. the one
&lt;br&gt;&amp;gt; that is written into when rendered onto the fbo. The problem was visible
&lt;br&gt;&amp;gt; with recent Quasar when you had an image that was greater than the
&lt;br&gt;&amp;gt; QGLWidget. Then only the lower left part of that image got processed, the
&lt;br&gt;&amp;gt; rest of the texture was a dark grey.
&lt;br&gt;&lt;br&gt;Ah, interesting, we'll need a test for that. I haven't seen it. The resulting 
&lt;br&gt;texture should be of the size of the fbo. 
&lt;br&gt;Of the top of my head I don't remember anything in the EXT_framebuffer_object 
&lt;br&gt;spec that would make it impossible to have fbo's bigger than the surface 
&lt;br&gt;direct rendering context was constructed for. I'll look into it. If you have 
&lt;br&gt;a simple example, that would help as well :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Alternatively the projection could also be glOrtho(0, 1, 0, 1, -1, 1).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Depending on the node this might make sense, so it would be good if the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; node can override the projection matrix easily.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any particular reason for it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Say you want to do a translation in the vertex shader. If the projection
&lt;br&gt;&amp;gt; matrix is glOrtho(0, width, 0, height, ...) then the vertex shader doesn't
&lt;br&gt;&amp;gt; know how far it has to move the vertex to do e.g. a 50% translation to the
&lt;br&gt;&amp;gt; left. 
&lt;/div&gt;&lt;br&gt;Yea, I'm going to pass dimensions as a vec4 to the shader. So then the shader 
&lt;br&gt;would simply do
&lt;br&gt;uniform vec4 dimensions;
&lt;br&gt;gl_Position = gl_ModelViewProjectionMatrix * (gl_Vertex + dimensions.xy*0.5);
&lt;br&gt;or such.
&lt;br&gt;&lt;br&gt;&amp;gt; The shader would need to know the image dimensions - those could be 
&lt;br&gt;&amp;gt; passed as uniforms. But if the vertices are &amp;quot;normalized&amp;quot; to the 1x1
&lt;br&gt;&amp;gt; rectangle the uniforms become unnecessary.
&lt;br&gt;&lt;br&gt;But then the vertices in the mesh have to mapped within the 0-1 viewport for 
&lt;br&gt;all the textures. 
&lt;br&gt;So it's really a question of where you want to be doing the math. I also 
&lt;br&gt;wanted to keep a more natural coordinate mode 0-width/0-height. I never liked 
&lt;br&gt;the fact that in Qt we did upper-left 0,0, but I guess at somepoint we'll 
&lt;br&gt;need to switch to the same coordinate system Qt uses by default to integrate 
&lt;br&gt;better.
&lt;br&gt;&lt;br&gt;&amp;gt; Probably QGraphicsView would be the best framework to integrate with?
&lt;br&gt;&lt;br&gt;Yea, I think so.
&lt;br&gt;&lt;br&gt;z
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17766401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-tp17724316p17766401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17765277</id>
	<title>Re: Quasar</title>
	<published>2008-06-10T14:34:52Z</published>
	<updated>2008-06-10T14:34:52Z</updated>
	<author>
		<name>Bugzilla from kretz@kde.org</name>
	</author>
	<content type="html">On Tuesday 10 June 2008, Zack Rusin wrote:
&lt;br&gt;&amp;gt; On Monday 09 June 2008 08:04:38 am Matthias Kretz wrote:
&lt;br&gt;&amp;gt; &amp;gt; Well, for the users of Quasar GL should probably be hidden. But for node
&lt;br&gt;&amp;gt; &amp;gt; implementors there won't be a way around GL anyway. So perhaps it helps
&lt;br&gt;&amp;gt; &amp;gt; to keep in mind that there are two Quasar APIs.
&lt;br&gt;&lt;br&gt;It occured to me that one is an API and the other an NPI (Node Programmer 
&lt;br&gt;Interface) ;-)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; - add a Quasar::RenderWidget which redraws and resizes/sets the size hint
&lt;br&gt;&amp;gt; &amp;gt; automatically and which hides OpenGL for the ignorant user.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ideally I'd like to see Quasar widget independent. So I'd much rather have
&lt;br&gt;&amp;gt; SomeWidget::SomeWidget(QWidget *parent)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; composition.setOutput(this);
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; void SomeWidget::paintEvent(QPainteEvent *e)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;composition.execute();
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; and setOutput basically would do:
&lt;br&gt;&amp;gt; connect(composition, SIGNAL(graphChanged()),
&lt;br&gt;&amp;gt; 	widget, SLOT(update()));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To completely avoid any custom widget's. And allow rendering to both
&lt;br&gt;&amp;gt; QWidget's and QGraphicsItem's (the latter would be trivial if QGLWidget
&lt;br&gt;&amp;gt; would be the viewport for the QGraphicsView on which a given QGraphicsItem
&lt;br&gt;&amp;gt; resides. For the latter we'll need some magic in RenderOutputNode);
&lt;/div&gt;&lt;/div&gt;Ah, then Composition::setOutput(QWidget *) would check for 
&lt;br&gt;qobject_cast&amp;lt;QGLWidget *&amp;gt; and render the textures directly, or if it's not a 
&lt;br&gt;GL widget convert the texture to a pixmap and draw that, right?
&lt;br&gt;&lt;br&gt;Things to consider:
&lt;br&gt;- a composition should allow more than one output
&lt;br&gt;- split processing and drawing between Composition::execute() and 
&lt;br&gt;Composition::paint(QWidget / QImage / QPixmap / QGLWidget / QPainter). Then 
&lt;br&gt;the app could call execute once and paint the result as often as it wants to.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Regarding FilterNode implementations:
&lt;br&gt;&amp;gt; &amp;gt; a) FilterNode is a very handy class and I'd like to use it where
&lt;br&gt;&amp;gt; &amp;gt; possible, but sometimes it would make sense to not hide the Mesh to the
&lt;br&gt;&amp;gt; &amp;gt; FilterNode impl but let it render the vertices itself. I was thinking of
&lt;br&gt;&amp;gt; &amp;gt; e.g. a rotation filter where you probably don't want to calculate the
&lt;br&gt;&amp;gt; &amp;gt; rotation of every vertex in the shader but calculate it once when the
&lt;br&gt;&amp;gt; &amp;gt; rotation angle is set and then every reevaluation of the filter is as
&lt;br&gt;&amp;gt; &amp;gt; fast as it can get.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wanted to do geometrical transformations as a vertex shader. Currently
&lt;br&gt;&amp;gt; for all filters we're always using a vertex shader with:
&lt;br&gt;&amp;gt; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
&lt;br&gt;&amp;gt; for any other transformation we'd either use:
&lt;br&gt;&amp;gt; gl_Position = userPassedMatrix * gl_Vertex;
&lt;br&gt;&amp;gt; or
&lt;br&gt;&amp;gt; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex *
&lt;br&gt;&amp;gt; someTransformation; GPU will execute the vertex shader anyway, it makes
&lt;br&gt;&amp;gt; sense to use that.
&lt;/div&gt;&lt;/div&gt;Sidenote: One could try to make the vertex shader use less instructions. I 
&lt;br&gt;assume the performance gain will be negligible, so feel free to ignore this. 
&lt;br&gt;If one were to use an identity matrix for both projection and modelview - the 
&lt;br&gt;latter is normal for most filters, the former is the same as using 
&lt;br&gt;glOrtho(-1, 1, -1, 1, 1, -1) - one would be able to do &amp;quot;gl_Position = 
&lt;br&gt;gl_Vertex;&amp;quot;.
&lt;br&gt;&lt;br&gt;Anyway. Here's what I had in mind for rotation:
&lt;br&gt;glMatrixMode(GL_MODELVIEW);
&lt;br&gt;glPushMatrix();
&lt;br&gt;glTranslatef(-width * 0.5, -height * 0.5, 0);
&lt;br&gt;glRotatef(angle, 0, 0, 1);
&lt;br&gt;glTranslatef(width * 0.5, height * 0.5, 0);
&lt;br&gt;mesh-&amp;gt;render();
&lt;br&gt;glPopMatrix();
&lt;br&gt;&lt;br&gt;And that's what's currently not easily possible with a FilterNode subclass.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; b) did you fix the viewport and projection matrix for fbos? I.e. per
&lt;br&gt;&amp;gt; &amp;gt; default every fbo should use a viewport of the dimensions of its attached
&lt;br&gt;&amp;gt; &amp;gt; texture and a glOrtho projection of the same dimensions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ah, no! The fbos shouldn't have dimensions of the master texture,
&lt;br&gt;&lt;br&gt;I didn't mean the input texture, but the resulting texture. I.e. the one that 
&lt;br&gt;is written into when rendered onto the fbo. The problem was visible with 
&lt;br&gt;recent Quasar when you had an image that was greater than the QGLWidget. Then 
&lt;br&gt;only the lower left part of that image got processed, the rest of the texture 
&lt;br&gt;was a dark grey.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; they 
&lt;br&gt;&amp;gt; should have dimensions of the domainOfDefinition and such coordinates.
&lt;br&gt;&amp;gt; For example:
&lt;br&gt;&amp;gt; ImageInputNode reads image 600x400
&lt;br&gt;&amp;gt; GaussianBlurNode filters that image
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For gaussian-blur to be correct the dimensions of the produced texture need
&lt;br&gt;&amp;gt; to be 600+filter radius / 400 + filter radius. So the master texture will
&lt;br&gt;&amp;gt; be 600x400 but it will be rendered in the middle of 600+filter radius/400 +
&lt;br&gt;&amp;gt; filter radius fbo.
&lt;br&gt;&amp;gt; I probably should write some documentation about the point of domain of
&lt;br&gt;&amp;gt; definition and region of interest. It was described in detail in this
&lt;br&gt;&amp;gt; paper: &lt;a href=&quot;http://portal.acm.org/citation.cfm?id=192191&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.acm.org/citation.cfm?id=192191&lt;/a&gt;&lt;br&gt;&amp;gt; (currently it's not really implemented too well, or at all, in Quasar but
&lt;br&gt;&amp;gt; this is where we want to get)
&lt;/div&gt;&lt;/div&gt;I know your plans wrt this, which is why I'm keeping some of my hacks for 
&lt;br&gt;myself. :-)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Alternatively the projection could also be glOrtho(0, 1, 0, 1, -1, 1).
&lt;br&gt;&amp;gt; &amp;gt; Depending on the node this might make sense, so it would be good if the
&lt;br&gt;&amp;gt; &amp;gt; node can override the projection matrix easily.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any particular reason for it?
&lt;br&gt;&lt;br&gt;Say you want to do a translation in the vertex shader. If the projection 
&lt;br&gt;matrix is glOrtho(0, width, 0, height, ...) then the vertex shader doesn't 
&lt;br&gt;know how far it has to move the vertex to do e.g. a 50% translation to the 
&lt;br&gt;left. The shader would need to know the image dimensions - those could be 
&lt;br&gt;passed as uniforms. But if the vertices are &amp;quot;normalized&amp;quot; to the 1x1 rectangle 
&lt;br&gt;the uniforms become unnecessary.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Hmm, thinking about UI overlays on videos (like most flash players do
&lt;br&gt;&amp;gt; &amp;gt; these days). Would it be in scope of Quasar to add event handling to the
&lt;br&gt;&amp;gt; &amp;gt; nodes? Like let the RenderWidget pass mouse and key events to the
&lt;br&gt;&amp;gt; &amp;gt; composition which would somehow handle it/let the right nodes handle it?
&lt;br&gt;&amp;gt; &amp;gt; Would it then make sense to create UI elements as Quasar nodes?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think ideally we'd do this on top of Quasar. Basically to keep it as
&lt;br&gt;&amp;gt; simple as possible.
&lt;br&gt;&amp;gt; But yea, it would be great to have nodes that do some kind of event
&lt;br&gt;&amp;gt; handling. It's just that personally I didn't have a good idea on how to do
&lt;br&gt;&amp;gt; that yet =)
&lt;/div&gt;&lt;/div&gt;Probably QGraphicsView would be the best framework to integrate with?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;________________________________________________________
&lt;br&gt;Matthias Kretz (Germany) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;gt;&amp;lt;
&lt;br&gt;&lt;a href=&quot;http://Vir.homelinux.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://Vir.homelinux.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17765277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MatthiasKretz@...&lt;/a&gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17765277&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kretz@...&lt;/a&gt;,
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17765277&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Matthias.Kretz@...&lt;/a&gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17765277&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/17765277/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-tp17724316p17765277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17744475</id>
	<title>Re: Quasar</title>
	<published>2008-06-09T15:27:33Z</published>
	<updated>2008-06-09T15:27:33Z</updated>
	<author>
		<name>Bugzilla from zack@kde.org</name>
	</author>
	<content type="html">On Monday 09 June 2008 08:04:38 am Matthias Kretz wrote:
&lt;br&gt;&amp;gt; Well, for the users of Quasar GL should probably be hidden. But for node
&lt;br&gt;&amp;gt; implementors there won't be a way around GL anyway. So perhaps it helps to
&lt;br&gt;&amp;gt; keep in mind that there are two Quasar APIs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The main problem with using the API I have at the moment is that the
&lt;br&gt;&amp;gt; application, if it wants to use the RenderOutputNode, needs to create a
&lt;br&gt;&amp;gt; QGLWidget and is solely responsible for redraws.
&lt;br&gt;&lt;br&gt;Yea, that's a good point.
&lt;br&gt;&lt;br&gt;&amp;gt; suggestions:
&lt;br&gt;&amp;gt; - add a Quasar::Composition::graphChanged() signal. Then
&lt;br&gt;&amp;gt; Node::setPropertyValue would trigger that signal as could a node
&lt;br&gt;&amp;gt; implementation by itself (PhononInputNode would need to trigger that signal
&lt;br&gt;&amp;gt; with every new frame).
&lt;br&gt;&lt;br&gt;Yea, definitely. The graphChanged signal should definitely be there. 
&lt;br&gt;&lt;br&gt;&amp;gt; - add a Quasar::RenderWidget which redraws and resizes/sets the size hint
&lt;br&gt;&amp;gt; automatically and which hides OpenGL for the ignorant user.
&lt;br&gt;&lt;br&gt;Ideally I'd like to see Quasar widget independent. So I'd much rather have
&lt;br&gt;SomeWidget::SomeWidget(QWidget *parent)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; composition.setOutput(this);
&lt;br&gt;}
&lt;br&gt;void SomeWidget::paintEvent(QPainteEvent *e)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp;composition.execute();
&lt;br&gt;}
&lt;br&gt;and setOutput basically would do:
&lt;br&gt;connect(composition, SIGNAL(graphChanged()),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; widget, SLOT(update()));
&lt;br&gt;&lt;br&gt;To completely avoid any custom widget's. And allow rendering to both QWidget's 
&lt;br&gt;and QGraphicsItem's (the latter would be trivial if QGLWidget would be the 
&lt;br&gt;viewport for the QGraphicsView on which a given QGraphicsItem resides. For 
&lt;br&gt;the latter we'll need some magic in RenderOutputNode);
&lt;br&gt;&lt;br&gt;&amp;gt; Regarding FilterNode implementations:
&lt;br&gt;&amp;gt; a) FilterNode is a very handy class and I'd like to use it where possible,
&lt;br&gt;&amp;gt; but sometimes it would make sense to not hide the Mesh to the FilterNode
&lt;br&gt;&amp;gt; impl but let it render the vertices itself. I was thinking of e.g. a
&lt;br&gt;&amp;gt; rotation filter where you probably don't want to calculate the rotation of
&lt;br&gt;&amp;gt; every vertex in the shader but calculate it once when the rotation angle is
&lt;br&gt;&amp;gt; set and then every reevaluation of the filter is as fast as it can get.
&lt;br&gt;&lt;br&gt;I wanted to do geometrical transformations as a vertex shader. Currently for 
&lt;br&gt;all filters we're always using a vertex shader with:
&lt;br&gt;gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
&lt;br&gt;for any other transformation we'd either use:
&lt;br&gt;gl_Position = userPassedMatrix * gl_Vertex;
&lt;br&gt;or 
&lt;br&gt;gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex * someTransformation;
&lt;br&gt;GPU will execute the vertex shader anyway, it makes sense to use that.
&lt;br&gt;&lt;br&gt;&amp;gt; Also, an impl might want to use different texture coordinates (flip the
&lt;br&gt;&amp;gt; image, stretch, ...) 
&lt;br&gt;&lt;br&gt;Realistically speaking that's also something that should be done in the vertex 
&lt;br&gt;shader. Currently we do:
&lt;br&gt;gl_TexCoord[0] = gl_MultiTexCoord0;
&lt;br&gt;which is passing default texture coords. We can do anything we want with them 
&lt;br&gt;there.
&lt;br&gt;&lt;br&gt;&amp;gt; or pass other vertex parameters (i.e. not uniforms). 
&lt;br&gt;&lt;br&gt;Yea, definitely. I wanted to add a nicer api for custom parameters. But aside 
&lt;br&gt;of uniforms probably only varying would make sense for us.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; b) did you fix the viewport and projection matrix for fbos? I.e. per
&lt;br&gt;&amp;gt; default every fbo should use a viewport of the dimensions of its attached
&lt;br&gt;&amp;gt; texture and a glOrtho projection of the same dimensions. 
&lt;br&gt;&lt;br&gt;Ah, no! The fbos shouldn't have dimensions of the master texture, they should 
&lt;br&gt;have dimensions of the domainOfDefinition and such coordinates. 
&lt;br&gt;For example:
&lt;br&gt;ImageInputNode reads image 600x400
&lt;br&gt;GaussianBlurNode filters that image
&lt;br&gt;&lt;br&gt;For gaussian-blur to be correct the dimensions of the produced texture need to 
&lt;br&gt;be 600+filter radius / 400 + filter radius. So the master texture will be 
&lt;br&gt;600x400 but it will be rendered in the middle of 600+filter radius/400 + 
&lt;br&gt;filter radius fbo.
&lt;br&gt;I probably should write some documentation about the point of domain of 
&lt;br&gt;definition and region of interest. It was described in detail in this paper:
&lt;br&gt;&lt;a href=&quot;http://portal.acm.org/citation.cfm?id=192191&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.acm.org/citation.cfm?id=192191&lt;/a&gt;&lt;br&gt;(currently it's not really implemented too well, or at all, in Quasar but this 
&lt;br&gt;is where we want to get)
&lt;br&gt;&lt;br&gt;&amp;gt; Alternatively the projection could also be glOrtho(0, 1, 0, 1, -1, 1).
&lt;br&gt;&amp;gt; Depending on the node this might make sense, so it would be good if the node
&lt;br&gt;&amp;gt; can override the projection matrix easily.
&lt;br&gt;&lt;br&gt;Any particular reason for it? 
&lt;br&gt;&lt;br&gt;&amp;gt; Hmm, thinking about UI overlays on videos (like most flash players do these
&lt;br&gt;&amp;gt; days). Would it be in scope of Quasar to add event handling to the nodes?
&lt;br&gt;&amp;gt; Like let the RenderWidget pass mouse and key events to the composition
&lt;br&gt;&amp;gt; which would somehow handle it/let the right nodes handle it? Would it then
&lt;br&gt;&amp;gt; make sense to create UI elements as Quasar nodes?
&lt;br&gt;&lt;br&gt;I think ideally we'd do this on top of Quasar. Basically to keep it as simple 
&lt;br&gt;as possible. 
&lt;br&gt;But yea, it would be great to have nodes that do some kind of event handling. 
&lt;br&gt;It's just that personally I didn't have a good idea on how to do that yet =)
&lt;br&gt;&lt;br&gt;z
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17744475&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-tp17724316p17744475.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17732030</id>
	<title>Re: Quasar</title>
	<published>2008-06-09T05:04:38Z</published>
	<updated>2008-06-09T05:04:38Z</updated>
	<author>
		<name>Bugzilla from kretz@kde.org</name>
	</author>
	<content type="html">On Monday 09 June 2008, Zack Rusin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The way Quasar works internally is that everything is a Node that has an
&lt;br&gt;&amp;gt; execute method. Nodes can be connected much in a similar way to the way
&lt;br&gt;&amp;gt; QObject's signals/slots can be connected. A graph of those connections is
&lt;br&gt;&amp;gt; created and upon execution Quasar goes over the graph, allocates surfaces
&lt;br&gt;&amp;gt; (framebuffer objects) necessary to perform actions and executes the nodes.
&lt;br&gt;&amp;gt; The output of the graph can be automatically displayed (by adding
&lt;br&gt;&amp;gt; Quasar::RenderOutputNode to the graph) or saved to a QImage (by adding
&lt;br&gt;&amp;gt; Quasar::ImageOutputNode to the graph).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There's a lot of things missing right now in Quasar, in particular:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - API is utter crap - I was mostly adding GL code and because I know GL
&lt;br&gt;&amp;gt; code in and out I'm a rather bad person to design it. My knowledge of
&lt;br&gt;&amp;gt; graphics hardware from the bottom up means that whatever graphics API I'll
&lt;br&gt;&amp;gt; design will likely unnecessarily expose the internals.
&lt;/div&gt;&lt;/div&gt;Well, for the users of Quasar GL should probably be hidden. But for node 
&lt;br&gt;implementors there won't be a way around GL anyway. So perhaps it helps to 
&lt;br&gt;keep in mind that there are two Quasar APIs.
&lt;br&gt;&lt;br&gt;The main problem with using the API I have at the moment is that the 
&lt;br&gt;application, if it wants to use the RenderOutputNode, needs to create a 
&lt;br&gt;QGLWidget and is solely responsible for redraws.
&lt;br&gt;suggestions:
&lt;br&gt;- add a Quasar::Composition::graphChanged() signal. Then 
&lt;br&gt;Node::setPropertyValue would trigger that signal as could a node 
&lt;br&gt;implementation by itself (PhononInputNode would need to trigger that signal 
&lt;br&gt;with every new frame).
&lt;br&gt;- add a Quasar::RenderWidget which redraws and resizes/sets the size hint 
&lt;br&gt;automatically and which hides OpenGL for the ignorant user.
&lt;br&gt;&lt;br&gt;Regarding FilterNode implementations:
&lt;br&gt;a) FilterNode is a very handy class and I'd like to use it where possible, but 
&lt;br&gt;sometimes it would make sense to not hide the Mesh to the FilterNode impl but 
&lt;br&gt;let it render the vertices itself. I was thinking of e.g. a rotation filter 
&lt;br&gt;where you probably don't want to calculate the rotation of every vertex in 
&lt;br&gt;the shader but calculate it once when the rotation angle is set and then 
&lt;br&gt;every reevaluation of the filter is as fast as it can get. Also, an impl 
&lt;br&gt;might want to use different texture coordinates (flip the image, 
&lt;br&gt;stretch, ...) or pass other vertex parameters (i.e. not uniforms).
&lt;br&gt;&lt;br&gt;b) did you fix the viewport and projection matrix for fbos? I.e. per default 
&lt;br&gt;every fbo should use a viewport of the dimensions of its attached texture and 
&lt;br&gt;a glOrtho projection of the same dimensions. Alternatively the projection 
&lt;br&gt;could also be glOrtho(0, 1, 0, 1, -1, 1). Depending on the node this might 
&lt;br&gt;make sense, so it would be good if the node can override the projection 
&lt;br&gt;matrix easily.
&lt;br&gt;&lt;br&gt;Ok, that's what I came up with for now, hope it's useful. :-)
&lt;br&gt;&lt;br&gt;Hmm, thinking about UI overlays on videos (like most flash players do these 
&lt;br&gt;days). Would it be in scope of Quasar to add event handling to the nodes? 
&lt;br&gt;Like let the RenderWidget pass mouse and key events to the composition which 
&lt;br&gt;would somehow handle it/let the right nodes handle it? Would it then make 
&lt;br&gt;sense to create UI elements as Quasar nodes?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;________________________________________________________
&lt;br&gt;Matthias Kretz (Germany) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;gt;&amp;lt;
&lt;br&gt;&lt;a href=&quot;http://Vir.homelinux.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://Vir.homelinux.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17732030&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MatthiasKretz@...&lt;/a&gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17732030&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kretz@...&lt;/a&gt;,
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17732030&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Matthias.Kretz@...&lt;/a&gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17732030&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/17732030/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-tp17724316p17732030.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17724316</id>
	<title>Quasar</title>
	<published>2008-06-08T15:49:17Z</published>
	<updated>2008-06-08T15:49:17Z</updated>
	<author>
		<name>Bugzilla from zack@kde.org</name>
	</author>
	<content type="html">Hey,
&lt;br&gt;&lt;br&gt;as some of you might have noticed it's a beautiful day (where I'm at right 
&lt;br&gt;now, I don't care about you). Something else you might have noticed is that 
&lt;br&gt;Matthias and I have been working on Quasar a bit lately and I feel we're 
&lt;br&gt;slowly moving towards a &amp;quot;kinda working&amp;quot; stage which is good (not &amp;quot;sexy&amp;quot; but 
&lt;br&gt;I'm sexy and bad, so clearly one doesn't have to imply the other).
&lt;br&gt;&lt;br&gt;Simply put Quasar is a presentation layer. What that means is that is handles 
&lt;br&gt;display and intermediate manipulation of the rendered data - be it effects 
&lt;br&gt;(like blur, saturation...) or transformations (e.g. scaling, rotation, 
&lt;br&gt;waving...). Because of a huge interest in animation and a number of code that 
&lt;br&gt;tries to handle it (neat things in Plasma and the new code Qt) Quasar doesn't 
&lt;br&gt;handle animations itself. The framework to do them can be built either on top 
&lt;br&gt;of it or alongside it. So again, Quasar is a presentation layer - how it 
&lt;br&gt;should present it is something that things on top of it should decide.
&lt;br&gt;&lt;br&gt;Quasar is a purely OpenGL creation. I thought about software filters for a 
&lt;br&gt;while, then I decided that I was dumb for even entertaining the thought of 
&lt;br&gt;using software filters. There is no software fallbacks in Quasar - absolutely 
&lt;br&gt;everything goes through OpenGL.
&lt;br&gt;&lt;br&gt;Filters in Quasar are simply GL shaders.
&lt;br&gt;&lt;br&gt;The way Quasar works internally is that everything is a Node that has an 
&lt;br&gt;execute method. Nodes can be connected much in a similar way to the way 
&lt;br&gt;QObject's signals/slots can be connected. A graph of those connections is 
&lt;br&gt;created and upon execution Quasar goes over the graph, allocates surfaces 
&lt;br&gt;(framebuffer objects) necessary to perform actions and executes the nodes. 
&lt;br&gt;The output of the graph can be automatically displayed (by adding 
&lt;br&gt;Quasar::RenderOutputNode to the graph) or saved to a QImage (by adding 
&lt;br&gt;Quasar::ImageOutputNode to the graph).
&lt;br&gt;&lt;br&gt;&lt;br&gt;There's a lot of things missing right now in Quasar, in particular:
&lt;br&gt;&lt;br&gt;- API is utter crap - I was mostly adding GL code and because I know GL code 
&lt;br&gt;in and out I'm a rather bad person to design it. My knowledge of graphics 
&lt;br&gt;hardware from the bottom up means that whatever graphics API I'll design will 
&lt;br&gt;likely unnecessarily expose the internals. 
&lt;br&gt;&lt;br&gt;- Graph scheduling/iteration algorithm are non-existant - currently Quasar 
&lt;br&gt;will assert if the graph is not linear
&lt;br&gt;&lt;br&gt;- No cleanups - tons of stuff isn't being deleted right now
&lt;br&gt;&lt;br&gt;- No application to show off Quasar - it'd be awesome if we had an application 
&lt;br&gt;that simply allowed loading of an image, displayed a list of filters in one 
&lt;br&gt;of the corners and a very simple property editor to manipulate properties of 
&lt;br&gt;the filters and allowed people to play with those.
&lt;br&gt;&lt;br&gt;- Very few filters - I just wrote things that I needed for testing
&lt;br&gt;&lt;br&gt;- Some GL code still missing, in particular texture transfers aren't using 
&lt;br&gt;pixel buffer objects, which especially for video is a bottleneck. I'll 
&lt;br&gt;address that next.
&lt;br&gt;&lt;br&gt;- Lack of ability to load a Quasar::Texture from a QPixmap. We need code that 
&lt;br&gt;uses GLX_EXT_texture_from_pixmap to create a gl texture from a x pixmap for 
&lt;br&gt;that.
&lt;br&gt;&lt;br&gt;If you have any questions, comments or requests it'd be best to send them to 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17724316&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kde-graphics-devel@...&lt;/a&gt;. 
&lt;br&gt;Also if you'll have any patches (which would be wicked awesome) I'd appreciate 
&lt;br&gt;if I could get a chance to review them before they go in.
&lt;br&gt;&lt;br&gt;z
&lt;br&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17724316&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quasar-tp17724316p17724316.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16859915</id>
	<title>Re: [PATCH] Okular: support Poppler 0.8</title>
	<published>2008-04-23T09:29:18Z</published>
	<updated>2008-04-23T09:29:18Z</updated>
	<author>
		<name>Bugzilla from huntedhacker@tiscali.co.uk</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;On Wednesday 23 April 2008 17:17:47 Pino Toscano wrote:&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; Hi,&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; &amp;gt; The attached patch makes okular compile when the installed version of&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; &amp;gt; poppler is 0.8.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; It actually compiles even now, and the patch is not correct.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; What is the real problem you get?&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Oh, sorry, turns out my build was screwed - it didn't recognise my poppler as being at least 0.7.  I cleaned it out and started again, and now it works.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; &amp;gt; It also fixes the 0.7 conditionals to use #ifdef rather than #if, so gcc&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; &amp;gt; doesn't generate warnings when 0.6 is installed.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&amp;gt; A separate patch for that, please.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Attached (may as well have something to show for screwing up...)&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Alex&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;-- &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;KDE: http://www.kde.org&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;&lt;tt&gt;[okular-poppler-if-ifdef.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: generator_pdf.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- generator_pdf.cpp	(revision 800186)
&lt;br&gt;+++ generator_pdf.cpp	(working copy)
&lt;br&gt;@@ -817,7 +817,7 @@ bool PDFGenerator::print( QPrinter&amp; prin
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// TODO rotation
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tf.setAutoRemove(false);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tf.close();
&lt;br&gt;@@ -833,7 +833,7 @@ bool PDFGenerator::print( QPrinter&amp; prin
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Poppler::PSConverter *psConverter = pdfdoc-&amp;gt;psConverter();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;psConverter-&amp;gt;setOutputDevice(&amp;tf);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;psConverter-&amp;gt;setOutputFileName(tempfilename);
&lt;br&gt;@@ -1505,7 +1505,7 @@ bool PDFGenerator::supportsOption( SaveO
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;switch ( option )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case SaveChanges:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;@@ -1516,7 +1516,7 @@ bool PDFGenerator::supportsOption( SaveO
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;bool PDFGenerator::save( const QString &amp;fileName, SaveOptions options )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Poppler::PDFConverter *pdfConv = pdfdoc-&amp;gt;pdfConverter();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pdfConv-&amp;gt;setOutputFileName( fileName );
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16859915&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Okular%3A-support-Poppler-0.8-tp16859335p16859915.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16859645</id>
	<title>Re: [PATCH] Okular: support Poppler 0.8</title>
	<published>2008-04-23T09:17:47Z</published>
	<updated>2008-04-23T09:17:47Z</updated>
	<author>
		<name>Pino Toscano</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; The attached patch makes okular compile when the installed version of
&lt;br&gt;&amp;gt; poppler is 0.8.
&lt;br&gt;&lt;br&gt;It actually compiles even now, and the patch is not correct.	
&lt;br&gt;What is the real problem you get?
&lt;br&gt;&lt;br&gt;&amp;gt; It also fixes the 0.7 conditionals to use #ifdef rather than #if, so gcc
&lt;br&gt;&amp;gt; doesn't generate warnings when 0.6 is installed.
&lt;br&gt;&lt;br&gt;A separate patch for that, please.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pino Toscano
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16859645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/16859645/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Okular%3A-support-Poppler-0.8-tp16859335p16859645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16859335</id>
	<title>[PATCH] Okular: support Poppler 0.8</title>
	<published>2008-04-23T09:00:42Z</published>
	<updated>2008-04-23T09:00:42Z</updated>
	<author>
		<name>Bugzilla from huntedhacker@tiscali.co.uk</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;The attached patch makes okular compile when the installed version of poppler is 0.8.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;It also fixes the 0.7 conditionals to use #ifdef rather than #if, so gcc doesn't generate warnings when 0.6 is installed.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;OK to commit?&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Alex&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;-- &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;KDE: http://www.kde.org&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;&lt;tt&gt;[okular-poppler-0.8.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: generator_pdf.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- generator_pdf.cpp	(revision 800167)
&lt;br&gt;+++ generator_pdf.cpp	(working copy)
&lt;br&gt;@@ -46,6 +46,24 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static const int PDFDebug = 4710;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static inline double leftEdge(Poppler::TextBox *word, int pos)
&lt;br&gt;+{
&lt;br&gt;+#ifdef HAVE_POPPLER_0_8
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return word-&amp;gt;charBoundingBox(pos).left();
&lt;br&gt;+#else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return word-&amp;gt;edge(pos);
&lt;br&gt;+#endif
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static inline double rightEdge(Poppler::TextBox *word, int pos)
&lt;br&gt;+{
&lt;br&gt;+#ifdef HAVE_POPPLER_0_8
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return word-&amp;gt;charBoundingBox(pos).right();
&lt;br&gt;+#else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return word-&amp;gt;edge(pos+1);
&lt;br&gt;+#endif
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;class PDFOptionsPage : public QWidget
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; public:
&lt;br&gt;@@ -817,7 +835,7 @@ bool PDFGenerator::print( QPrinter&amp; prin
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// TODO rotation
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tf.setAutoRemove(false);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tf.close();
&lt;br&gt;@@ -833,7 +851,7 @@ bool PDFGenerator::print( QPrinter&amp; prin
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Poppler::PSConverter *psConverter = pdfdoc-&amp;gt;psConverter();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;psConverter-&amp;gt;setOutputDevice(&amp;tf);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;psConverter-&amp;gt;setOutputFileName(tempfilename);
&lt;br&gt;@@ -1081,20 +1099,20 @@ Okular::TextPage * PDFGenerator::abstrac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s = word-&amp;gt;text().at(j);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, (j==charCount-1 &amp;&amp; !next ) ? (s + '\n') : s,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;leftEdge(word, j)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;bottom/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// next letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j+1)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rightEdge(word, j)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;top/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( word-&amp;gt;hasSpaceAfter() &amp;&amp; next )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, &amp;quot; &amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; word-&amp;gt;edge(charCount)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rightEdge(word, charCount-1)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;bottom/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// next letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next-&amp;gt;edge(0)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; leftEdge(next, 0)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;top/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -1106,19 +1124,19 @@ Okular::TextPage * PDFGenerator::abstrac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s=word-&amp;gt;text().at(j);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, (j==charCount-1 &amp;&amp; !next ) ? (s + '\n') : s,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;left/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j)/height,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;leftEdge(word, j)/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;right/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j+1)/height);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rightEdge(word, j)/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( word-&amp;gt;hasSpaceAfter() &amp;&amp; next )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, &amp;quot; &amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this letters boundary
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;left/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; word-&amp;gt;edge(charCount)/height,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rightEdge(word, charCount-1)/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// next letters boundary
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;right/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next-&amp;gt;edge(0)/height);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; leftEdge(next, 0)/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 2:
&lt;br&gt;@@ -1127,9 +1145,9 @@ Okular::TextPage * PDFGenerator::abstrac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s=word-&amp;gt;text().at(j);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, (j==charCount-1 &amp;&amp; !next ) ? (s + '\n') : s,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j+1)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rightEdge(word, j)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;bottom/height,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;leftEdge(word, j)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;top/height);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;@@ -1137,10 +1155,10 @@ Okular::TextPage * PDFGenerator::abstrac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( word-&amp;gt;hasSpaceAfter() &amp;&amp; next )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, &amp;quot; &amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next-&amp;gt;edge(0)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; leftEdge(next, 0)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;bottom/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// next letters boundary
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; word-&amp;gt;edge(charCount)/width,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rightEdge(word, charCount-1)/width,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;top/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;@@ -1151,19 +1169,19 @@ Okular::TextPage * PDFGenerator::abstrac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s=word-&amp;gt;text().at(j);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, (j==charCount-1 &amp;&amp; !next ) ? (s + '\n') : s,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;left/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j+1)/height,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rightEdge(word, j)/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordRect-&amp;gt;right/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;word-&amp;gt;edge(j)/height);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;leftEdge(word, j)/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( word-&amp;gt;hasSpaceAfter() &amp;&amp; next )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;append(ktp, &amp;quot; &amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this letters boundary
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;left/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next-&amp;gt;edge(0)/height,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; leftEdge(next, 0)/height,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// next letters boundary
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wordRect-&amp;gt;right/width,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; word-&amp;gt;edge(charCount)/height);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rightEdge(word, charCount-1)/height);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;@@ -1505,7 +1523,7 @@ bool PDFGenerator::supportsOption( SaveO
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;switch ( option )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case SaveChanges:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;@@ -1516,7 +1534,7 @@ bool PDFGenerator::supportsOption( SaveO
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;bool PDFGenerator::save( const QString &amp;fileName, SaveOptions options )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-#if HAVE_POPPLER_0_7
&lt;br&gt;+#ifdef HAVE_POPPLER_0_7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Poppler::PDFConverter *pdfConv = pdfdoc-&amp;gt;pdfConverter();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pdfConv-&amp;gt;setOutputFileName( fileName );
&lt;br&gt;Index: config-okular-poppler.h.cmake
&lt;br&gt;===================================================================
&lt;br&gt;--- config-okular-poppler.h.cmake	(revision 800167)
&lt;br&gt;+++ config-okular-poppler.h.cmake	(working copy)
&lt;br&gt;@@ -1,5 +1,8 @@
&lt;br&gt;&amp;nbsp;/* Defined if we have the 0.7 version of the Poppler library */
&lt;br&gt;&amp;nbsp;#cmakedefine HAVE_POPPLER_0_7 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/* Defined if we have the 0.8 version of the Poppler library */
&lt;br&gt;+#cmakedefine HAVE_POPPLER_0_8 1
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/* Defined if we have the 0.9 version of the Poppler library */
&lt;br&gt;&amp;nbsp;#cmakedefine HAVE_POPPLER_0_9 1
&lt;br&gt;Index: CMakeLists.txt
&lt;br&gt;===================================================================
&lt;br&gt;--- CMakeLists.txt	(revision 800167)
&lt;br&gt;+++ CMakeLists.txt	(working copy)
&lt;br&gt;@@ -16,6 +16,15 @@ check_cxx_source_compiles(&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;lt;poppler-qt4.h&amp;gt;
&lt;br&gt;&amp;nbsp;int main()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp;Poppler::TextBox * box = 0;
&lt;br&gt;+ &amp;nbsp;box-&amp;gt;charBoundingBox(0);
&lt;br&gt;+ &amp;nbsp;return 0;
&lt;br&gt;+}
&lt;br&gt;+&amp;quot; HAVE_POPPLER_0_8)
&lt;br&gt;+check_cxx_source_compiles(&amp;quot;
&lt;br&gt;+#include &amp;lt;poppler-qt4.h&amp;gt;
&lt;br&gt;+int main()
&lt;br&gt;+{
&lt;br&gt;&amp;nbsp; &amp;nbsp;Poppler::Document * doc = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp;(void)doc-&amp;gt;scripts();
&lt;br&gt;&amp;nbsp; &amp;nbsp;return 0;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16859335&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Okular%3A-support-Poppler-0.8-tp16859335p16859335.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15903310</id>
	<title>header intact</title>
	<published>2008-03-07T10:52:55Z</published>
	<updated>2008-03-07T10:52:55Z</updated>
	<author>
		<name>Yogesh Dhande</name>
	</author>
	<content type="html">
&lt;br /&gt;_______________________________________________
&lt;br&gt;Kde-graphics-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15903310&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kde-graphics-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/kde-graphics-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/header-intact-tp15903310p15903310.html" />
</entry>

</feed>
