severity 374871 wishlist retitle 374871 better access to server error messages from error dialogs thanks
Hi Emil, El Wed, 21 Jun 2006 21:27:31 +0200 Emil Nowak <[EMAIL PROTECTED]> escribió: > Package: sylpheed-claws-gtk2 > Version: 2.3.0-1 > Severity: normal > > I was just trying to send a 715kB *.gif file to some newsgroup, and I > found several problems with that: > 1. When opening selecting file from filechooser It was generating > thumbnail, for that file, but It was too long ~10second (on my 3,2GHz > cpu), and during this all SC gui was frozen and it seem like it > hanged-up. I don't think this is not a problem of Sylpheed-Claws, as the filechooser is a standard GTK component. Disable thumbnails and you're probably done. > 2. When I finally clicked send button SC frozen once again > (screen-shoot included) - GUI was disabled when I was sending this > message. It took ~30sec. on my 256kibt to send that message, and > during this sylpheed looked like on the attached scree-nshoot. Well, sending is a blocking operation, no surprise here. Remember that the size of the mail is not the raw sum of text size and its attachments size, these grow noticeably after encoding. > 3. After all it showed me Error dialog telling me: > "Error occurred while posting the message to <newsgrupname>" > and then second error message: > "The message was queued but could not be sent. > Use "Send queued messages" from the main window to retry." > > Unfortunately there is no useful information in this error messages, > so I checked "Tools->Log Window" > and here I found: > "[20:54:38] NNTP< 441 437 Binary in non-binary group" > This is really important message, and It should be showed in > Dialog-windows. Well, that's a matter of taste. You think it's a really important message, others may think is your duty to know the rules of the newsgroups you're posting to and Claws is not there to remind you... :) Others may even think the best option is not leting you post attachments to such groups, but I don't know if there's a way to get that info from NNTP server without posting first. > Summary: > 1. Generating thumbnails should be done is separate thread, or/and it > should be faster (maybe that's gdk_pixbuf issue). > 2. Sending messages to newsgroups should be in separate thread, so it > will stop blocking main GUI If nobody has already done you can file a wishlist for fully threading operation. While it tries to use threads for some things, sylpheed-claws-gtk2 is not advertised as a fully threaded program AFAIK, so it may not be what you need. Notice making it fully threaded is not a matter of a couple of patches and involves re-designing. > 3. There should be normal error-dialog telling user that this group > doesn't accept binary attachments. Sorry, as said before this is not a bug, is another wishlist. These messages are server dependant and hard to translate properly, so I don't think most users want to see them directly, maybe a "More info..." button to open the log (or the last lines of log which caused the error) is more adequate. Other ideas (or better: patches) welcome. I've turned the bug into this whishlist, you can file the one about threading operation if you whish. regards, -- Ricardo Mones.

