pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Re: Weirdness with multipart posts containing images


From: Keith Richie
Subject: Re: [Pan-users] Re: Weirdness with multipart posts containing images
Date: Mon, 10 Mar 2008 01:35:24 -0400

On Mon, Mar 10, 2008 at 12:33 AM, Jim Henderson <address@hidden> wrote:
>
> On Sun, 09 Mar 2008 21:22:43 +0000, walt wrote:
>
>  > On Sun, 09 Mar 2008 20:57:12 +0000, Jim Henderson wrote:
>  >
>  >> Other times, pan prompts me to save the image rather than viewing it;
>  >> if I right-click the message in the header pane, I can select "read
>  >> message" and it'll display properly.
>  >
>  > At present that is hard-wired into the code of header-pane.cc:
>  >
>  >     if (a) {
>  >       const size_t lines = a->get_line_count(); const bool is_smallish =
>  >       lines  <= 5000; const bool is_mediumish = lines <= 20000; const
>  >       bool image_subject = has_image_type_in_subject (*a); const bool
>  >       is_pictures_newsgroup =
>  >       pane->get_group().to_vie().strstr("pictures")!=0; if (is_smallish
>  >       || image_subject)
>  >         pane->_action_manager.activate_action ("read-selected-article");
>  >       else if (is_mediumish && is_pictures_newsgroup)
>  >         pane->_action_manager.activate_action ("read-selected-article");
>  >       else
>  >         pane->_action_manager.activate_action ("save-articles");
>  >     }
>  >
>  > If you can understand the above you'll see that the decision is based on
>  > the type of attachment, the number of lines in the attachment, and the
>  > name of the newsgroup. That's quite the temporary hack IMHO, and perhaps
>  > someday it will be cleaned up.
>  >
>  > Meanwhile you can edit the source code and set the value of is_smallish
>  > to suit your own taste.  Or better yet, submit a patch :o)
>
>  Well, of course, if I had the time, I would - but I did wonder if anyone
>  had reported it before of if anyone else had seen the issue. :-)
>
>  Jim
>
>
>
>
>
>  _______________________________________________
>  Pan-users mailing list
>  address@hidden
>  http://lists.nongnu.org/mailman/listinfo/pan-users
>



In this case, it doesn't have anything to do with the number of lines,
nor attachment type. The post in question has 7044 lines with a .jpg
attachment. In the same group there is a 23841 line jpg which can be
read without being prompted for download.

I believe the problem is with posting agent

X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

Perhaps it's using the wrong RFC2646 format?

The other multi line jpgs that can be viewed are not posted by OE.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]