Preview Pane on Safari (& other minor glitches)

Brian Devendorf developer at
Sun Dec 24 06:34:45 CET 2006

An update to the Display images issue below... I have since verified  
the issue on Firefox on Mac and Windows. I have also  
identified the source of the problem and a workaround. The issue was  
created in r400 with the change to the html headers for viewing  
messages. This change allowed the browser to cache message pages. The  
pages that cache do not store their "_safe" setting, though. What  
this means is that the first time you click to Display images,  
everything works fine. The second time it becomes impossible to view  
the images. The solution is to wait for the cache to expire or  
manually clear the browsers cache.

I have created a ticket in Trac for this issue. I included a unified  
diff with my workaround. Essentially, I am checking to see if the  
message is being displayed in "_safe" mode. If it is, then I do not  
allow the browser to cache the page. Sort of a hybrid of the way it  
was before r400 and the way it is now.

Here's my Trac ticket:

As I indicated in the ticket, there are definitely better solutions  
than mine. This is just a quick solution for now.


On Dec 23, 2006, at 3:51 PM, Brian Devendorf wrote:

> I found that I had to tweak the CSS code for the preview pane to  
> display properly in Safari. (This is when using the latest svn  
> code: r432).
> Line: 144-151, /skins/default/mail.css
> /*\*/
> html>body*#messagecontframe
> {
>   [height: 40%;
>   height: 54%;
>   ]height: 100%;
> }
> /**/
> I changed the value on line #148 from 40% to 54%. This adjustment  
> was a perfect fit for the preview pane on Safari for me. I am  
> running 10.4.8. Safari 2.0.4. Has anyone else seen this issue?  
> According to the information in trac, the middle value only applies  
> to Safari, so I do not expect that it would break anything else.
> I do most of my work in Camino, so I just noticed this little  
> glitch today.
> Other minor issues I am looking into... On Safari, with preview  
> pane, the first time I click on an email, the preview pane flickers  
> (keeping the empty message logo). After that, everything works fine.
> In Camino, with preview pane or standard display, when I click  
> Display Images on an email, it works the first time, but fails each  
> subsequent time. This is true on an individual message basis. It  
> always works the first time on ever message. In fact, it works the  
> first time in preview pane, and the first time in standard view.
> I hope to do more research into these issues, but thought I'd check  
> to see if anyone else had seen them first.
> Thanks,
> Brian

More information about the Dev mailing list