<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Wed, 05 Oct 2011 06:33:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Viewers should stay in foreground - Written by Tanguy @ wednesday 05 october 2011, 06:33</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317796389-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317796389-1</guid>
		<description>@Matthias Urlichs, @Andrew Shadura : I used to see that with Evince but now that I am trying to reproduce it again, I cannot, so this feature may not be very reliable.

@Matthias Urlichs : Yes it is possible for you to have your viewer stay in background: any foreground program can be put to background (although it may not be implemented by Mutt), while the opposite is not possible.

But yes it would be ok for a viewer to go to background, but only after it has opened the file. Once it it open, the corresponding name can be unlinked without affecting the viewer.</description>
		<pubDate>Wed, 05 Oct 2011 06:33:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by sytoka @ tuesday 04 october 2011, 15:52</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317743567-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317743567-1</guid>
		<description>I&amp;#039;d like too idea of env variable and heritage from parent. I would like to change primary group width newgroup... I vwould like to launch many instance width different parameter.

Program service seems to open the world, they don&amp;#039;t! I really think it&amp;#039;s a dangerous way and a one thinking way. Let people do the way they want and imagine an open world that you have not think.

Sometime, service program can be a good thing, the good way is then the one use by vim or nedit.</description>
		<pubDate>Tue, 04 Oct 2011 15:52:00 +0000</pubDate>
		<dc:creator>sytoka</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by sytoka @ tuesday 04 october 2011, 15:33</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317742424-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317742424-1</guid>
		<description>&amp;gt; I *like* the idea of programs working more like services

It&amp;#039;s a good false idea. Very dangerous arch for virus. I learn to program without to many global variable. Modern program do not take the good direction...

The OS has share memory, swap... It&amp;#039;s to the OS to keep program and lib in memory if there is enought memory, not to the window manager !</description>
		<pubDate>Tue, 04 Oct 2011 15:33:00 +0000</pubDate>
		<dc:creator>sytoka</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by Lee @ tuesday 04 october 2011, 10:25</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317723947-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317723947-1</guid>
		<description>It&amp;#039;s not just viewers.  If you write a script that requires you to edit a file, then checks that it was actually edited before proceeding (think VCS commit messages), then gedit will do bad things.

I *like* the idea of programs working more like services, running one main program then communicating with that instance in future requests.  But yes, the &amp;quot;client&amp;quot; part of the executables themselves should be more flexible, in allowing you to wait for return.  And the default/tradition does seem to be to wait by default, then exit when the command does.  For a viewer/editor, launching a document to view/edit, it makes sense to only return when that *document* is closed.</description>
		<pubDate>Tue, 04 Oct 2011 10:25:00 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by aukkras @ tuesday 04 october 2011, 10:11</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317723060-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317723060-1</guid>
		<description>Another problem is when using multidisplay setup, or X forwarding over ssh - when you want to display new window on other display than already running instance - e.g. when chromium instance runs on display :0.0 and you run
 # DISPLAY=:0.1 chromium
it displays new window on display :0.0 instead of display :0.1</description>
		<pubDate>Tue, 04 Oct 2011 10:11:00 +0000</pubDate>
		<dc:creator>aukkras</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by milosh @ tuesday 04 october 2011, 09:08</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317719298-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317719298-1</guid>
		<description>I&amp;#039;ve got mixed feelings about that: I am definitely seeing this in firefox (or any other webbrowser), not in evince. But I also really dislike the opposite: I want to read an html attachment, my browser is automatically launched with all my tabs and mutt waits for firefox to be closed to let me read my mails... So I don&amp;#039;t like it to go immediately in background, but I don&amp;#039;t like it to stay forever in foreground.</description>
		<pubDate>Tue, 04 Oct 2011 09:08:00 +0000</pubDate>
		<dc:creator>milosh</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by Matthias Urlichs @ tuesday 04 october 2011, 09:01</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317718882-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317718882-1</guid>
		<description>Personally I intensely dislike the stay-in-foreground behavior. When opening a PDF attachment from within mutt, I want to keep the PDF open when composing my reply. With stay-in-front that&amp;#039;s impossible.

The loading problem can be fixed easily: wait for the dbus reply before terminating, and load the document before sending the reply. Problem solved. In fact I think most programs already do that; viewing HTML (firefox) and PDF (evince) used to be impossible from mutt, but no longer.</description>
		<pubDate>Tue, 04 Oct 2011 09:01:00 +0000</pubDate>
		<dc:creator>Matthias Urlichs</dc:creator>
	</item>
	<item>
		<title>Viewers should stay in foreground - Written by Andrew Shadura @ tuesday 04 october 2011, 08:34</title> 
		<link>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317717270-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article30/dont-return-document/#c1317717270-1</guid>
		<description>Hmm. While I definitely agree that viewers should stay in foreground, I must admit that my experience regarding Evince is different; it never goes to background here. Maybe, that&amp;#039;s a different (patched?) version, I don&amp;#039;t know.</description>
		<pubDate>Tue, 04 Oct 2011 08:34:00 +0000</pubDate>
		<dc:creator>Andrew Shadura</dc:creator>
	</item>
		<title>Tanguy Ortolo - Viewers should stay in foreground - Comments</title> 
</channel>
</rss>