<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Betalogue</title>
	<atom:link href="http://www.betalogue.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betalogue.com</link>
	<description>Notes from an unfinished world…</description>
	<pubDate>Thu, 02 Jul 2009 16:38:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language></language>
			<item>
		<title>Mac OS X&#8217;s Mail: Problem with Envelope Index solved</title>
		<link>http://www.betalogue.com/2009/07/02/envelope-index/</link>
		<comments>http://www.betalogue.com/2009/07/02/envelope-index/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 16:38:46 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2650</guid>
		<description><![CDATA[
This is a follow-up to my post earlier this morning about the problems I had this morning with trying to rebuild my &#8220;Envelope Index&#8221; file for Mail.


I have managed to solve the problem, with some prodding from a kind reader.


I carefully monitored the reimporting process (i.e. rebuilding of the &#8220;Envelope Index&#8221; file) and was able [...]]]></description>
			<content:encoded><![CDATA[<p>
This is a follow-up to my <a href="http://www.betalogue.com/2009/07/02/slow-mail-continued/">post earlier this morning</a> about the problems I had this morning with trying to rebuild my &#8220;<span class="filename">Envelope Index</span>&#8221; file for Mail.
</p>
<p>
I have managed to solve the problem, with some prodding from a kind reader.
</p>
<p>
I carefully monitored the reimporting process (i.e. rebuilding of the &#8220;<span class="filename">Envelope Index</span>&#8221; file) and was able to notice that it would always crash when Mail reached a specific mailbox… the mailbox in which I archive my correspondence with my father, of all people.
</p>
<p>
I also noticed that both the system log and the crash log mentioned this:
</p>
<pre>
Jun 29 09:47:14 Mac-Pro Mail[86791]: *** -[NSCFString stringByAppendingPathExtension:]: cannot append extension 'xls' to path ''
Jun 29 09:47:14 Mac-Pro Mail[86791]: Error: -[NSFileWrapper setPreferredFilename:] *** preferredFilename cannot be empty.
</pre>
<p>
among other things… This led me to suspect that the mailbox with my dad&#8217;s archived messages contained a problem message that would cause this Mail crash every time.
</p>
<p>
I reopened Mail with the old &#8220;<span class="filename">Envelope Index</span>&#8221; file and went to check that particular mailbox. Again, I could see the list of messages, but when I tried to view any of them, I would get a blank window. I then tried to rebuild the mailbox (which, as indicated in the previous post, would normally fix this particular problem), and Mail crashed—with the same error messages in the crash log as above.
</p>
<p>
In other words, both the general reimport process and the simple mailbox rebuild process would cause Mail to crash when hitting that particular mailbox.
</p>
<p>
I then quit Mail, opened the &#8220;<span class="filename">Mail</span>&#8221; folder in my home library and located the mailbox folder for my dad&#8217;s correspondence. I manually removed it from its location and put it on the desktop.
</p>
<p>
I then relaunched Mail and tried to import that particular mailbox folder from its desktop location. I got the same crash again, but this time I could see that it was part way through the importing process, thereby confirming that it was occurring when Mail encountered a specific e-mail message.
</p>
<p>
I couldn&#8217;t tell which message from the Mail progress bar or the crash log, but given the mention of &#8220;<span class="filename">xls</span>&#8221; in the crash log, I started to suspect that it was an e-mail with Excel files attached to it. And sure enough, by sorting the e-mails by size in the Finder and using Quick Look to view the contents of the biggest ones, I was able to locate precisely one such message, with two Excel files in it:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/mail/mail-badmessage.png" width="359" height="236" alt="Bad message" />
</p>
<p>
I proceeded to remove the offending message manually from the mailbox folder, and tried to reimport the mailbox folder without it. And it worked!
</p>
<p>
Finally, I quit Mail again, trashed the &#8220;<span class="filename">Envelope Index</span>&#8221; file again, and relaunched Mail, once again triggering the reimport process, but this time with my dad&#8217;s mailbox not containing the offending message.
</p>
<p>
And it worked! Mail managed to go through the entire process of importing over 100,000 messages without crashing.
</p>
<p>
So that is the solution of this particular mystery. Apparently, there was something in that message with the two Excel files attached that Mail really didn&#8217;t like.
</p>
<p>
I will send the offending e-mail with a bug report to Apple, and maybe they can figure out what causes the problem in this particular case (although I doubt that an isolated problem such as this one will register on their radar…).
</p>
<p>
I can&#8217;t help but find it a bit ironic that Microsoft files are able to give me grief even when I am not using Microsoft products. But that might be a bit unfair; it might just be a coincidence.
</p>
<p>
Still, it confirms me in my habit of removing attachments from e-mail messages before archiving them. I didn&#8217;t remove them in this particular case because it was a couple of files that my dad had asked me to hold on to for a while, until he was sure he had safe copies at home on his own system. At the time, I filed the message away with the attachments and then of course forgot about it. I guess I&#8217;ll have to try and be even more religious about removing attachments in the future.
</p>
<p>
(It also does not help that Mail&#8217;s &#8220;<span class="menuitem">Remove Attachments</span>&#8221; feature is still so badly flawed, which this stupid behaviour of deselecting the message after its attachment has been removed and selecting the next one in the list—or nothing if it&#8217;s the last one in the list. I am sure they consider this a &#8220;feature,&#8221; but I find it a royal pain to have to reselect the message after removing its attachments just to be able to file it away…)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/07/02/envelope-index/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slow Mail application (continued)</title>
		<link>http://www.betalogue.com/2009/07/02/slow-mail-continued/</link>
		<comments>http://www.betalogue.com/2009/07/02/slow-mail-continued/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 13:27:12 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2648</guid>
		<description><![CDATA[
When I wrote about the new problems I was experiencing with Mac OS X&#8217;s Mail a few days ago, several readers chimed in to suggest that I try trashing the &#8220;Envelope Index&#8221; file in the &#8220;Mail&#8221; folder and force Mail to rebuild it.


Long-time readers of this blog might remember that I am in fact quite [...]]]></description>
			<content:encoded><![CDATA[<p>
When I wrote about the <a href="http://www.betalogue.com/2009/06/29/slow-mail/">new problems I was experiencing with Mac OS X&#8217;s Mail</a> a few days ago, several readers chimed in to suggest that I try trashing the &#8220;<span class="filename">Envelope Index</span>&#8221; file in the &#8220;<span class="filename">Mail</span>&#8221; folder and force Mail to rebuild it.
</p>
<p>
Long-time readers of this blog might remember that I am in fact <a href="http://www.betalogue.com/2007/03/14/mail-20-problems-with-deleting-envelope-index-file-and-rebuilding-mailboxes/">quite familiar with this procedure</a>, in particular because I was part of the AppleSeed program for the testing of prerelease builds of Mac OS X 10.4 (those were the days) and that I had to do a fair amount of troubleshooting in Mail during those early days of the Spotlight architecture.
</p>
<p>
So why didn&#8217;t I mention the procedure in my post about my recent troubles in Mail?
</p>
<p>
Well, in a nutshell, the answer is that I could not get it to work, and I was going to try and do more investigating before mentioning it again.
</p>
<p>
Quitting Mail, trashing the &#8220;<span class="filename">Envelope Index</span>&#8221; file in the &#8220;<span class="filename">Mail</span>&#8221; folder (in the home folder&#8217;s library) and relaunching Mail triggers a behaviour where Mail attempts to repeat the procedure that it first used when the user upgraded his system from Mac OS X 10.3 to Mac OS X 10.4, and thus from Mail 1.x to Mail 2.0.
</p>
<p>
That transition to the new Mail 2.0 required a complete conversion of all existing mailboxes to the new granular file system used in Mail since version 2.0, i.e. a system where each message is saved as a separate file, in order to be compatible with the Spotlight architecture.
</p>
<p>
When a user first launches Mail 2.0 (or a subsequent version) on a system where the &#8220;<span class="filename">Mail</span>&#8221; folder in his home library is still in the Mail 1.x format, Mail 2.0 gleefully announces that all the existing mailboxes have to be &#8220;imported&#8221; in order to work with its new file architecture. The user has no choice but to approve the procedure and sit back and watch while Mail 2.0 attempts to convert all existing mailboxes to the new file format.
</p>
<p>
The reason that I am mentioning all this is that trashing the &#8220;<span class="filename">Envelope Index</span>&#8221; file in an existing &#8220;<span class="filename">Mail</span>&#8221; folder that already uses the new file format triggers the same kind of behaviour. The next time you launch Mail, it tells you that it &#8220;<span class="passage">needs to import your messages</span>&#8221; and gives you no choice but to proceed or to quit the application:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/mail/mail-reimport.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/mail/mail-reimport.png" width="405" height="305" alt="Mail - Reimport messages" /></a>
</p>
<p>
If you click on &#8220;<span class="interfaceitem">Continue</span>,&#8221; Mail starts reimporting your existing message files and folders, effectively rebuilding the &#8220;<span class="filename">Envelope Index</span>&#8221; file in the process.
</p>
<p>
It&#8217;s not exactly the most intuitive interface, but this a troubleshooting procedure, so I guess we have to take what we get.
</p>
<p>
My problem with this procedure on my machine right now is that it systematically fails. Mail starts importing my thousands and thousands of messages, and completes approximately one half of the importing, and then it suddenly, unexpectedly quits.
</p>
<p>
In other words, Mail never manages to complete the reimporting procedure, including the rebuilding of the &#8220;<span class="filename">Envelope Index</span>&#8221; file, and I am unable to use Mail at all—until I restore the &#8220;<span class="filename">Envelope Index</span>&#8221; file backup that I have kept elsewhere on my hard drive, just in case.
</p>
<p>
To make matters worse, even after I restore the &#8220;<span class="filename">Envelope Index</span>&#8221; file from a backup and am able to use Mail again, there are some new problems that I have to fix first. For example, this aborted troubleshooting procedure tends to cause Mail to forget all my e-mail account passwords, for whatever reason. So I have to reenter them manually one by one, and even then, sometimes it takes several attempts before Mail actually agrees to remember these passwords properly without asking me to reenter them each and every time it checks for new mail.
</p>
<p>
The aborted troubleshooting procedure also tends to cause all kinds of problems in my mailboxes themselves. They seem intact and I can see individual messages is them, but when I double-click on the messages to open them, Mail displays a window whose contents are totally empty. I then have to select the affected mailbox, and use the &#8220;<span class="menuitem">Rebuild</span>&#8221; command. After that, things work normally and I am able to read my messages again. But I have hundreds of mailboxes and I don&#8217;t fancy having to rebuild each and every one of them.
</p>
<p>
Finally, the aborted troubleshooting procedure also seems to cause all kinds of problems with Spotlight. When I try searches on the &#8220;<span class="interfaceitem">Entire message</span>&#8221; in Mail, typically I only get an incomplete list of results. There are many items that do contain the searched string that are simply not there in the list of results. This problem seems somewhat connected to the previous one, in that, after I rebuild the mailbox containing the items missing from the list of search results, and repeat the search, then they finally appear in the list of results.
</p>
<p>
All this is to say that, unfortunately, at this point in time, the troubleshooting procedure consisting of trashing the &#8220;<span class="filename">Envelope Index</span>&#8221; file is not working too well for me. In fact, it&#8217;s not working at all, so I don&#8217;t know whether it would help fix the sudden sluggishness in Mail.
</p>
<p>
The only other thing that I have tried is to use a third-party utility tool (<a href="http://www.titanium.free.fr/pgs2/english/download.html">OnyX</a> for Leopard) to rebuild Mail&#8217;s Envelope Index. OnyX has an option just for this, and I have tried it. But I am not sure exactly what it did and what it repaired, because it did not take very long (only a fraction of the time it would take for Mail itself to rebuild it) and the &#8220;<span class="filename">Envelope Index</span>&#8221; file does not seem to have changed much. It is still the same size and still has an old creation date.
</p>
<p>
(I am also not sure whether what OnyX did had anything to do with the other problems that I experienced in Mail while attempting to troubleshoot my sluggishness problem, i.e. the blank window messages, the password issue, and the lack of Spotlight search results.)
</p>
<p>
So until I find a reliable way to rebuild the &#8220;<span class="filename">Envelope Index</span>&#8221; file, I am afraid I won&#8217;t be able to fully verify whether that is what it takes to fix Mail&#8217;s sudden sluggishness and get rid of these pesky &#8220;<span class="passage">Loading…</span>&#8221; messages. For now, I have no choice but to continue to use my (possibly corrupted) existing &#8220;<span class="filename">Envelope Index</span>&#8221; file and hope for the best…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/07/02/slow-mail-continued/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slow Mail application</title>
		<link>http://www.betalogue.com/2009/06/29/slow-mail/</link>
		<comments>http://www.betalogue.com/2009/06/29/slow-mail/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 12:54:40 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2644</guid>
		<description><![CDATA[
This one is a bit of a mystery to me. I have been using Mac OS X&#8217;s Mail as my e-mail client for many years now, and have slowly but steadily been accumulating an archive of thousands and thousands of e-mail messages in various mailboxes.


I am always careful to remove attachments before filing messages away [...]]]></description>
			<content:encoded><![CDATA[<p>
This one is a bit of a mystery to me. I have been using Mac OS X&#8217;s Mail as my e-mail client for many years now, and have slowly but steadily been accumulating an archive of thousands and thousands of e-mail messages in various mailboxes.
</p>
<p>
I am always careful to remove attachments before filing messages away (I save the attachments that I need to keep elsewhere before removing them), so that the total size of my &#8220;<span class="filename">Mail</span>&#8221; folder does not become unmanageable. But I do keep the messages themselves, and according to Mac OS X&#8217;s Finder I now have over 100,000 items in that folder, for a total size of over 1 GB.
</p>
<p>
Most of these messages are filed in specific mailboxes, so that my main account mailboxes (Inbox, Sent, Junk, Trash, and Drafts) are reasonably lightweight.
</p>
<p>
Until recently, this situation did not seem to be a problem for Mail, which was performing adequately on my three-year-old Mac Pro.
</p>
<p>
For some reason, however, a few weeks ago, Mail started displaying an unmistakable level of sluggishness. And when I say &#8220;displaying,&#8221; I mean it:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/mail/mail-loading.png" width="239" height="162" alt="Mail - Loading" />
</p>
<p>
This is what I am now getting far more often than I would like when I am doing a very simple thing such as opening a message in a separate window to read it.
</p>
<p>
The message&#8217;s contents do appear eventually, but it can take several seconds, and there is absolutely no apparent reason for this delay.
</p>
<p>
It tends to happen more frequently when I try to open a message to read it while Mail is still in the process of sending a reply to another message. (My Internet connection is not very fast, so that can take a few seconds, even for sending a small message.) But it also happens when nothing else is going on in Mail. (I keep the Activity Viewer window open at all times in order to be able to monitor Mail&#8217;s various processes.)
</p>
<p>
This never used to be a problem in Mail, which, on my Mac Pro, was, until recently, perfectly able to handling multiple tasks simultaneously without any noticeable delay and was certainly able to open a message window and display the message pretty much instantly.
</p>
<p>
I haven&#8217;t changed anything to my settings or my hardware configuration, and there haven&#8217;t been any significant software updates that would explain such a change. And it&#8217;s also hard to imagine that, after several years of being able to handle thousands of messages without problems, Mail would all of a sudden have somehow reached a limit and lost its ability to perform at an acceptable pace.
</p>
<p>
I should stress that this is not a problem with the Mail UI itself, which remains responsive at all times. The problem is with the threads that the UI triggers.They all appear as separate processes in the Activity Viewer, with a progress bar and a &#8220;<span class="passage">Stop</span>&#8221; button for each (although some &#8220;Stop&#8221; buttons are greyed out and cannot be clicked on). Even the simple process of double-clicking on a message to open it in a window triggers a couple of threads that appear in the Activity Viewer.
</p>
<p>
Normally they just flash by and the message opens almost instantly. But now I see these threads stay there in the Activity Viewer for several seconds while Mail seemingly struggles to complete them (and displays the above-mentioned &#8220;<span class="passage">Loading…</span>&#8221; message in the message window instead of the actual message contents). I can still do other things in Mail or elsewhere in the meantime, but that is faint consolation. I don&#8217;t think I should have to wait several seconds for a message to open in a window so that I can read, especially when that message is just plain text with no pictures and no fancy &#8220;rich text&#8221; code.
</p>
<p>
I have tried various things, such as &#8220;rebuilding&#8221; my Inboxes (with the &#8220;<span class="menuitem">Rebuild Mailbox…</span>&#8221; command). But it has all been to no avail. Mail still is significantly more sluggish than it used to be when it comes to completing its various threads of activity. (Again, the UI itself is not sluggish. It&#8217;s only the threaded processes. But since pretty much everything that the user does in Mail triggers one such process, it very much affects the very usability of the application.)
</p>
<p>
Did Apple make some kind of change in the Mail code in a recent Mac OS X 10.5.x update that would have caused this problem to crop up? It&#8217;s quite possible. But it would be mighty hard to prove, especially since I don&#8217;t have a specific date for the moment this problem started happening to me on my Machine.
</p>
<p>
In all likelihood, what will happen is that I will have to live with this new problem for a few more months, and then Snow Leopard will come out with its many promised improvements in performance, and things will be better again. At least that is the best I can hope for at this stage, I am afraid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/29/slow-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Problem with NVIDIA graphics card: Follow-up</title>
		<link>http://www.betalogue.com/2009/06/19/nvidia/</link>
		<comments>http://www.betalogue.com/2009/06/19/nvidia/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 14:43:30 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2642</guid>
		<description><![CDATA[
Following my post on a recurring problem in Mac OS X 10.5.6/10.5.7 with my Mac Pro&#8217;s GeForce 7300 GT graphics card, I got a number of e-mail from readers. I also submitted the problem to Apple via  the Bug Reporter page. And a couple of days later, I got an answer from Apple, saying [...]]]></description>
			<content:encoded><![CDATA[<p>
Following <a href="http://www.betalogue.com/2009/06/09/mac-os-x-nvidia/">my post on a recurring problem</a> in Mac OS X 10.5.6/10.5.7 with my Mac Pro&#8217;s GeForce 7300 GT graphics card, I got a number of e-mail from readers. I also submitted the problem to Apple via  the <a href="http://bugreport.apple.com/" target="_blank">Bug Reporter</a> page. And a couple of days later, I got an answer from Apple, saying this:
</p>
<blockquote>
<p>
Hi Pierre,
</p>
<p>
This is a courtesy email regarding Bug ID# 6951559.
</p>
<p>
Engineering has requested the following information in order to further investigate this issue:
</p>
<p>
That&#8217;s a GPU restart.  Have you been able to sample or Shark the app/system when it hangs?  If you can ssh in, /usr/libexec/stackshot will also give you stack info for all the threads in the system.  Can you please attach that information so we can take a look?
</p>
</blockquote>
<p>
So the problem I am experiencing is a &#8220;<span class="passage">GPU restart</span>,&#8221; which presumably is not a very good thing, and most definitely involves the graphics card.
</p>
<p>
I replied to this e-mail saying that when the system hangs, it becomes totally unusable, so that I cannot use the Activity Monitor application to capture a &#8220;sample&#8221; of the affected application (most often Preview), but if there is a way to &#8220;sample&#8221; the application or the system remotely via ssh, I would be more than willing to give it a try, provided that they gave me some further instructions.
</p>
<p>
If, the next time the problem occurs, it does not cause a complete system hang, but only a scrambled display in the foreground application, I will also try to sample the affected application locally, provided that the video scrambling does not extend beyond that one application.
</p>
<p>
I also told them I would try to locate that &#8220;<span class="passage">stackshot</span>&#8221; thing remotely via ssh the next time it happens.
</p>
<p>
The interesting thing, though, is that the problem hasn&#8217;t occurred since. And the only thing that I have done is that, following a reader&#8217;s suggestion, I have opened up my Mac Pro and cleaned the dust that had accumulated inside the machine.
</p>
<p>
I didn&#8217;t really find any dust on the graphics card itself, which is a GeForce 7300 GT and does not have a fan, only a heat sink. The card is also located very close to the metallic enclosure for the RAM slots, which means that there isn&#8217;t much room for dust to accumulate anyway. Still, I tried to clean as much as I could elsewhere in the machine. There wasn&#8217;t tons of dust, but there was some.
</p>
<p>
And, since I have done that, I haven&#8217;t had a single occurrence of the problem. (It&#8217;s been four days now.) It&#8217;s not conclusive yet, but it does seem to suggest that there might be some truth to the theory that the problem might be caused by overheating of the video card due to poorer air flow. I guess we&#8217;ll see if my experience confirms this in the longer term. (It still seems strange that the problem would only have surfaced with recent Mac OS X 10.5 updates, and that some people appear to be able to eliminate the problem by reverting to an earlier version of Mac OS X 10.5. Maybe that means that there was a change in the graphics driver in more recent versions that somehow made the system more sensitive to heat issues. It&#8217;s hard to tell.)
</p>
<p>
The only problem with all this is that, since I cleaned my Mac Pro, I have noticed that its normal noise level appears to be somewhat higher than it used to be. The Mac Pro has always been a fairly quiet machine, and I have become used to the low level of noise, so I cannot help but notice that the machine is now somewhat noisier. There is a bit more of a hum than there used to be.
</p>
<p>
I reopened the machine and rejigged everything to make sure that nothing had become loose following my initial clean-up. But there really isn&#8217;t much room for anything to wiggle or hang loose in a way that would increase the fan noise level as far as I can tell. I only opened the side door, took out the graphics card and put it back in, and also took out the RAM cards and put them back in after removing the dust. I didn&#8217;t really move anything else. (The second time, I also took out the hard drives and put them back in, but that didn&#8217;t help with the noise either.)
</p>
<p>
The only abnormal thing that I noticed while the machine was open was that the three grey lozenge-shaped foam pads that are normally stuck along the bottom of the metallic door and presumably serve to provide a tight fit and prevent the door from vibrating had become unglued. But I put them back in their original position (I can still see the outline of the glue on the door) and pressed them on so that they would stay in place. So they are back in their right place now and, even though they still come easily off when pulling on them because the glue has dried, they should still work as expected when they are in place and the door is closed. So I don&#8217;t suspect that they are the cause of the increased noise.
</p>
<p>
Maybe it&#8217;s just the general aging of the machine (it&#8217;s three years old), which I might have precipitated somewhat by opening it and closing it. The weather is also warmer, so there is a higher chance of things overheating a bit and causing an increase in fan activity, although I never hear things ramping up. (The noise level is always constant, and is the same as soon as I turn the machine on, even if it&#8217;s cold.)
</p>
<p>
The higher noise level is not going to drive me crazy or anything, but it is a bit annoying that this whole problem with the NVIDIA card has caused more lasting consequences, which I don&#8217;t seem to be able to do anything about now.
</p>
<p>
As for the original problem, I guess I&#8217;ll just have to wait and see if it reoccurs. (Other readers indicate that they have been experiencing problems since the Mac OS X 10.5.2 graphics update. I do remember that at some point Apple shipped a separate graphics update, before folding it into the main system update, probably. And it&#8217;s a problem that seems to affect cards other than the 7300. One reader mentions the Quadro FX4500.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/19/nvidia/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Word 2008: Random renumbering of headings</title>
		<link>http://www.betalogue.com/2009/06/19/word-2008-numbering/</link>
		<comments>http://www.betalogue.com/2009/06/19/word-2008-numbering/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 13:22:15 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2639</guid>
		<description><![CDATA[
I positively hate Microsoft Word&#8217;s automatic numbering features. They have never worked as expected, they are a pain to edit and work with, and they tend to have a mind of their own.


Consider the following situation:





This is a section of a long document, where I have a heading with an automatic number (or letter, to [...]]]></description>
			<content:encoded><![CDATA[<p>
I positively hate Microsoft Word&#8217;s automatic numbering features. They have never worked as expected, they are a pain to edit and work with, and they tend to have a mind of their own.
</p>
<p>
Consider the following situation:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering1.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering1.png" width="455" height="243" alt="Heading and table in Word 2008" /><br />
</a></p>
<p>
This is a section of a long document, where I have a heading with an automatic number (or letter, to be accurate) of &#8220;H,&#8221; followed by a table.
</p>
<p>
I want to move that table up so that the heading will move to the right to flow with the rest of the text on the right-hand side of the table.
</p>
<p>
So I grab that weird proxy control that is supposed to let you move a table around and I lift it up:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering2.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering2.png" width="455" height="243" alt="Table up" /><br />
</a></p>
<p>
And then I drop the table in its new location:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering3.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/microsoft/word2008-headingnumbering3.png" width="455" height="243" alt="New heading number" /><br />
</a></p>
<p>
WTF?
</p>
<p>
I just moved the bloody table, and Word 2008 changed the heading&#8217;s automatic letter from “H” to “A”!
</p>
<p>
Why does it do this? I have no idea. It&#8217;s not like there any kind of hidden section break or anything like that between the heading and the text that <em>might</em> explain (but not justify) the existence of such a bug. There is nothing else on this page, only the table and the heading and the text. What am I supposed to do here?
</p>
<p>
I am not making this up. It&#8217;s happening to me here right now. If it were up to me, no one would use Word&#8217;s automatic numbering feature in their documents. But people do. And I have to deal with it in the resulting documents that I have to work on.
</p>
<p>
It&#8217;s maddening. And it&#8217;s not an isolated incident, of course. There are hundreds of such problems in Microsoft Word that one has to deal with on a daily basis. It simply is a totally unreliable piece of crap.
</p>
<p>
Of course, Microsoft&#8217;s developers would probably argue that it&#8217;s a &#8220;minor&#8221; problem, that it does not cause the application to crash, so they have worse problems to address first.
</p>
<p>
Well, yeah, except that Word&#8217;s automatic numbering feature was introduced more than 10 years ago and it&#8217;s <em>still</em> full of bugs. It&#8217;s not just that these bugs are a low priority. It&#8217;s that they never get fixed. Ever.
</p>
<p>
Microsoft&#8217;s engineers seem to live in a parallel universe where only application crashes are important bugs (and even then, they still can&#8217;t make a Mac OS X application that does not crash; I have numerous crash logs to prove it) and all the rest is just stuff that people have to learn to live with.
</p>
<p>
That&#8217;s not the world in which Mac users live. They expect quality applications, applications that not only never crash, but also are reliable in daily use and in which key features work as expected, and not in totally unpredictable and uncontrollable ways.
</p>
<p>
Microsoft is simply totally incapable of delivering such an application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/19/word-2008-numbering/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More on full-page zooming in web browsers</title>
		<link>http://www.betalogue.com/2009/06/16/more-page-zooming/</link>
		<comments>http://www.betalogue.com/2009/06/16/more-page-zooming/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:56:09 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2635</guid>
		<description><![CDATA[
My blog post about the Full-Page Zoom feature in Safari 4 yesterday was Daring-Fireballed, which I don&#8217;t mind, except of course that it brings a higher-than-usual level of scrutiny, which in turns leads to a higher volume of e-mail, some of which intended to highlight perceived flaws in my reasoning or reporting.


So I thought I [...]]]></description>
			<content:encoded><![CDATA[<p>
My <a href="http://www.betalogue.com/2009/06/15/safari-4-zoom/">blog post about the Full-Page Zoom feature in Safari 4</a> yesterday was <a href="http://daringfireball.net/linked/2009/06/15/igot-safari-zoom">Daring-Fireballed</a>, which I don&#8217;t mind, except of course that it brings a higher-than-usual level of scrutiny, which in turns leads to a higher volume of e-mail, some of which intended to highlight perceived flaws in my reasoning or reporting.
</p>
<p>
So I thought I should clarify a few things. First of all, my blog is not a journalistic endeavour. I do not have the resources to fully investigate each and every issue that I touch upon in my blog posts. (I have a full-time day job, blah blah blah.) My blog is primarily a highly personal (which, in the eyes of some, probably means highly biased) account of my own experience using, among other things, Apple computers and Mac OS X software.
</p>
<p>
That said, I am of course more than willing to further explore an issue when the feedback I get raises my level of interest. It&#8217;s just that I cannot and will not do it systematically, especially since I have no way of predicting which of my posts will attract the attention of a high-profile writer like John Gruber and of his own readership.
</p>
<p>
In this particular case, several readers wrote to point out the existence of a full-page zoom feature in various other browsers, including Firefox 3, Opera, and… Internet Explorer 8.
</p>
<p>
Needless to say, since Explorer 8 is a Windows-only product, it&#8217;s not really relevant to this particular discussion. I am glad to hear that Firefox is also generating some healthy competition on the Windows side and leading to improvements in the web browsing experience for many users. But it&#8217;s not exactly likely to make me or my fellow Mac-using readers want to switch to Windows.
</p>
<p>
Both Opera and Firefox are available for both Mac OS X and Windows. And yes, both of them also include a <a href="http://en.wikipedia.org/wiki/Page_zooming">page-zooming feature</a> similar to the one introduced by Apple in Safari 4. In the case of Firefox, the feature has been available since the release of version 3.0.0, a year ago. (The Wikipedia entry on page-zooming also mentions iCab and Amaya.)
</p>
<p>
Does all this make the availability of the feature in Safari 4 somewhat less impressive than what I expressed in my post yesterday?
</p>
<p>
It means, of course, that the feature was not invented by Apple. But I didn&#8217;t actually say that in my original post. I just said that I was impressed with Apple&#8217;s implementation of the feature. I did mention that Firefox 3 also had a similar feature, although of course I didn&#8217;t say explicitly that it had already been available in that browser for a year. (Internet Explorer 8 only came out a few months ago. And I don&#8217;t know the exact history of the feature in Opera, but according to an e-mail I got from an Opera staff member, the browser was the very first to introduce such a feature, a long time ago.)
</p>
<p>
What I also said, however, was that, even in my (very) limited testing, the implementation of the feature in other browsers was not as good as in Safari 4. I tried the page-zooming feature on the web site that I am in the process of developing in Firefox 3, and as soon as I zoomed out by one notch, some of my CSS buttons became misaligned. (They stayed aligned properly when I zoomed in.)
</p>
<p>
Now, it is of course possible that there is a flaw in my own CSS code, and that Firefox 3 reveals that flaw whereas Safari 4 does not. But I would find this somewhat surprising, given that my site scales perfectly at all sizes in Safari 4, and it really is not a very complicated design. I am afraid I don&#8217;t have time at this point to further explore the issue, but I suppose I will have to do so eventually, since I can assume that a number of people will be browsing this site that I am designing with some flavour of Firefox, and that they will encounter the issue if they try to zoom out of my site, for whatever reason.
</p>
<p>
But if it turns out that it is a bug in Firefox&#8217;s rendering engine that I have to work around, then it will simply confirm me in my view that Safari is a better browser. (On the other hand, I get a similar problem in Internet Explorer 8 as well when zooming out of the site, so maybe it <em>is</em> a problem with my code after all. Or maybe it&#8217;s a problem in <em>both</em> Firefox and Explorer… For what it&#8217;s worth, I cannot reproduce the problem in Opera. I haven&#8217;t tried iCab.)
</p>
<p>
As for Opera, it has another problem, which is even worse: It does not even display my buttons properly at the default zoom setting! Here&#8217;s what one of my buttons (made with CSS) looks like at normal size in Safari 4:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/cssbutton-safari4.png" width="164" height="60" alt="CSS button" />
</p>
<p>
Here&#8217;s what the same button looks like at normal size in Firefox 3:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/cssbutton-firefox3.png" width="164" height="60" alt="CSS button" />
</p>
<p>
And here&#8217;s what the same button looks like at normal size in Opera 10:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/cssbutton-opera.png" width="164" height="60" alt="CSS button" />
</p>
<p>
Oops. It gets even better. Here&#8217;s what the same button looks like when I zoom it by one notch in Opera:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/cssbutton-opera-2.png" width="177" height="55" alt="CSS button" />
</p>
<p>
If you look carefully, you&#8217;ll see that there isn&#8217;t just a problem with the fact that the button label does not fit in a single line. There is also a very serious problem with the vertical alignment of the initial capitals in the text styled with small caps (and the same problem occurs in other occurrences in small caps on my site&#8217;s pages). So clearly there is something very wrong with the font rendering engine used by Opera, which already affects the default zoom size and causes a right old mess as soon as you zoom in.
</p>
<p>
The moral of the story here is that I don&#8217;t mind being Daring-Fireballed at all, and I don&#8217;t mind constructive criticism, and I don&#8217;t mind spending some time further investigating a specific issue when readers write to me to point out what they feel are shortcomings or gaps in my posts. But that does not necessarily mean that it will lead me to revise my position, quite the contrary!
</p>
<p>
While some of my posts (mainly due to a lack of resources) can be more about a &#8220;gut feeling&#8221; than a proper investigation of everything that&#8217;s out there, I have found, over the years, that my gut has not often been wide off the mark. And so I will probably continue to mix the two in the future, even if it irritates some of my (occasional) readers. After all, nobody is forcing anyone to read any of this stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/16/more-page-zooming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Spurious &#8216;OLE_LINK&#8217; bookmarks in Word: Triggered by pasting as unformatted text</title>
		<link>http://www.betalogue.com/2009/06/15/ole_link-bookmarks/</link>
		<comments>http://www.betalogue.com/2009/06/15/ole_link-bookmarks/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:09:25 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2633</guid>
		<description><![CDATA[
The last time I wrote about this long-standing bug in Microsoft Word for Mac OS X, I simply mentioned that it was still there in Word 2008, just like it was in Word 2004, and in Word X before it. (My blog does not go that far back!)


I am pretty sure that one of the [...]]]></description>
			<content:encoded><![CDATA[<p>
The last time I wrote about this long-standing bug in Microsoft Word for Mac OS X, I simply mentioned that <a href="http://www.betalogue.com/2008/02/01/word-2008-still-inserts-ole_link-bookmarks-when-copying-text/">it was still there in Word 2008</a>, just like <a href="http://www.betalogue.com/2007/11/09/word-2004-still-inserting-spurious-ole_link-bookmarks-after-all-these-years/">it was in Word 2004</a>, and in Word X before it. (My blog does not go that far back!)
</p>
<p>
I am pretty sure that one of the reasons why Microsoft&#8217;s engineers (if you can call them that) have failed to fix the problem after that many years is that they haven&#8217;t put much effort into trying to <em>reproduce</em> the problem.
</p>
<p>
Well, if any MacBU employee cares, I guess I should report something that I have noticed consistently over the past few months. In Word 2008 at least, I able to reproduce the problem each and every time I copy something in a Word document and then use my AppleScript script to paste the contents of the clipboard as unformatted text elsewhere in the document.
</p>
<p>
The script I use for this is the one suggested by Joe Kissell in the <a href="http://www.betalogue.com/2008/01/28/word-2008-tip-creating-a-direct-command-for-pasting-unformatted-text/#comment-7949">comments on my blog post about pasting as unformatted text in Word 2008</a>, i.e.:
</p>
<pre>
tell application "/Applications/Microsoft Office 2008/Microsoft Word.app"
	tell selection
		try
			set theClip to Unicode text of (the clipboard as record)
			type text text theClip
		end try
	end tell
end tell
</pre>
<p>
The script works fine (although there is often an annoying delay before it kicks in, due to the general slowness of Word 2008), but each and every time I use it to copy and paste without formatting something in a Word document, at the same time I paste the text, Word 2008 adds an &#8220;<code>OLE_LINK</code>&#8221; bookmark to the original chunk of text that I just copied.
</p>
<p>
This does not occur when I use the &#8220;<span class="menuitem">Paste Special…</span>&#8221; command in the &#8220;<span class="menuheading">Edit</span>&#8221; menu and then choose the &#8220;<span class="interfaceitem">Unformatted Text</span>&#8221; option, which is obviously a much more cumbersome process. It only occurs when I use my AppleScript script, to which I have assigned the <kbd>command-option-shift-V</kbd> shortcut.
</p>
<p>
But still… it occurs each and every time. This is now officially a 100% reproducible bug as far as I am concerned.
</p>
<p>
Of course, Microsoft&#8217;s engineers, since they are (or believe themselves to be) software developers and not actual <em>users</em>, probably don&#8217;t realize how important it is, in the real world, to be able to paste unformatted text as opposed to text with its original formatting, which is why the command is so difficult to access in the standard Word 2008 interface (if you can call it that) to begin with and why any serious Word user would want to create a script and a shortcut for it.
</p>
<p>
And Microsoft&#8217;s engineers probably also don&#8217;t ever bother to make bookmarks visible in their Word documents, which is another condition required to actually notice the bug, since it works invisibly behind the scenes.
</p>
<p>
In an ideal world, Microsoft would have a proper bug reporting mechanism and not just some kind of <a href="http://www.microsoft.com/mac/suggestions.mspx?product=word">crappy generic feedback page</a>. And in an ideal world, Microsoft would actually read this feedback and take it into account.
</p>
<p>
In that ideal world, I would actually bother to submit the bug as a bug report to Microsoft. But in the real world I will not, for the very reasons that I have mentioned several times over the years and that are summarized in my &#8220;<a href="http://www.betalogue.com/about/">About</a>&#8221; page.
</p>
<p>
If there actually is a Microsoft employee out there who cares, well, he or she will have to make the effort to read this blog and reproduce the bug themselves and then do something about it—you know, just like that Firefox developer who spontaneously contacted me this morning after reading my <a href="http://www.betalogue.com/2009/06/15/safari-4-zoom/">blog post about the full-page zoom feature in Safari 4 and Firefox 3</a> to let me know that he had <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=498375">filed and fixed</a> the alignment bug in Firefox 3 that I had incidentally described in my post and illustrated with a screen shot.
</p>
<p>
Now <em>that&#8217;s</em> what I call a developer. (It won&#8217;t convert me into a Firefox user, because there are a number of such flaws in the software and I still don&#8217;t find the browser Mac-like enough, but it is still impressive that the developer noticed my blog post so quickly and did something about it right away.)
</p>
<p>
I should also mention that, a few months ago, a Betalogue reader, Rob Gilpatric, wrote me an e-mail to describe a VBA script that can be used for removing the spurious bookmarks:
</p>
<pre>
Sub NoMoreOLEBookmarks()
' Word for Mac has this annoying habit (in some documents, but not all) of creating a bookmark each time you cut and paste text. _
' After a while, you can accumulate hundreds of these bookmarks. _
' This macro automatically cycles through every bookmark and deletes it if its name begins with OLE_LINK.

Dim bkmk As Bookmark
Dim n As Integer

For Each bkmk In ActiveDocument.Bookmarks
If Left(bkmk.Name, 8) = "OLE_LINK" Then
bkmk.Delete
n = n + 1
End If
Next bkmk

If n > 0 Then
MsgBox n &#038; " bookmarks removed!" &#038; vbCr &#038; vbCr &#038; _
"(Brought to you, courtesy Rob Gilpatric)", vbOKOnly + vbInformation, "No more OLE Bookmarks"
End If

End Sub
</pre>
<p>
Of course, the script cannot be used in Word 2008, since it no longer supports VBA. And I don&#8217;t think I am going to try to &#8220;translate&#8221; this script into an AppleScript script. I don&#8217;t really have the time, and it doesn&#8217;t really fix the problem anyway. It just gives you a somewhat quicker way (than the manual way) to remove the bookmarks when you have finished working on your document. But you still have to remember to use it each and every time…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/15/ole_link-bookmarks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Safari 4&#8217;s Full-Page Zoom: Impressive</title>
		<link>http://www.betalogue.com/2009/06/15/safari-4-zoom/</link>
		<comments>http://www.betalogue.com/2009/06/15/safari-4-zoom/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:36:37 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2627</guid>
		<description><![CDATA[
Like many other long-time Mac users, I suspect, when reviewing new pieces of software, I tend to focus on UI issues. They tend to play a big role in my decision to use or not to use a given piece of software. For instance, it might sounds crazy to some, but I can&#8217;t bring myself [...]]]></description>
			<content:encoded><![CDATA[<p>
Like many other long-time Mac users, I suspect, when reviewing new pieces of software, I tend to focus on UI issues. They tend to play a big role in my decision to use or not to use a given piece of software. For instance, it might sounds crazy to some, but I can&#8217;t bring myself to using Firefox as a web browser, because I feel that its user interface is simply not Mac-like enough. There is an overall lack of polish that I just can&#8217;t live with on a daily basis. Here&#8217;s an example taken from Firefox 3.0.7:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/various/firefox-prefs.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/various/firefox-prefs.png" width="379" height="161" alt="Firefox Prefs" /></a>
</p>
<p>
Am I really the only who&#8217;s strongly bothered by the fact that the Firefox developers don&#8217;t seem to care about vertical alignment?
</p>
<p>
This is one of the main reasons why, when it comes to web browsers, I tend to stick with Apple&#8217;s own offering, even if I occasionally use other browsers when I have to.
</p>
<p>
All of this is to say that, while other (non-UI) features in a browser are important too, I tend not to pay as much attention to them. And so I tend not to read about them and only to find out about them when I encounter them in my daily activities.
</p>
<p>
This is exactly what happened to me yesterday with Safari 4&#8217;s Full-Page Zoom feature. I was working on a web site that I am developing, and I wanted to check how the site scaled when using the browser&#8217;s zoom feature. This was an issue that I had been struggling with on this particular web site—probably because web site development is not a full-time job for me and my mastery of CSS leaves quite a bit to be desired still.
</p>
<p>
Much to my surprise, I discovered that my site now scaled almost perfectly! I immediately knew that it had nothing to do with my own code, which had not changed, and that it had to be related to the fact that I was now using Safari 4 instead of Safari 3.
</p>
<p>
And sure enough, when I went to Apple&#8217;s promotional pages for Safari, I quickly found that this was a new feature in Safari 4 and that it even had a name, &#8220;<a href="http://www.apple.com/safari/features.html">Full-Page Zoom</a>.&#8221;
</p>
<p>
I must say that this discovery leaves me mightily impressed. There is just no comparison between how Safari 4 scales pages and how it used to be in previous versions of the browser, or how it still is with several other browsers. Instead of just making the text bigger, with sometimes rather unsightly consequences in the way the page is rendered (depending on how well the site has been designed to scale properly), now Safari scales everything, including the pictures (doing its best to smooth the edges in low-resolution logos and photos), and it does so instantly, with a near-perfect consistency and overall sense of proportion and positioning.
</p>
<p>
Some other browsers (including Firefox 3) might be attempting to match Safari 4 in that department, but they are simply not as good at it, at least not based on my (admittedly limited) testing.
</p>
<p>
This is a feature that makes perfect sense and I am glad that both Firefox and Safari are moving forward in that direction. It not only improves the usability and readability of the sites, but it also makes a web developer&#8217;s job significantly easier, because he no longer has to worry about how his text will scale when his pictures stay the same size and remain in the same position.
</p>
<p>
Based on the obvious advantages of full-page zooming, I can&#8217;t imagine that it will take too long for it to become <em>the</em> standard behaviour for the zoom feature in all web browsers. And that&#8217;s very good news for both users and developers.
</p>
<p>
(There are still some kinks to iron out. For example, the site I am working on was designed to be horizontally centered on the page, using a position 50% from left and then a negative left margin of half the width of the site—a perfectly legitimate way to do it as far as I know. When I would zoom in too far, however, either with Firefox or Safari, the left-most area of the page would extend beyond the left edge of the window, but there would be no room on the horizontal scroll bar to scroll further to the left. I ended up switching to &#8220;<code>auto</code>&#8221; for the left and right margin instead in order to get the page&#8217;s contents centered.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/15/safari-4-zoom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Safari 4 and the blue progress bar: Ignoring the needs of users in low-bandwidth conditions</title>
		<link>http://www.betalogue.com/2009/06/12/safari4/</link>
		<comments>http://www.betalogue.com/2009/06/12/safari4/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:26:33 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2622</guid>
		<description><![CDATA[
Ever since the Internet became an integral part of day-to-day computing, Apple has had a history of consistently ignoring the needs of users stuck in low-bandwidth conditions, for whatever reasons. I have been one such user since 1995, first because I was still stuck with a dial-up connection when many users were able to upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>
Ever since the Internet became an integral part of day-to-day computing, Apple has had a history of consistently ignoring the needs of users stuck in low-bandwidth conditions, for whatever reasons. I have been one such user since 1995, first because I was still stuck with a dial-up connection when many users were able to upgrade to cable or DSL, and now because I still don&#8217;t have access to cable or DSL where I live and have to use a satellite-based Internet hookup, which comes with its own limitations (high latency, bandwidth throttle, etc.).
</p>
<p>
So I have been experiencing the limitations and flaws of Apple technology in low-bandwidth situations for many years now, and I am afraid the latest &#8220;improvement&#8221; in Safari 4, namely the replacement of the blue progress bar in the address bar with a spinning wheel, is yet another illustration of the fact that Apple does not care about the needs of users in low-bandwidth conditions:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/safari4-progress.png" width="162" height="97" alt="Animated wheel" />
</p>
<p>
The only way to explain why this is a big step backwards is to analyze the purposes that a progress indicator fulfills. In my view, a progress indicator has at least two purposes:
</p>
<ol type="1">
<li>It gives the user an idea of how much of the process has been completed and how much remains to be completed.</li>
<li>It indicates to the user that <em>something</em> is taking place, that progress <em>is</em> being made when all other visual indications are that the process is stalled. </li>
</ol>
<p>
The blue progress bar in the previous versions of Safari fulfilled both purposes:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/safari/safari3-progress.png" width="199" height="104" alt="Blue bar" />
</p>
<p>
It gave an idea of how much of the page had been loaded because the length of the field for the site&#8217;s URL doubled as an indicator of the estimated length of the entire loading process and the length of the blue bar within that field was an indicator of how much of this length had been covered.
</p>
<p>
And it indicated to the user that something was taking place not just by being there, but by <em>moving along</em>, i.e. by changing its state gradually, in real time, as the page was being loaded.
</p>
<p>
And that&#8217;s a crucial distinction. Because sometimes the blue bar would stay there, but would <em>stop moving</em>. This was not just an indication that the loading process was still in progress, but that it was actually <em>stalled</em>.
</p>
<p>
In my low-bandwidth working conditions, this happens fairly often. For whatever reason, the connection to the server gets lost, and Safari is unable to continue loading the page. Safari has a built-in mechanism that instructs it to give up on the process altogether after a while, presumably through some kind of &#8220;time-out&#8221; countdown. In other words, if the server hosting the page fails to respond for more than 1 or 2 minutes or whatever, then Safari interrupts the page loading process and displays an error message instead.
</p>
<p>
The key thing here was that, with Safari 3, I didn&#8217;t have to wait until the end of the time-out delay and the display of the error message. If I saw that the blue progress bar was stuck for an extended period of time, I could simply interrupt the stalled process by clicking on the Reload button and force Safari to try loading the page again.
</p>
<p>
Now, with the spinning wheel, this level of accuracy in the depiction of the page loading process has been completely lost. All you get is a spinning wheel. All that the spinning wheel denotes is that the page loading process is in progress. But there is no way to tell whether the process is stalled, because the wheel keeps turning anyway. The spinning wheel activity is not the equivalent of the blue progress bar marching forward, i.e. changing. It is only the equivalent of the presence of a blue progress bar. It makes not distinction between whether the process is moving along or stalled.
</p>
<p>
And that is the most crucial aspect of the blue progress bar that has been obliterated by Apple.
</p>
<p>
Obviously, in Apple&#8217;s world, all Internet connections are fast, pages load very quickly, and the page loading process never stalls. But that is not the real world, especially not for users in low-bandwidth conditions. For such users, stalls happen all the time. And now with the spinning wheel in Safari 4, there is no longer any visual indication of such stalls. The only way that you can tell that the process is stalled is by waiting until Safari times out and displays an error message, which can take several minutes.
</p>
<p>
It&#8217;s a big step backwards in functionality.
</p>
<p>
Now, there are ways to mitigate the loss. As someone who has had to endure low-bandwidth conditions for many years, I have always relied on a bandwidth monitoring tool. The tool that I use is <a href="http://www.ragingmenace.com/software/menumeters/" target="_blank">MenuMeters</a>. It is a free piece of software that can add a variety of visual status indicators to your menu bar, including a network activity indicator:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/macosx/menumeters.png" width="121" height="61" alt="MenuMeters" />
</p>
<p>
This indicator shows me whether there is any transmitting/uploading (red arrow) or receiving/downloading (green arrow) activity, and is updated every second with a value in KBytes per second indicating how much data is being transmitted.
</p>
<p>
Thanks to this indicator, if the page loading process in Safari 4 stalls, while the wheel keeps turning and gives me no indication that the process is stalled, I can see that the amount of data being received drops down to 0 KB/s.
</p>
<p>
A value of 0 KB/s does not necessarily mean that the process is completed stalled. Sometimes the value drops for a few seconds and then goes back up, depending on the responsiveness of the server and various other conditions.
</p>
<p>
But if the value stays at 0 KB/s for a long time, then it&#8217;s a pretty strong indication that something is wrong and that the process is stalled.
</p>
<p>
Of course, MenuMeters is no help if I am loading several different things at the same time. If only one of them is stalled, the other things will continue to generate network activity and I will have no way to tell in the MenuMeters indicator that one particular process is stalled.
</p>
<p>
That&#8217;s when I also use another third-party tool, the <a href="http://www.betalogue.com/2008/04/16/little-snitch-can-also-be-used-to-monitor-network-activity-per-application/">Network Monitor provided by Little Snitch</a>.
</p>
<p>
This network monitor does not just display the overall level of network activity, like MenuMeters does; it also breaks it down per application. So if I have a download taking place in an application other than Safari and Safari is trying to load a page at the same time, I can see in Little Snitch&#8217;s Network Monitor whether both processes are still progressing or if only one of them is generating any network activity.
</p>
<p>
And even when I have several concurrent downloads taking place simultaneously in Safari, I can still use Little Snitch&#8217;s Network Monitor to monitor them separately, because the Network Monitor constantly updates its display with the addresses of the sites from which the data is coming. So when I have two downloads in progress in Safari, one from server1.com and the other from server2.com, if I don&#8217;t see Little Snitch&#8217;s Network Monitor alternating between &#8220;<span class="passage">server1.com</span>&#8221; and &#8220;<span class="passage">server2.com</span>&#8221; in its display on the Safari line, I know that one of the processes is stalled, and I can try to do something about it (i.e. hit Reload).
</p>
<p>
All this is to say that, thanks to these other third-party tools, I will be able to survive with Safari 4&#8217;s &#8220;new and improved&#8221; visual indicator, which no longer gives me as much information as the blue bar used to do.
</p>
<p>
But I am still quite disappointed that Apple has chosen to replace the blue bar with this spinning wheel. Because the bottom line is that this spinning wheel only says one thing, and that is that the loading is in progress. That&#8217;s it. There is no indication of the rate or speed at which it is progressing, and there is nothing that shows if the process is stalled.
</p>
<p>
What is paradoxical is that the very assumption that Apple seems to be making here, i.e. that everyone has a fast connection and does not need a detailed progress indicator, ultimately means that, in Apple&#8217;s view, we don&#8217;t need a progress indicator at all. After all, if connections are so fast and pages load so quickly, where is the need for indicating progress? You might as well get rid of the process indicator altogether, and just assume that all pages load almost instantly and the user does not need to know anything about the downloading activity.
</p>
<p>
In fact, I wouldn&#8217;t be surprised if, following their own logic, Apple&#8217;s engineers did decide to remove the progress indicator altogether some time in the future. There are already plenty of other examples in the Mac OS X UI of processes that are far from instantaneous and yet the UI is designed to behave as if they were instantaneous, with no progress indicators of any kind. What you end up with then is a UI that fails to respond instantly to your interactions, and you have no idea why, and you have no idea how long it will take for it to respond, and all you can do is wait until the computer finally lets you regain control.
</p>
<p>
This is precisely what&#8217;s so despicable about computers as modern tools: situations where the computer, and not the user, is in control. Everything in the UI should be designed so that the user never loses control of what is going on. If a process takes time, then the user should be given an indication that is as accurate as possible of how long the process will take, and should be able to continue doing other things in the meantime. This is the only way to maintain the fluidity of the interaction between the user and the machine, and the only way to ensure that the user stays in control.
</p>
<p>
By replacing the blue progress bar with a spinning wheel in Safari 4, I am afraid Apple&#8217;s engineers have once again ignored that fundamental design rule and given us software that pretends to know better than we do what we need from it.
</p>
<p>
It&#8217;s arrogant. It&#8217;s insulting to the many users who do not enjoy high-bandwidth working conditions. And it is the ugly side of Apple&#8217;s relentless push towards the future.
</p>
<p>
I would very much like Apple to come down here in my little corner of southwest Nova Scotia and install a direct optical fibre connection to the main data centers in the provincial capital so that I get near-instantaneous access to all my favorite web sites. Until this happens, any other move by Apple that assumes that every one has a high-bandwidth connection to the Internet will be yet another confirmation that they don&#8217;t care about users like me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/12/safari4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac OS X 10.5.6/7: Bug with NVIDIA graphics driver?</title>
		<link>http://www.betalogue.com/2009/06/09/mac-os-x-nvidia/</link>
		<comments>http://www.betalogue.com/2009/06/09/mac-os-x-nvidia/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 12:39:35 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2618</guid>
		<description><![CDATA[
My three-year-old Mac Pro is equipped with an NVIDIA GeForce 7300 GT graphics card and has two monitors connected to it, a 30&#8243; and a 23&#8243;, both Apple models.


Recently, I have started experiencing problems that seem to be related to the graphics card. I am not sure exactly when they started, but I strongly suspect [...]]]></description>
			<content:encoded><![CDATA[<p>
My three-year-old Mac Pro is equipped with an NVIDIA GeForce 7300 GT graphics card and has two monitors connected to it, a 30&#8243; and a 23&#8243;, both Apple models.
</p>
<p>
Recently, I have started experiencing problems that seem to be related to the graphics card. I am not sure exactly when they started, but I strongly suspect it was with the Mac OS X 10.5.6 update. The symptoms are the following: Usually, I am in the process of opening a PDF file with Preview when, all of a sudden, either the display becomes completely corrupted, with pixelation everywhere and bits and pieces of windows everywhere, or the entire UI freezes and the mouse pointer, while still moving, turns into the spinning pizza of death.
</p>
<p>
When the symptoms are &#8220;only&#8221; display corruption, I seem to be able to solve the problem by quitting and relaunching the Preview application itself.
</p>
<p>
When the symptoms are a total UI freeze, I cannot do anything to regain control of the system. The force-quitting shortcut does not work, and nothing responds to mouse clicks. I have to do a hard reset of the machine.
</p>
<p>
It&#8217;s a problem that has been happening on and off for the past couple of months now. Sometimes I get a few days without any problems. Sometimes it happens a couple of times in fairly quick succession.
</p>
<p>
Whenever the problem occurs, if I look in the system log in Console, I find a flurry of error messages at the time of the display corruption/hang that seem to have to do with the NVIDIA graphics. They all look like this
</p>
<p>
<code><br />
Jun  8 15:44:57 Mac-Pro kernel[0]: NVDA(OpenGL): Channel exception!  status = 0xffff info32 = 0&#215;6 = Fifo: Parse Error<br />
Jun  8 15:44:57 Mac-Pro kernel[0]: NVDA(OpenGL): Channel exception!  status = 0xffff info32 = 0&#215;3 = Fifo: Unknown Method Error<br />
</code>
</p>
<p>
To me, this looks very much like there is a problem with the OS software that controls the graphics card, i.e. the video card driver for the NVIDIA card.
</p>
<p>
Of course, at this point it is impossible to entirely rule out a hardware failure of the graphics card itself, but I have done a bit of research online and found that I am far from being the only one with the problem:
</p>
<p>
MacFixIt Forums: &#8220;<a href="http://www.macfixitforums.com/ubbthreads.php/topics/459613/Display_corruption_and_hangs_u">Display corruption and hangs using OS X 10.5.6</a>&#8221;
</p>
<p>
Apple Discussions: &#8220;<a href="http://discussions.apple.com/thread.jspa?threadID=1916253&amp;tstart=0">NVDA(OpenGL): Channel exception!</a>&#8221;
</p>
<p>
I have another spare GeForce 7300 GT so I might try to swap the cards to see if it makes any difference. But really, based on the apparent prevalence of the problem and the variety of systems affected, it does appear to be not a widespread hardware failure, but an OS-related issue introduced with the Mac OS X 10.5.6 update (unless these GeForce cards are all starting to fail after a few years of daily use).
</p>
<p>
Sadly, as always in such situations, it seems to be hard to get the message across to Apple that there might be a problem with their drivers. Some people appear to have more success than me in reproducing it reliably, by using software applications that make greater user of the graphics card and presumably of the OpenGL software. I have submitted a bug report, but of course haven&#8217;t heard anything back from Apple about this.
</p>
<p>
It is really quite frustrating because, with the transition to OS X, we really thought we had left system-wide crashes and hangs behind us. But every once in a while, they seem to be able to rear their ugly heads again, in a way that really affects the perception of trust in the machine. In my case, the situation is not too atrocious yet, since the problem does not occur every day. But I still expect to be able to run my machine for many days in a row without having to reboot or risking to lose any of my work, and at this point I seem to have lost that level of reliability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/09/mac-os-x-nvidia/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac OS X&#8217;s Mail: How to Quick Look attachments while composing a message</title>
		<link>http://www.betalogue.com/2009/06/05/mail-quick-look/</link>
		<comments>http://www.betalogue.com/2009/06/05/mail-quick-look/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 13:05:29 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2616</guid>
		<description><![CDATA[
The beauty about the Quick Look feature introduced in Mac OS X 10.5 (Leopard) is that it feels so natural that you get the impression that it has always been there. Once you start using the Space bar to preview files in the Finder, it is quite easy to get into the habit of wanting [...]]]></description>
			<content:encoded><![CDATA[<p>
The beauty about the Quick Look feature introduced in Mac OS X 10.5 (Leopard) is that it feels so natural that you get the impression that it has always been there. Once you start using the <kbd>Space</kbd> bar to preview files in the Finder, it is quite easy to get into the habit of wanting to use it everywhere, and not just in the Finder.
</p>
<p>
Of course, Quick Look is first and foremost a Finder feature, so its use in other applications, even Apple&#8217;s own, is a bit of a hit-or-miss proposition. But it does work in other applications as well. For example, it works in Mail when you are viewing a message that someone sent you with an attachment. If you select the attachment&#8217;s icon in the message and press <kbd>Space</kbd>, Mail does display a preview of the attachment&#8217;s contents.
</p>
<p>
So it&#8217;s quite easy to get into the habit of using <kbd>Space</kbd> as a shortcut for previewing files in Mail as well.
</p>
<p>
Unfortunately, it does not work everywhere. For example, if you are in the process of <em>composing</em> a message in Mail and you insert a file attachment in your message, you cannot select the attachment&#8217;s icon and press <kbd>Space</kbd> to Quick Look it. If you try to do that, Mail actually interprets the <kbd>Space</kbd> keystroke as meaning that you want to insert a space character and writes the space over the selection, deleting the attachment!
</p>
<p>
Fortunately, there is still a way to use Quick Look to preview a file attachment even when composing messages. But you must refrain from using the keyboard shortcut for Quick Look. Instead, you can right-click on the attachment icon. &#8220;<span class="menuitem">Quick Look Attachment</span>&#8221; is one of the commands in that contextual menu, and it will let you peek inside the attachment.
</p>
<p>
I still find myself accidentally pressing the <kbd>Space</kbd> shortcut to Quick Look an attachment from time to time while composing a message, because it is simply impossible to remember that this only works when the attachment is in a non-editable message. But of course it&#8217;s easy to undo the accidental entry of a space character over the attachment, with <kbd>command-Z</kbd>, which restores the attachment. Then right-click to bring up the contextual menu works as an acceptable substitute.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/05/mail-quick-look/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pages ’09: Wrong focus in Full Keyboard Access</title>
		<link>http://www.betalogue.com/2009/06/05/pages-fka/</link>
		<comments>http://www.betalogue.com/2009/06/05/pages-fka/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 12:47:43 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Pages]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2614</guid>
		<description><![CDATA[
I always have Full Keyboard Access on on my machine, not because I suffer from repetitive stress injuries, but because I don&#8217;t like having to switch from the keyboard to the mouse and back all the time.


Because of this, I tend to notice problems that might not be apparent to Mac users who do not [...]]]></description>
			<content:encoded><![CDATA[<p>
I always have Full Keyboard Access on on my machine, not because I suffer from repetitive stress injuries, but because I don&#8217;t like having to switch from the keyboard to the mouse and back all the time.
</p>
<p>
Because of this, I tend to notice problems that might not be apparent to Mac users who do not use Full Keyboard Access and that tend to suffer from a certain amount of neglect on the part of Apple&#8217;s engineers.
</p>
<p>
For example, a while ago I pointed out that the tab order for the various controls in Pages ’08&#8217;s &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box was wrong. This was a problem that was only really apparent if you had Full Keyboard Access on and used the <kbd>Tab</kbd> key to cycle through all the controls in that dialog box, including not just the text fields, but also the pop-up menus, the buttons, etc.
</p>
<p>
Thankfully, Apple fixed the tab order in Pages ’09.
</p>
<p>
But there is still another problem with Full Keyboard Access in the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box that remains unaddressed in Pages ’09. It has to do with the behaviour of keyboard shortcuts when the focus is on a control other than a text field.
</p>
<p>
For example, after having turned Full Keyboard Access on, bring up the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box, switch to the &#8220;<span class="interfaceitem">Advanced</span>&#8221; tab, and then type a text string in the &#8220;<span class="interfaceitem">Find:</span>&#8221; field.
</p>
<p>
Then press <kbd>command-A</kbd> to select the text string you&#8217;ve just typed and press <kbd>command-C</kbd> to copy it to the Clipboard. While the focus is on the text field, these two keyboard shortcuts work just fine.
</p>
<p>
Now press the <kbd>Tab</kbd> key repeatedly to move the focus to the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field, with the intention of pasting the contents of the Clipboard once you&#8217;re there. If you have Full Keyboard Access on, it takes quite a few <kbd>Tab</kbd> keystrokes to get there, because <kbd>Tab</kbd> cycles through all the controls and not just the main ones.
</p>
<p>
So it&#8217;s relatively easy to overshoot or undershoot by one keystroke. So let&#8217;s say that, accidentally, you press the <kbd>Tab</kbd> key one time too many and you end up putting the focus on the &#8220;<span class="menuheading">Insert…</span>&#8221; pop-up menu next to the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field, rather than on the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field itself:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages-replace-insert.png" width="169" height="86" alt="Focus on 'Insert…'" />
</p>
<p>
Now if, like me, you tend to work fast and do this type of thing repeatedly throughout the day, you might do the next step, i.e. press <kbd>command-V</kbd> to paste the contents of the Clipboard, before you actually notice that the focus is on the wrong control.
</p>
<p>
And that&#8217;s where things get, let&#8217;s say, interesting. Since the focus is on the &#8220;<span class="menuheading">Insert…</span>&#8221; pop-up menu and not on the &#8220;<span class="interfaceitem">Replace:</span>&#8221; text field, Pages ’09 should just ignore the <kbd>command-V</kbd> shortcut, since it has no relevance when the focus is not on a text input area.
</p>
<p>
But it does not. Instead of ignoring the shortcut, Pages ’09 actually inserts the contents of the Clipboard in the main document window in the background behind the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box!
</p>
<p>
And the problem is not just limited to the <kbd>command-V</kbd> shortcut. If the focus is on the &#8220;<span class="menuheading">Insert…</span>&#8221; pop-up menu (or another control in the dialog box that is not a text input area) and you press <kbd>command-A</kbd>, again instead of ignoring the shortcut Pages ’09 selects the entire contents of the main document window in the background behind the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box.
</p>
<p>
So clearly there is a focus problem here. Even though the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box is very much in the foreground and keyboard shortcuts apply to it and be ignored if they are not relevant, when the focus is on a control that is not a text input area, Pages ’09 wrongly and invisibly switches the focus back to document window in the background.
</p>
<p>
I believe it&#8217;s quite clear that this is the wrong behaviour, even though the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box is not a modal dialog box and can indeed be left open in the background, with the focus back on the document window. Regardless of this modal flexibility, when the dialog box is in the foreground, keyboard shortcuts should apply to that foreground window exclusively, and be ignored (with a system beep if necessary) if they are not relevant.
</p>
<p>
It might seem like a minor thing but when, like me, you tend to work fast and try to execute a sequence of keyboard shortcuts in one fell swoop, it&#8217;s easy to overshoot. If Pages ’09 behaved properly in this situation, the damage caused by the overshooting would be minimal and easy to undo. Instead, when what I described above happens, you have to switch back to the document window to manually undo what Pages ’09 has just done. And when you repeat the same thing dozens of times during the same day, it can get quite frustrating.
</p>
<p>
It&#8217;s another issue to add to the <a href="http://www.betalogue.com/2009/06/02/pages-replace/">already long list of issues</a> with Pages ’09&#8217;s &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box, as mentioned in my other post earlier this week, which really seems to suggest that Apple&#8217;s engineers have not spent much time actually trying to use this dialog box.
</p>
<p>
I am not about to turn Full Keyboard Access off, because it&#8217;s too useful for me. But I also know that I probably will have to live with this problem for a while, because Full Keyboard Access-related issues tend to have a relatively low priority at Apple. (Remember how long it took them to fix iTunes so that it would work properly with Full Keyboard Access.)
</p>
<p>
If the problem bothers you as much as it bothers me (and even if it does not!), I strongly urge you to submit it to Apple via the <a href="http://bugreport.apple.com/">Bug Reporter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/05/pages-fka/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pages ’09: Major problems with Find/Replace case-matching</title>
		<link>http://www.betalogue.com/2009/06/02/pages-replace/</link>
		<comments>http://www.betalogue.com/2009/06/02/pages-replace/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:10:54 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Pages]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2612</guid>
		<description><![CDATA[
The case-matching scheme used by Pages ’09&#8217;s Find/Replace feature is seriously screwed.


When you switch to the &#8220;Advanced&#8221; tab in the &#8220;Find/Replace&#8221; dialog box, you have the option to check a box labelled &#8220;Match case.&#8221; If you check it, then Pages ’09 restricts the search to occurrences that match the exact case of the text string you are [...]]]></description>
			<content:encoded><![CDATA[<p>
The case-matching scheme used by Pages ’09&#8217;s Find/Replace feature is seriously screwed.
</p>
<p>
When you switch to the &#8220;<span class="interfaceitem">Advanced</span>&#8221; tab in the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog box, you have the option to check a box labelled &#8220;<span class="interfaceitem">Match case</span>.&#8221; If you check it, then Pages ’09 restricts the search to occurrences that match the exact case of the text string you are looking for.
</p>
<p>
If you don&#8217;t check the option, then Pages ’09 ignores the case in its search for all the occurrences of the text string you are looking for. In other words, a search for &#8220;<span class="passage">Word</span>&#8221; with &#8220;<span class="interfaceitem">Match case</span>&#8221; off will find not just occurrences of &#8220;<span class="passage">Word</span>,&#8221; but also occurrences of &#8220;<span class="passage">word</span>,&#8221; &#8220;<span class="passage">WORD</span>&#8220;, &#8220;<span class="passage">wOrd</span>,&#8221; and so on.
</p>
<p>
The problem in Pages ’09 is with what happens if you try to <em>replace</em> the found occurrences of the text string with a different string or, indeed, with the same string, but with different style options.
</p>
<p>
Consider the following situation:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase1.png" width="329" height="531" alt="Various text strings and Find/Replace" />
</p>
<p>
I have a Pages ’09 document with various text strings and the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog in the foreground instructing Pages to find occurrences of the first text string without matching the case. In the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field, I have <em>the exact same string</em> (with the same case). This is what I would do, for example, if I wanted to apply a specific style to all occurrences of the text string.
</p>
<p>
Now consider what happens when I click on the &#8220;<span class="interfaceitem">Replace All</span>&#8221; button:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase2.png" width="329" height="531" alt="Replaced string with changed case" />
</p>
<p>
What on earth is that about? Pages ’09 has replaced my original string, which only had a capital letter on its first word, with the same string but with a capital letter on every word in the string!
</p>
<p>
This makes no sense whatsoever. No, I didn&#8217;t check the &#8220;<span class="interfaceitem">Match case</span>&#8221; option, but that does not mean that I have given Pages ’09 licence to change the case in the found string when replacing it with itself, i.e. with the exact same string (case included)!
</p>
<p>
In such a situation, with the &#8220;<span class="interfaceitem">Match case</span>&#8221; option off, the expected behaviour is that Pages ’09 will find all occurrences of the text string, ignoring the case, and will replace each occurrence with the exact same string, with the same combination of lowercase and uppercase. In other words, if I search for all occurrences of &#8220;<span class="passage">title with initial capital</span>&#8221; with &#8220;<span class="interfaceitem">Match case</span>&#8221; off, I expect Pages ’09 to include an occurrence such as &#8220;<span class="passage">Title with initial capital</span>&#8221; in the found occurrences. But if I also put &#8220;<span class="passage">title with initial capital</span>&#8221; in the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field, I also expect Pages ’09 to be smart enough to replace &#8220;<span class="passage">Title with initial capital</span>&#8221; with the exact same string, i.e. &#8220;<span class="passage">Title with initial capital</span>,&#8221; and not with “<span class="passage">Title With Initial Capital</span>”!
</p>
<p>
The same problem extends to other lowercase/uppercase combinations. Say I search for &#8220;<span class="passage">title with word caps</span>&#8221; with &#8220;<span class="interfaceitem">Match case</span>&#8221; off:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase3.png" width="329" height="531" alt="String with word caps" />
</p>
<p>
My document includes an occurrence of &#8220;<span class="passage">Title with Word Caps</span>.&#8221; So I expect Pages ’09 to replace that occurrence with the exact same thing. Instead, again it changes the case:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase4.png" width="329" height="531" alt="Replaced string with changed case" />
</p>
<p>
Then I search for &#8220;<span class="passage">title in all caps</span>&#8221; with &#8220;<span class="interfaceitem">Match case</span>&#8221; off:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase5.png" width="329" height="531" alt="String with all caps" />
</p>
<p>
My document includes an occurrence of &#8220;<span class="passage">TITLE WITH ALL CAPS</span>.&#8221; So I expect Pages ’09 to replace that occurrence with the exact same thing. Instead, again it changes the case:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase6.png" width="329" height="531" alt="String with all caps" />
</p>
<p>
Finally I search for &#8220;<span class="passage">title in lowercase</span>&#8221; with &#8220;<span class="interfaceitem">Match case</span>&#8221; off:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-matchcase7.png" width="329" height="531" alt="String in lowercase" />
</p>
<p>
My document includes an occurrence of &#8220;<span class="passage">title in lowercase</span>.&#8221; So I expect Pages ’09 to replace that occurrence with the exact same thing… And it does. Phew!
</p>
<p>
In other words, the only time that Pages ’09 works as expected here is if the found text is all in lowercase. Otherwise, Pages ’09 arbitrarily changes the case of the found string when replacing it in itself.
</p>
<p>
This effectively makes Pages ’09&#8217;s Find/Replace feature useless for batch application of style formatting options to text strings in Pages documents. And it makes it highly unreliable for any find/replace operation if you are not using the &#8220;<span class="interfaceitem">Match case</span>&#8221; option.
</p>
<p>
If you combine this problem with the on-going difficulties that Pages ’09&#8217;s Find/Replace has when <a href="http://www.betalogue.com/2009/01/21/pages-apostrophes/">dealing with curly quotation marks and apostrophes</a>, and with serious bugs such as <a href="http://www.betalogue.com/2009/06/01/replace-bug/">the one described in yesterday&#8217;s post</a>, and with Pages ’09&#8217;s <a href="http://www.betalogue.com/2009/04/15/pages-find-whole-words/">failure to find whole word phrases</a> when using the &#8220;<span class="interfaceitem">Whole words</span>&#8221; option, it adds up with a pretty poor and unreliable Find/Replace feature in Pages ’09.
</p>
<p>
It certainly cannot be used for any serious, professional-level work, especially on large documents, where the destructiveness of this unreliable feature might not be immediately apparent and might require lots of manual mopping up after its use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/02/pages-replace/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pages ’09: Problem with applying text colour</title>
		<link>http://www.betalogue.com/2009/06/01/pages-text-colour/</link>
		<comments>http://www.betalogue.com/2009/06/01/pages-text-colour/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:41:19 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Pages]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2609</guid>
		<description><![CDATA[
Generally speaking, Pages ’09 is pretty good when it comes to handling formatting options for heterogeneous selections. If, for example, you have a paragraph to which you have applied the &#8220;Keep with following paragraph&#8221; formatting option followed by a paragraph to which you have not applied the option, when you combine both paragraphs into a single, [...]]]></description>
			<content:encoded><![CDATA[<p>
Generally speaking, Pages ’09 is pretty good when it comes to handling formatting options for heterogeneous selections. If, for example, you have a paragraph to which you have applied the &#8220;<span class="interfaceitem">Keep with following paragraph</span>&#8221; formatting option followed by a paragraph to which you have not applied the option, when you combine both paragraphs into a single, continuous selection, that selection will be heterogeneous with respect to the &#8220;<span class="interfaceitem">Keep with following paragraph</span>&#8221; formatting option, which is neither on (since the selection includes a paragraph where it is off) nor off (since the selection includes a paragraph where it is on).
</p>
<p>
Pages ’09 does the right thing and displays a dash across the check box, to indicate a mixed (heterogeneous) selection:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-heterogeneous-selection.png" width="210" height="89" alt="Heterogeneous selection status" />
</p>
<p>
(Needless to say, in this area as in so many others, Microsoft Word tends to fail miserably and to be totally unable to correctly display the formatting status of the mixed selection. In this particular case, Word correctly displays the dash in its modal &#8220;<span class="interfaceitem">Paragraph…</span>&#8221; dialog box, but if you add the &#8220;<span class="interfaceitem">Keep With Next</span>&#8221; toggle button to one of your toolbars, in order to make the option more accessible, the toggle button has no intermediate state to indicate a mixed selection. And there are multiple other formatting options for which Word fails miserably to display the correct status of a mixed selection: Just select two consecutive paragraphs in two different paragraph styles and check the &#8220;<span class="interfaceitem">Style</span>&#8221; section of the Formatting Palette…)
</p>
<p>
In this situation, in Pages, you can leave the selection as it is, or you can click on the &#8220;<span class="interfaceitem">Keep with following paragraph</span>&#8221; check box once to apply the formatting option to both paragraphs (the one that already has it and the one that doesn&#8217;t have it yet), or you can click on it twice to remove the formatting option from both paragraphs.
</p>
<p>
That is the normal, expected behaviour in such a situation.
</p>
<p>
Unfortunately, there is one area where this fails, and that is with text colour and with the text colour control in Pages ’09&#8217;s toolbar.
</p>
<p>
If you have an heterogeneous selection when it comes to text colour and you bring up the text colour palette, Pages ’09 wrongly indicates that the text colour of the current selection is the text colour of the first portion of the selection. See the following example:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-textcolour.png" width="454" height="221" alt="Heterogeneous text colour" />
</p>
<p>
My selection includes both black text and red text, but according to the text colour palette in Pages ’09&#8217;s toolbar, the current colour of my selection is black.
</p>
<p>
It gets worse: If I click on the (already selected) black square in order to indicate that I want to apply the black colour to the entire selection, it fails. The colour of the selection remains unchanged, i.e. a mix of black and red.
</p>
<p>
There is a way around this, fortunately. You can bring up the colour inspector by clicking on the &#8220;<span class="interfaceitem">Colors</span>&#8221; button in the Pages ’09 toolbar. Pages ’09 will still fail to reflect the heterogeneous nature of the current selection and wrongly indicate that the text colour of the selection is black in the colour inspector, but at least when you click on the (already selected) black colour in the inspector, Pages correctly applies black to the entire selection.
</p>
<p>
In my view, both the colour palette and the colour inspector should reflect the heterogeneous nature of the selection by highlighting both colours in the palette/list of colours (just like Pages highlights both styles in the Styles drawer when you have a selection including two different styles). And the toolbar palette should definitely let me apply black to the entire selection, like the colour inspector does.
</p>
<p>
It is, of course, a minor detail, and the fact that there is a workaround for the worst aspect of it makes it even less significant as a flaw in the product. Still, we expect a great level of attention to detail in Mac OS X products, and this should eventually get fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/01/pages-text-colour/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pages ’09: Bug with &#8216;Replace&#8217; command</title>
		<link>http://www.betalogue.com/2009/06/01/replace-bug/</link>
		<comments>http://www.betalogue.com/2009/06/01/replace-bug/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 18:24:48 +0000</pubDate>
		<dc:creator>Pierre Igot</dc:creator>
		
		<category><![CDATA[Pages]]></category>

		<guid isPermaLink="false">http://www.betalogue.com/?p=2600</guid>
		<description><![CDATA[
There is a pretty significant bug with the Find/Replace feature in Pages ’09, which makes it rather difficult to trust the application to do the right thing when editing documents with styled text.


Here is the scenario.


Say you have a Pages document containing a paragraph of text in body style, followed by a paragraph of text in [...]]]></description>
			<content:encoded><![CDATA[<p>
There is a pretty significant bug with the Find/Replace feature in Pages ’09, which makes it rather difficult to trust the application to do the right thing when editing documents with styled text.
</p>
<p>
Here is the scenario.
</p>
<p>
Say you have a Pages document containing a paragraph of text in body style, followed by a paragraph of text in heading style, followed by another paragraph of text in body style. And say that, for some reason, you have a trailing space after the period and before the return char at the end of the paragraphs in body text. Here&#8217;s what it would look like:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-replacebug1.png" width="392" height="215" alt="Paragraphs with trailing spaces" />
</p>
<p>
If you only have one or two such trailing spaces, you can delete them manually. But what if you have hundreds of them in your document and want to delete them all? Well, the logical thing to do is to use the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog for this purpose. You can put a space followed by a return character (<kbd>option-Return</kbd>) in the &#8220;<span class="interfaceitem">Find:</span>&#8221; field, and a return character in the &#8220;<span class="interfaceitem">Replace:</span>&#8221; field, and specify that the change should apply to the entire document and affect all paragraphs, regardless of their style. This is what I have done in the dialog below, although it&#8217;s hard to see the space before the paragraph mark in the &#8220;<span class="interfaceitem">Find:</span>&#8221; field, because it&#8217;s just a bit of white space next to the padding on the left edge of the field:
</p>
<p>
<a href="http://www.betalogue.com/images/uploads/pages/pages09-replacebug2.png" target="_blank" title="Click to see full-size image."><img src="http://www.betalogue.com/images/uploads/pages/pages09-replacebug2.png" width="386" height="248" alt="Find/Replace dialog" /></a>
</p>
<p>
And then you can just hit the &#8220;<span class="interfaceitem">Replace All</span>&#8221; button and be done with it, right?
</p>
<p>
There only one slight problem with this. Here&#8217;s what you actually get if you use the &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog to fix the trailing spaces before the paragraph marks:
</p>
<p>
<img src="http://www.betalogue.com/images/uploads/pages/pages09-replacebug3.png" width="392" height="215" alt="Paragraphs without trailing spaces" />
</p>
<p>
What happened to the style of the second paragraph? Well, it&#8217;s simply gone. Why? Because, apparently, in the process of replacing the paragraph mark at the end of the first paragraph preceded by a trailing space with a paragraph mark without the trailing space, Pages&#8217;s  &#8220;<span class="interfaceitem">Find/Replace</span>&#8221; dialog <strong>changes the paragraph style of the following paragraph</strong> as well!
</p>
<p>
This is pretty bad. The understanding in all modern processors is that the paragraph style of any given paragraph is &#8220;stored&#8221; in the paragraph mark at the end of that paragraph. So the paragraph mark at the end of the first paragraph in the example above contains the style of the first paragraph, i.e. the body style. And the paragraph style of the second paragraph (the heading) is stored in the paragraph mark at the end of that second paragraph, and has absolutely nothing to do with the paragraph mark of the first paragraph.
</p>
<p>
Yet obviously in the process of replacing the paragraph mark at the end of the first paragraph, Pages somehow replaces the style of the following paragraph as well. Ouch.
</p>
<p>
The bottom line here is that you cannot trust Pages ’09 to do proper batch find/replace operations involving paragraph marks. If you need to clean up trailing spaces, you better do it in some other programs, or, if you have the patience, do it manually in Pages. Not a pretty scene.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betalogue.com/2009/06/01/replace-bug/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
